/* Self-Scheduler Styles */

/* Modal Styles */
#scheduleModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    align-items: center; 
    justify-content: center;
}

@media only screen and (max-width: 720px) {
    #scheduleModal .modal-content {
        max-width: 95% !important;
        padding: 50px 20px 100px 20px !important;
    }
}

#scheduleModal .modal-content {
    margin: auto;
    background: #fff;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    border-radius: 6px;
    position: relative;
    max-height: 100vh;
    overflow-y: auto;
}

#scheduleModal .modal-content .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

#scheduleModal h2.popup-main-heading {
    margin-left: 18px;
    font-size: 32px !important;
}

/* Header and Hero Styles */
#location-popup-btn .btn-schedule, #location-popup-btn .btn-schedule-enabled {
    border-width: 12px !important;
    letter-spacing: 4px;
    font-size: 16px;
    font-family: 'Fredoka One', display !important;
    text-transform: uppercase !important;
    font-weight: 600;
    padding: 25px !important;
    border-radius: 42px !important;
    margin-top: 35px !important;
    cursor: pointer;
}

#location-popup-btn .btn-schedule {
    color: #FFFFFF !important;
    border-color: rgba(0, 0, 0, 0);
    background-color: #b5be00 !important;
    margin-right: 15px;
}

#location-popup-btn .btn-schedule-enabled {
    color: #000 !important;
    border-color: #A1AA03;
    background-color: #fff !important;
    display: inline-block;
    padding: 22px 25px !important;
}

#location-popup-btn .btn-schedule:hover, #location-popup-btn .btn-schedule-enabled:hover {
    background-color: #f28b00 !important;
    border-color: #A1AA03;
}

#location-popup-btn .btn-schedule-enabled:hover {
    color: #fff !important;
}

#scheduleModal h2 {
    font-size: 24px !important;
}

div#top-header #et-appointment-popup-btn {
    position: relative;
}

div#top-header .btn-schedule {
    background-color: #A1AA03 !important;
    color: #ffffff;
    opacity: 1;
    padding: 11px 10px !important;
    line-height: 6px;
    font-size: 14px;
    border-radius: 0 !important;
    margin-right: 99px;
}

div#top-header .btn-schedule:hover {
    background-color: #f28b00 !important;
}

@media (max-width: 480px) {
    div#top-header .btn-schedule {
        font-size: 12px;
        margin-right: 91px;
    }
}
    
div#top-header .btn-schedule-enabled {
    font-size: 12px;
    display: inline-block;
    text-align: center;
    line-height: 1.1em;
    background-color: #A1AA03;
    padding: 5px 10px;
    position: absolute;
    right: 5px;
}

div#top-header .btn-schedule-enabled:hover {
    background-color: #f28b00 !important;
}

@media (max-width: 480px) {
    div#top-header .btn-schedule-enabled {
        right: -1px;
        padding: 3px 10px;
    }
}

/* Fix for Find a School Placement */
#top-header #et-info {
    overflow: hidden;
}

#top-header #et-info .gloabl-fas-link .visit-popup-btn {
    float: none !important;
    display: inline-block;
    padding: 15px 10px !important;
}


/* Form Styles */
div#crm-form-container .fc-button-primary:disabled, div#crm-form-container .fc-button-primary {
   
    background-color: #b5be00!important;
    border-color: #b5be00!important;
}

div#crm-form-container form.childcarecrm-form {
    padding-top: 0!important;
}

div#crm-form-container .fc-event.available-tour-time {
    background-color: #003a5d;
    cursor: pointer;
    color: #ffffff;
}

@media (max-width: 480px) {
    div#crm-form-container input[type=text], div#crm-form-container select, div#crm-form-container input[type=email], div#crm-form-container input[type=tel] {
        height: 46px !important
    }
}

div#crm-form-container input[type=text], div#crm-form-container select, div#crm-form-container input[type=email], div#crm-form-container input[type=tel] {
    padding: 0 15px;
    border-radius: 5px;
    font-family: 'Omnes', arial, helvetica !important;
    border: 1px solid #cfcfcf;
    color: #333333;
    height: 34px;
    font-size: 16px; /* Prevent iOS zoom on focus */
}

div#crm-form-container .childcarecrm-form__field label {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    padding: 0;
}
div#crm-form-container .childcarecrm-form__field input[type="checkbox"] {
    width: 60px!important;
    height: 18px;
    margin-top: 6px;
}
div#crm-form-container .childcarecrm-form__field  .a2p-checkbox-container
{
    margin-top: 22px;
}
div#crm-form-container button#childcarecrm-form__submit-button, button#childcarecrm-form__confirm-button, button.childcarecrm-form__go-back-button {
    background-color: #b5be00;
    font-size: 16px;
    padding: 15px 30px;
    color: #ffffff;
    border: 1px solid #b5be00;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}
.childcarecrm-form__tour-child-toggle--remove button, .childcarecrm-form__tour-child-toggle--add button {
    background-color: #b5be00;
    padding: 6px 25px;
    border: none;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
}
div#crm-form-container button.childcarecrm-form__back-button {
    background-color: #00385a;
    font-size: 15px;
    padding: 6px 30px;
    color: #ffffff;
    border: 1px solid #00385a;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
}
div#crm-form-container .childcarecrm-form__field-textarea textarea {
    width: 100%;
    height: 96px;
    border-radius: 5px;
    font-size: 16px; /* Prevent iOS zoom on focus */
}
h1.childcarecrm-form__confirmation-header {
    font-size: 20px !important;
    margin-top: 25px;
}
div#childcarecrm-form__confirmation-data dd {
    margin-left: 0;
    font-size: 16px;
}

/* Responsive confirmation data layout */
div#childcarecrm-form__confirmation-data {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

/* Mobile: 1 column (< 480px) */
@media (max-width: 480px) {
    div#childcarecrm-form__confirmation-data {
        grid-template-columns: 1fr;
    }
}

/* Tablet: 2 columns (481px - 800px) */
@media (min-width: 481px) and (max-width: 800px) {
    div#childcarecrm-form__confirmation-data {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 3 columns (> 800px) */
@media (min-width: 801px) {
    div#childcarecrm-form__confirmation-data {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Style each dl as a card */
div#childcarecrm-form__confirmation-data dl {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

div#childcarecrm-form__confirmation-data dt {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    margin: 0;
}

div#childcarecrm-form__confirmation-data dd {
    margin: 0;
    font-size: 16px;
    color: #212529;
    font-weight: 500;
}

/* Hide the data separators */
div#childcarecrm-form__confirmation-data .childcarecrm-form__data-separator {
    display: none;
}

/* Hide the hr separators since we're using grid layout */
div#childcarecrm-form__confirmation-data hr {
    display: none;
}

button#childcarecrm-form__confirm-button {
    margin-top: 30px;
    margin-right: 15px;
}

.a2p-checkbox-container input[type="checkbox"] {
    width: 20px;
}

.childcarecrm-form__pst-type-display {
    margin-bottom: 0;
}

.childcarecrm-form__group {
    margin: 5px 0;
}

.childcarecrm-form__step {
    position: relative;
}

.childcarecrm-form__step .childcarecrm-form__back-button {
    position: absolute;
    top: 0;
    right: 0;
}

@media (max-width: 480px) {
    .childcarecrm-form__step .childcarecrm-form__back-button {
        position: relative;
    }
    .childcarecrm-form__contact-row {
        margin-left: 0;
        margin-right: 0;
    }
    .childcarecrm-form {
        padding: 0px;
    }
}