#ketoCalculator {
    width: 80%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

#ketoCalculator h2 {
    text-align: center;
}
/* Ensure the input and unit are on the same line */
#ketoForm label {
    display: block;
    margin-bottom: 10px; /* Adds space between rows */
}

#ketoForm input[type="number"] {
    display: inline-block;
    width: 90%; /* Adjust the input field width as needed */
    box-sizing: border-box;
    vertical-align: middle;
}

#weightUnit, #heightUnit {
    display: inline-block;
    margin-left: 10px; /* Adds space between the input and the unit */
    vertical-align: middle; /* Aligns the unit with the input field */
}

#ketoForm label {
    display: block;
    margin-bottom: 5px;
}

#ketoForm input,
#ketoForm select {
    width: 90%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

#ketoForm button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

#ketoForm button:hover {
    background-color: #45a049;
}

#ketoResults {
    margin-top: 20px;
}

#chart {
    width: 100%;
    margin-top: 30px;
}

#ketoResults h3 {
    font-size: 1.2em;
    margin-top: 20px;
}

#ketoResults p {
    font-size: 1.1em;
}
#chart,
#calorieDeficitCharts,
#calorieSurplusChart {
width: 70% !important; /* Adjust width as needed */
}
