/* Container layout */
.calculator-container {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    max-width: 660px;
    margin: 20px auto;
    font-family: "Roboto", system-ui, ui-sans-serif, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.calculator-container h3 {
    font-family: inherit;
    font-size: 1.375rem;
    line-height: 1.15;
}

.calculator-container button,
.calculator-container input,
.calculator-container select {
    font-family: inherit;
}

.calculator-title {
    margin-top: 0;
}

.calculator-introduction {
    margin-bottom: 20px;
}

.calculator-introduction p {
    margin: 0 0 10px;
}

.calculator-introduction p:last-child {
    margin-bottom: 0;
}

.step-progress {
    color: gray;
    font-size: 0.875rem;
}

.question-text {
    height: 12rem;
    margin-bottom: 20px;
    line-height: 1.35;
}

/* Form inputs */
.birthdate-input-container {
    margin: 20px 0;
}

.birthdate-input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    max-width: 300px;
}

.birthdate-input.input-error {
    border-color: #d9534f;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.btn:disabled {
    background-color: #cccccc !important;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #0275d8;
    color: white;
}

.btn-yes {
    background-color: #d9534f;
    color: white;
}

.btn-no {
    background-color: #5cb85c;
    color: white;
}

.btn-reset {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Results section */
.result-screen {
    text-align: center;
}

.result-title {
    color: #0275d8;
}

.result-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0;
}

.result-actions {
    justify-content: center;
}

.advisor-results-form {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    text-align: left;
}

.advisor-results-form h3 {
    margin-top: 0;
}

.advisor-results-form .input-field {
    margin-bottom: 15px;
}

.advisor-results-form__note {
    margin: 10px 0 0;
    color: #5cb85c;
    font-size: 0.875rem;
}

.advisor-results-form__note--error {
    color: #d9534f;
}

.calculator-disclaimer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
    color: #777;
    font-size: 0.875rem;
    line-height: 1.5;
}

.calculator-disclaimer p {
    margin: 0 0 10px;
}

.calculator-disclaimer p:last-child {
    margin-bottom: 0;
}

/* Style for height and weight split inputs */
.measurements-container {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.input-field {
    flex: 1;
}

.input-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1rem;
}

.measurement-input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}
