.form-header {
    padding: 25px 0px 0px;
    text-align: center;
    background: radial-gradient(circle, rgb(35, 84, 185) 0%, rgb(0, 22, 120) 100%) !important;
    color: rgb(255, 255, 255) !important;
}

.form-header p {
    margin-bottom: 0px;
    padding-bottom: 0px;
    opacity: 1;
    font-weight: 700;
    font-family: Poppins, sans-serif;
    padding-right: 0px;
    line-height: 2.2 !important;
    border-width: 1px 0px 3px !important;
    border-right-style: initial !important;
    border-left-style: initial !important;
    border-right-color: initial !important;
    border-left-color: initial !important;
    border-image: initial !important;
    font-size: 26px !important;
    text-transform: uppercase !important;
    letter-spacing: -0.1px !important;
    color: rgb(216, 227, 255) !important;
    box-shadow: rgb(51 51 51) -2px 1px 1px 1px, rgb(169 106 106 / 0%) -1px 0px 0px 2px !important;
    border-bottom-color: rgb(0 0 0) !important;
}


@media (max-width: 976px) {

    .form-header p {
        font-size:16px !important;
    }
}



@media (max-width: 1024px) {
    .form-header {
        padding: 25px 0px;
        padding-bottom: 0px;
    }
}

#virtualAppointmentForm input, #virtualAppointmentForm textarea, #virtualAppointmentForm select {
    color: rgb(51, 51, 51) !important;
    font-weight: 500 !important;
}

#virtualAppointmentForm input:focus, #virtualAppointmentForm textarea:focus, #virtualAppointmentForm select:focus {
    outline: none;
}

/* Cross-browser placeholder styles */
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: rgb(102, 102, 102) !important;
    font-weight: 500 !important;
    letter-spacing: -0.00766rem !important;
    font-family: sans-serif !important;
}

input::-moz-placeholder, textarea::-moz-placeholder {
    color: rgb(102, 102, 102) !important;
    font-weight: 500 !important;
    letter-spacing: -0.00766rem !important;
    font-family: sans-serif !important;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: rgb(102, 102, 102) !important;
    font-weight: 500 !important;
    letter-spacing: -0.00766rem !important;
    font-family: sans-serif !important;
}

input::placeholder, textarea::placeholder {
    color: rgb(102, 102, 102) !important;
    font-weight: 500 !important;
    letter-spacing: -0.00766rem !important;
    font-family: sans-serif !important;
}

/* Ensure phone number placeholder matches other fields */
#phone_number::placeholder {
    color: rgb(102, 102, 102) !important;
    font-weight: 500 !important;
    letter-spacing: -0.00766rem !important;
    font-family: sans-serif !important;
    opacity: 1 !important;
}

/* Phone number Inputmask styling - GREY by default, DARK BLACK on focus/filled */
#phone_number {
    color: rgb(102, 102, 102) !important; /* Grey mask characters when empty */
}

#phone_number:focus,
#phone_number[data-clean-phone]:not([data-clean-phone=""]) {
    color: #333333 !important; /* Dark black when focused OR has value */
}

.consent-checkboxes .checkbox-group {
    display: flex;
    padding: 16px;
    margin: 16px 0px;
    cursor: pointer;
    border-radius: 8px;
    justify-content: center;
    transition: none !important;
    color: rgb(255, 234, 216) !important;
    background: linear-gradient(168deg, rgb(22, 57, 152) 0%, rgb(0, 15, 39) 100%) !important;
}

.checkbox-group input[type="checkbox"] {
    accent-color: rgb(255, 198, 0);
}

.health-card-option.selected {
    background-color: var(--light-blue);
    box-shadow: rgba(0, 0, 0, 0.28) 2px 3px 9px 9px inset;
    border-style: solid;
    border-image: initial;
    border-width: 4px !important;
    border-color: rgb(233, 208, 0) !important;
    transition: none !important;
}

