/* ============================================
   Booking Page – Checkbox Visibility & Layout
   Easy!Appointments – My Doctor House Calls
   ============================================ */

/* Force the policy checkbox rows to align perfectly */
#wizard-frame-4 .form-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important; /* top-align checkbox with first line of text */
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}

/* Checkbox sizing + visibility */
#wizard-frame-4 .form-check-input {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;

    margin: 2px 0 0 0 !important; /* tiny top nudge so it lines up with text cap-height */
    padding: 0 !important;

    border: 2px solid #6c757d !important;
    background-color: #f8f9fa !important;
    accent-color: #6c757d !important;

    cursor: pointer !important;
}

/* Checked state */
#wizard-frame-4 .form-check-input:checked {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

/* Smaller policy text so it fits better, aligned with checkbox */
#wizard-frame-4 .form-check-label {
    display: block !important;
    font-size: 13px !important;     /* reduced from 15/16 */
    font-weight: 500 !important;
    line-height: 1.25 !important;   /* tighter to reduce vertical space */
    color: #212529 !important;

    margin: 0 !important;
    padding: 0 !important;

    cursor: pointer !important;
}

/* Keep hover accessible but subtle */
#wizard-frame-4 .form-check-label:hover {
    color: #0d6efd !important;
    text-decoration: underline !important;
}

/* Tighten the wrapper containing both policy checkboxes */
#wizard-frame-4 .d-flex.fs-6.justify-content-around {
    align-items: flex-start !important;
    gap: 12px !important;
}

/* Optional: keep them from stretching oddly */
#wizard-frame-4 .form-check {
    max-width: 100% !important;
}

/* Mobile refinement */
@media (max-width: 576px) {
    #wizard-frame-4 .form-check-label {
        font-size: 12.5px !important;
        line-height: 1.2 !important;
    }

    #wizard-frame-4 .form-check-input {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        min-height: 17px !important;
        margin-top: 2px !important;
    }
}
