#nhs-wizard {
    max-width: 500px;
    border: 1px solid #ddd;
    padding: 20px;
    font-family: Arial, sans-serif;
}
#nhs-wizard h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#nhs-wizard h4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#nhs-wizard label {
    display: inlin-block;
    margin-top: 15px;
}

#nhs-wizard input {
    box-sizing:border-box;
    padding: 8px;
}

#nhs-wizard select {
    box-sizing:border-box;
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

#nhs-wizard button {
    padding: 10px 20px;
    cursor: pointer;
}

.disclaimer {
    font-size: 0.7em;
    color: #555;
    margin-top: 15px;
    text-align:center;
}

/* Compact age row */
#nhs-wizard .age-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

/* Keep label compact */
#nhs-wizard .age-row label {
    margin: 0;
    white-space: nowrap;
    font-weight: 600;
}

/* Age input */
#nhs-wizard .age-row input {
    width: 80px;
    height:50px;
    font-size: 20px;
    text-align: center;
}

#nhs-wizard .skip-link {
    margin-left: 20px;
    margin-top: 10px;
    background-color: #bbdaff;
    padding: 10px 16px;
    text-decoration: none;
    border: 1px solid #a0a0a0;
    font-size: 0.9rem;
}

/* Button */
#nhs-wizard .age-row button {
    cursor: pointer;
    height: 50px;
}

/* Mobile fallback */
@media (max-width: 480px) {
    #nhs-wizard .age-row {
        flex-wrap: wrap;
    }

    #nhs-wizard .age-row input {
        width: 100%;
    }
}

/* Loading overlay */
#nhs-wizard .wizard-loading {
    text-align: center;
    padding: 30px 0;
}

/* Spinner */
#nhs-wizard .spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #005eb8; /* NHS blue */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Slide transitions */
.step {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.step.slide-out {
    opacity: 0;
    transform: translateX(-20px);
}

.step.slide-in {
    opacity: 0;
    transform: translateX(20px);
}

.step.slide-in-active {
    opacity: 1;
    transform: translateX(0);
}