input#healthCardNo:checked {
    appearance: none;
    border: 5px solid rgba(0, 0, 0, 0.92) !important;
    outline: rgba(255, 228, 0, 0.92) solid 4px !important;
}

input#healthCardNo {
    border-radius: 50%;
    -webkit-tap-highlight-color: rgba(184, 139, 0, 0.3);
    appearance: none;
    border: 5px solid rgb(255, 255, 255) !important;
    outline: rgb(143, 156, 201) solid 4px !important;
    background-color: rgb(0, 0, 0) !important;
    font-size: unset !important;
    padding: unset !important;
}

input#healthCardYes {
    border-radius: 50%;
    -webkit-tap-highlight-color: rgba(184, 139, 0, 0.3);
    appearance: none;
    border: 5px solid rgb(255, 255, 255) !important;
    outline: rgb(143, 156, 201) solid 4px !important;
    background-color: rgb(0, 0, 0) !important;
    font-size: unset !important;
    padding: unset !important;
}

input#healthCardYes:checked {
    appearance: none;
    border: 5px solid rgba(0, 0, 0, 0.92) !important;
    outline: rgba(255, 228, 0, 0.92) solid 4px !important;
}

input#existing_yes:checked {
    appearance: none;
    border: 5px solid rgba(0, 0, 0, 0.92) !important;
    outline: rgba(255, 228, 0, 0.92) solid 4px !important;
}

input#existing_yes {
    border-radius: 50%;
    -webkit-tap-highlight-color: rgba(184, 139, 0, 0.3);
    appearance: none;
    border: 5px solid rgb(255, 255, 255) !important;
    outline: rgb(143, 156, 201) solid 4px !important;
    background-color: rgb(0, 0, 0) !important;
    font-size: unset !important;
    padding: unset !important;
}

input#existing_no {
    border-radius: 50%;
    -webkit-tap-highlight-color: rgba(184, 139, 0, 0.3);
    appearance: none;
    border: 5px solid rgb(255, 255, 255) !important;
    outline: rgb(143, 156, 201) solid 4px !important;
    background-color: rgb(0, 0, 0) !important;
    font-size: unset !important;
    padding: unset !important;
}

input#existing_no:checked {
    appearance: none;
    border: 5px solid rgba(0, 0, 0, 0.92) !important;
    outline: rgba(255, 228, 0, 0.92) solid 4px !important;
}

button.submit-btn:focus-visible, i.fas.fa-arrow-right:focus-visible {
    background: radial-gradient(circle, rgb(255, 237, 83) 15%, rgb(255, 229, 17) 74%, rgb(255, 233, 49) 78%, rgb(255, 234, 53) 100%);
    outline: 0px !important;
}

.health-card-option.selected, .health-card-option label {
    color: rgb(255, 255, 255) !important;
}

.radio-option.selected label {
}



#consentEmergency {
    position: relative;
    cursor: pointer;
    margin-top: 3px;
    flex-shrink: 0;
    overflow: hidden;
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background-color: rgb(255, 255, 255) !important;
    border: 5.5px solid rgb(255, 165, 0) !important;
}

input#consentEmergency:checked {
    background: rgb(233, 208, 0) !important;
    border-color: inherit !important;
    padding: 10px !important;
}

button.back-btn:focus-visible, i.fas.fa-arrow-left:focus-visible {
    background: radial-gradient(circle, #f2f2f2 15%, #eaeaea 74%, #e8e8e8 78%, #f4f4f4 100%);
    outline: 0px !important;
}

.consent-checkboxes .checkbox-group:has(input:checked) {
    border-color: rgb(233, 208, 0) !important;
}

#consentEmergency {
}

#consentEmergency:checked::after {
}

#consentEmergency {
    position: relative;
    cursor: pointer;
    margin-top: 3px;
    flex-shrink: 0;
    overflow: hidden;
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background-color: rgb(255, 255, 255) !important;
    border: 5.5px solid rgb(255, 165, 0) !important;
    padding: 10px !important;
}

#consentEmergency:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 10px;
    border-left: 4.5px solid rgb(29, 29, 29);
    border-bottom: 4px solid rgb(29, 29, 29);
    transform: translate(-50%, -60%) rotate(-45deg);
    transform-origin: center center;
    border-top-color: rgb(29, 29, 29);
    border-right-color: rgb(29, 29, 29);
    color: rgb(221, 163, 0) !important;
}

#consentLocation:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 10px;
    border-left: 4.5px solid rgb(29, 29, 29);
    border-bottom: 4px solid rgb(29, 29, 29);
    transform: translate(-50%, -60%) rotate(-45deg);
    transform-origin: center center;
    border-top-color: rgb(29, 29, 29);
    border-right-color: rgb(29, 29, 29);
    color: rgb(221, 163, 0) !important;
}

#consentEligibility:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 10px;
    border-left: 4.5px solid rgb(29, 29, 29);
    border-bottom: 4px solid rgb(29, 29, 29);
    transform: translate(-50%, -60%) rotate(-45deg);
    transform-origin: center center;
    border-top-color: rgb(29, 29, 29);
    border-right-color: rgb(29, 29, 29);
    color: rgb(221, 163, 0) !important;
}

#consentEmail:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 10px;
    border-left: 4.5px solid rgb(29, 29, 29);
    border-bottom: 4px solid rgb(29, 29, 29);
    transform: translate(-50%, -60%) rotate(-45deg);
    transform-origin: center center;
    border-top-color: rgb(29, 29, 29);
    border-right-color: rgb(29, 29, 29);
    color: rgb(221, 163, 0) !important;
}

input#consentEmergency:hover {
    padding: 10px !important;
}

input#consentLocation {
    position: relative;
    cursor: pointer;
    margin-top: 3px;
    flex-shrink: 0;
    overflow: hidden;
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background-color: rgb(255, 255, 255) !important;
    padding: 10px !important;
}

input#consentLocation:checked {
    background: rgb(233, 208, 0) !important;
    border-color: inherit !important;
    padding: 10px !important;
}

input#consentEligibility {
    position: relative;
    cursor: pointer;
    margin-top: 3px;
    flex-shrink: 0;
    overflow: hidden;
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background-color: rgb(255, 255, 255) !important;
    padding: 10px !important;
}

input#consentEligibility:checked {
    background: rgb(233, 208, 0) !important;
    border-color: inherit !important;
    padding: 10px !important;
}

input#consentEligibility {
}

input#consentEmail {
    position: relative;
    cursor: pointer;
    margin-top: 3px;
    flex-shrink: 0;
    overflow: hidden;
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background-color: rgb(255, 255, 255) !important;
    padding: 10px !important;
}

input#consentEmail:checked {
    background: rgb(233, 208, 0) !important;
    border-color: inherit !important;
    padding: 10px !important;
}

.radio-option:focus-visible, .radio-option label:focus-visible {
    border-color: rgb(0, 0, 0);
    background: rgb(0, 59, 154) !important;
    color: rgb(255, 255, 255) !important;
}

.radio-option:focus-visible, .radio-option:focus-within {
    border-color: rgb(0, 0, 0);
    background: rgb(0, 59, 154) !important;
    color: rgb(255, 255, 255) !important;
}

.radio-option:focus-visible label, .radio-option:focus-within label {
    color: rgb(255, 255, 255) !important;
}

@media (max-width: 1024px) {
    .form-group:not(.field-error):not(.field-valid) .input-group, .form-group:not(.field-error):not(.field-valid) .health-card-input-group, .form-group:not(.field-error):not(.field-valid) .form-group.medication-field, .form-group:not(.field-error):not(.field-valid) .custom-select {
        padding-left: 4px !important;
    }
}

input#consentEmergency:checked, input#consentLocation:checked, input#consentEligibility:checked, input#consentEmail:checked {
    border-color: rgb(255, 218, 116) !important;
    padding: 10px !important;
    background: linear-gradient(185deg, rgb(255, 237, 85) 0%, rgb(229, 201, 0) 100%) rgb(254, 223, 1) !important;
}

#consentEmergency:checked::after, #consentLocation:checked::after, #consentEligibility:checked::after, #consentEmail:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 8px;
    border-left: 3.5px solid rgb(57, 57, 57);
    border-bottom: 3px solid rgb(57, 57, 57);
    transform: translate(-50%, -60%) rotate(-45deg);
    transform-origin: center center;
    border-top-color: rgb(57, 57, 57);
    border-right-color: rgb(57, 57, 57);
    color: rgb(221, 163, 0) !important;
}

h3.form-label-title {
    text-transform: uppercase;
    font-size: 15px !important;
    color: rgb(61, 71, 100) !important;
}

#patientIntakeForm .custom-select-trigger:hover, .custom-select-text, custom-select-arrow {
    font-family: system-ui;
    line-height: 0;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    letter-spacing: -0.00766rem !important;
    transform: none !important;
    transition: none !important;
}

.custom-select-trigger.custom-select.open .custom-select-arrow {
    color: rgb(255, 255, 255) !important;
}

h3.form-label-title {
    text-transform: uppercase;
    font-size: 15px !important;
    color: rgb(61, 71, 100) !important;
}


@media (max-width: 768px) {
    #patientIntakeForm input:not(.custom-select-trigger), #patientIntakeForm textarea, #patientIntakeForm select:not(.custom-select) {
        font-size: 13px !important;
        padding: 8px !important;
    }

    #patientIntakeForm input[style*="font-size"]:not(.custom-select-trigger), #patientIntakeForm textarea[style*="font-size"], #patientIntakeForm select[style*="font-size"]:not(.custom-select) {
        font-size: 13px !important;
    }

    #patientIntakeForm input[style*="padding"]:not(.custom-select-trigger), #patientIntakeForm textarea[style*="padding"], #patientIntakeForm select[style*="padding"]:not(.custom-select) {
        padding: 8px !important;
    }
}

#patientIntakeForm .custom-select-trigger:hover, .custom-select.has-value.validated.open .custom-select-trigger.selected {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-family: system-ui;
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    image-rendering: auto;
    font-weight: 500;
    border: 2px solid rgb(23, 68, 158);
    outline: 0px;
    font-size: 14px !important;
    letter-spacing: -0.00766rem !important;
    transition: none !important;
    transform: none !important;
    color: rgb(255, 255, 255) !important;
    background: radial-gradient(circle, rgb(35, 84, 185) 0%, rgb(0, 22, 120) 100%) !important;
    box-shadow: none !important;
}

@media (max-width: 1024px) and (hover: hover) and (pointer: fine) {
    #patientIntakeForm .custom-select-trigger:hover, .custom-select.has-value.validated.open .custom-select-trigger.selected {
    }

    @media (max-width: 1024px) and (hover: hover) and (pointer: fine) {
        #patientIntakeForm .custom-select-trigger:hover, .custom-select.has-value.validated.open .custom-select-trigger.selected {
        }
    }
}

@media (max-width: 768px) and (hover: hover) and (pointer: fine) {
    #patientIntakeForm .custom-select-trigger:hover, .custom-select.has-value.validated.open .custom-select-trigger.selected {
        font-size: 13px !important;
        padding-top: 10px !important;
        padding-bottom: 11px !important;
        & #patientIntakeForm .custom-select-trigger:hover, & .custom-select.has-value.validated.open .custom-select-trigger.selected {
            width: 100%;
            border-radius: 8px;
            cursor: pointer;
            font-family: system-ui;
            overflow-wrap: break-word;
            word-break: break-word;
            -webkit-font-smoothing: antialiased;
            backface-visibility: hidden;
            image-rendering: auto;
            font-weight: 500;
            box-shadow: rgba(79, 109, 169, 0.87) 0px 0px 20px 15px inset;
            border: 0px solid rgb(13, 39, 91) !important;
            font-size: 14px !important;
            letter-spacing: -0.00766rem !important;
            transition: none !important;
            transform: none !important;
            color: rgb(255, 255, 255) !important;
            background: radial-gradient(circle, rgb(35, 84, 185) 0%, rgb(0, 22, 120) 100%) !important;
            padding: 14px 16px !important;
        }
    }
}

@media (max-width: 976px) and (hover: hover) and (pointer: fine) {
    .custom-select-trigger.selected, .custom-select.has-value .custom-select-trigger, .custom-select.validated .custom-select-trigger {
        font-size: 14px !important;
        padding: 11.5px !important;
    }
}

@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
    .custom-select-trigger.selected, .custom-select.has-value .custom-select-trigger, .custom-select.validated .custom-select-trigger {
        font-size: 13px !important;
        padding: 10px 11px 11px !important;
    }
}

@media (max-width: 576px) and (hover: hover) and (pointer: fine) {
    .custom-select-trigger.selected, .custom-select.has-value .custom-select-trigger, .custom-select.validated .custom-select-trigger {
        padding: 10px 10px 12px !important;
        font-size: 13px !important;
    }

    #patientIntakeForm .custom-select-trigger:hover, .custom-select.has-value.validated.open .custom-select-trigger.selected {
        padding: 10px 10px 12px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 476px) and (hover: hover) and (pointer: fine) {
    .custom-select-trigger.selected, .custom-select.has-value .custom-select-trigger, .custom-select.validated .custom-select-trigger {
        border-color: rgb(60, 90, 148) !important;
        padding: 12px 9px 10px !important;
        font-size: 11.5px !important;
    }
}

@media (max-width: 400px) and (hover: hover) and (pointer: fine) {
    .custom-select-trigger.selected, .custom-select.has-value .custom-select-trigger, .custom-select.validated .custom-select-trigger {
        border-color: rgb(60, 90, 148) !important;
        font-size: 11.5px !important;
        padding: 10px 7px 8px !important;
    }
}

.custom-select-trigger.selected:focus-visible {
    box-shadow: rgb(8, 55, 143) 0px 0px 0px 2px !important;
}



@media (max-width: 576px) and (hover: hover) and (pointer: fine) {
    #patientIntakeForm .custom-select-trigger:hover, .custom-select.has-value.validated.open .custom-select-trigger.selected {
        padding: 12px 9px 10px !important;
        font-size: 11.5px !important;
    }
}


@media (max-width: 400px) and (hover: hover) and (pointer: fine) {
    #patientIntakeForm .custom-select-trigger:hover, .custom-select.has-value.validated.open .custom-select-trigger.selected {
        padding: 12px 5px 10px !important;
        font-size: 11px !important;
    }


      .mediz-body .custom-select-trigger.selected,
      .mediz-body .custom-select.has-value .custom-select-trigger {
        padding: 12px 5px 10px !important;
        font-size: 12.5px !important;
    }

}




.custom-select-trigger.selected:focus-visible {
    outline: rgb(0, 20, 41) solid 0px;
    box-shadow: rgb(0, 31, 90) 0px 0px 5px 1px inset !important;
    border-color: rgb(9, 43, 97) !important;
}


.mediz-body input, .mediz-body textarea, .mediz-body select, .woocommerce form .select2-selection {
    color: #000000;
    width: 100%;
    padding: 12px;
    /* border: 2px solid rgb(225, 229, 233); */
    border-radius: 6px;
    /* font-size: 12px !important; */
    background: white;
    /* color: rgb(255 255 255); */
    cursor: text;
    font-family: system-ui;
    /* letter-spacing: -0.00766rem !important; */
    /* box-shadow: inset 0 0 20px 13px #c8c8c854; */
    /* border: 1px solid #ced4da !important; */
    font-family: system-ui;
    letter-spacing: -0.00766rem !important;
    box-shadow: inset 0 0 20px 13px #c8c8c854;
    /* border: 1px solid #ced4da !important; */
    font-weight: 500;
    border-width: 2px !important;
}


@media (min-width: 1024px) {
    .submit-container .submit-btn {
        order: 2;
        width: 100%;
    }
}