/*
1. fit for mobile
2.make functional the drop down
3. focus in out background
 */

.margin-left-right-zero {
    margin-left: 0px;
    margin-right: 0px;
}

.info-message {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
    border-radius: 16px;
    margin-left: 8px;
    margin-right: 12px;
    background: #F8F8F8;
}

.info-message-login {
    display: flex;
    background: #FFF;
    height: fit-content;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    padding: 9px 16px;
    text-align: center;
}

.common-input {
    display: flex;
    padding: 8px 16px;
    border-radius: 8px;
    gap: 12px;
    align-items: center;
    background: #E6E9EF;
    flex: 1;
    height: 56px;
    max-height: 56px;
}

.common-input-text-area {
    width: 97%;
}

.label-icon,
.select-icon {
    padding: 4px;
}

.option-icon {
    height: 20px !important;
    width: 20px !important;
    border-radius: 50%;
}

#country-flag-id,
#country-phone-code-flag-id,
#dl-country-flag-id{
    height: 24px;
    min-width: 18px;
    width: 24px;
}

#country-flag-id,#dl-country-flag-id {
    margin-left: 6px;
    cursor: pointer;
}

#country-phone-code-flag-id {
    margin-left: 0px;
    cursor: pointer;
}

.label-input {
    width: 90%;
    height: 100%;
    min-height: 32px;
}

.label-input-text-area {
    width: 100%;
    margin-top: 4px;
}

.select-label-input {
    align-content: center;
    width: 100%;    height: 100%;
    min-height: 32px;
}

.custom-checkbox .checkmark {
    position: relative;
    height: 16px;
    width: 16px;
    min-height: 16px;
    min-width: 16px;

    border: 2px solid #6F7D79;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.custom-checkbox:hover input ~ .checkmark {

    border-color: #30405E;
}

.custom-checkbox input:checked ~ .indented_checkbox {
    font-weight: 500 !important;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #009900;
    border-color: #009900;
    accent-color: #009900;
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox input:focus ~ .checkmark {
    box-shadow: 0 0 0 2px rgba(48, 151, 113, 0.2);
}

.top-placeholder,
.select-top-placeholder {
    height: 43%;
    font-size: 12px;
    font-weight: 500;
}

.reservation-form {
    background: transparent;
}

.user-form {
    background: transparent;
}

.top-placeholder,
.select-top-placeholder {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}
.top-placeholder.visible,
.select-top-placeholder.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.top-placeholder.hidden,
.select-top-placeholder.hidden {
    display: block;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.text-input,
.select-input,
.text-area-input {
    width: 100% !important;
    flex-direction: column;
    justify-content: center;
    outline: none !important;
    border: none !important;
    color: #445651;
    /* background: #EFF1F5; */
    background: transparent;
    font-size: 15px !important;
    font-weight: 400;
    transition: all 0.3s ease;
}

.select-input option {
    width: 100%;
}

.text-input:not(:placeholder-shown),
.text-area-input:not(:placeholder-shown) {
    height: 57%;
}

.select-input.has-value {
    height: 57%;
}

.text-area-input {
    overflow: hidden;
    width: 98% !important;
}

.text-input:focus-within,
.common-input:focus-within,
.text-area-input:focus-within {
    background: white !important;
    outline: 1px solid #28256a;
}

.common-input:focus-within .text-input,
.common-input:focus-within .text-area-input,
.common-input:focus-within .select-input {
    background: white;
}

.text-input:not(:placeholder-shown),
.text-area-input:not(:placeholder-shown),
.select-input.has-value
.country-input.has-value {
    font-weight: 500;
    color: #000D2B;
}

.option-icon {
    margin-right: 6px !important;
}

.select-input button:not(:focus) {
    outline: none !important;
    border: none !important;
    background: inherit;
}

.select-input .dropdown-menu > li > a:hover, .select-input .dropdown-menu > li > a:focus {
    color: black;
    background-color: #E6E9EF;
}

.dropdown-menu > .active > a {
    color: white !important;
    background-color: #28256a !important;
}

.open .btn-default {
    border: none !important;
    background: white !important;
    outline: none !important;
    background-color: white !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.select-country .dropdown-menu {
    background: white !important;
    margin-bottom: 15px;
    margin-top: 15px;
}

.select-country-phone-code .dropdown-menu {
    background: white !important;
    margin-bottom: 15px;
    margin-top: 15px;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select:focus-within {
    background: white !important;
    background-color: white !important;
    outline: none !important;
    border: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.filter-option-inner-inner .flag-icon {
    display: none;
}

.country-phone-code {
    height: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    padding-left: 1rem;
    width: 30%;
    flex-shrink: 0;
}

.phone-number-input {
    width: 70%;
}

.select-country-phone-code {
    width: 50px !important;
    background-color: inherit;
}

#phoneNo {
    background-color: inherit;
}

.country-phone-code:focus-within {
    background: white !important;
}

input:-internal-autofill-selected {
    background: #E6E9EF !important;
}

#prePay-URL-TSD .alert-danger {
    background-color: #FEEBEB;
    border-color: #eed3d7;
    color: #b94a48;
    margin-left: 8px;
    margin-right: 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 400 !important;
    color: #000;
    font-style: normal;
    padding: 14px !important;
}

/*#payment_information .row {
    margin-top: 10px;
    margin-bottom: 12px;
}*/

/*#payment_information {
    margin-left: 6px;
    margin-right: 12px;
}*/

.choose-payment-text {
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 100% */
    margin-left: 6px;
    margin-top: 10px;
    margin-bottom: 6px;
}

#paymentProcessorDiv .btn-group {
    display: flex;
    gap: 16px;
    margin-left: 8px !important;
}

#paymentProcessorDiv label {
    border-radius: 8px;
}

.confirmation-checkboxes {
    margin-top: 16px;
    margin-bottom: 16px;
    padding-right: 8px;
}

#make_reservation_now {
    border-radius: 8px;
    width: 92%;
    padding: 16px 12px;
    font-weight: 600;
    font-size: 16px;
    font-style: normal;
    line-height: 20px;
}

#reservation_error_top {
    display: flex;
    margin: 1rem 0;
}

#reservation_error_bottom {
    display: flex;
    margin-left: 12px;
    margin-top: 16px;
    margin-bottom: 12px;
}

#reservation_error_top .alert-icon {
    float: inline-start !important;
    margin: 0 !important;
    width: 20px;
    height: 20px;
}

#reservation_error_bottom .alert-icon {
    float: inline-start !important;
    margin-right: 0 !important;
    margin-left: 8px;
}

.indented_checkbox {
    line-height: 140%;
}

#pay-now-payment-polity-link {
    color: #27256A;
    text-decoration: underline;
}

input[type='radio'] {
    accent-color: #27256A;
}
/* If Radio button is selected*/
.form-check:has(input[name="payment_op"]) {
    border: 1px solid var(--FoxPrimary-foxprimary-2);
}

.form-check:has(input[name="payment_op"]:checked) {
    background-color: var(--Primary-primary-1);
    border: 2px solid var(--Primary-primary-6);
}

.form-check-input[type=radio] {
    border: 1px solid var(--Black-black-4);
}

.form-check-input:checked {
    border: 2px solid var(--Primary-primary-6);
}

.form-check-input:checked::after {
    background-color: var(--Primary-primary-6);
    width: 0.5rem;
    height: 0.5rem;
}

.pill {
    border-radius: 100px;
    border: 1px solid var(--Black-black-5, #445651);
}

.pill.success {
    color: var(--Primary-primary-6) !important;
    border-color: var(--Primary-primary-6);
}

.pill img {
    height: 14px;
    width: 14px;    
}

#payNowReservationPickupNote {
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    color: #001135;
}

#paynow-pickup-note {
    display: flex;
    background: #F8F8F8;
    align-items: flex-start;
    border-radius: 16px;
    padding: 12px;
}

.paynow-pickup-note-title {
    color: #B12828;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}

.add-credit-card-button {
    border-radius: 8px;
    display: flex;
    align-content: baseline;
    align-items: center;
    width: fit-content;
    color: #27256A !important;
    font-size: 16px;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 24px;
    text-transform: uppercase;
    justify-content: center;
}

.add-credit-card-icon {
    margin-right: 10px;
}

/* Mobile First */
@media (min-width: 768px) {

    #reservation_error_top .alert-icon {
        width: 32px;
        height: 32px;
    }
        
    .select-state {
        padding-inline: 0;
    }

    .select-license-state {
        font-size: 15px;
    }

    .text-input,
    .select-input,
    .text-area-input {
        font-size: 16px !important;   
    }

    .common-input {
        height: 64px;
        max-height: 64px;
    }

    .label-input {
        min-height: 40px;
    }

    .date-of-birth {
        min-width: 360px;
    }
}

/*Desktop*/
@media (min-width: 600px) {
    .common-input-text {
        /*need to do for mobile version*/
        width: 47.5% !important;
    }

    .common-input-select {
        /*need to do for mobile version*/
        width: 47.5% !important;
    }

    .info-message {
        margin-left: 8px;
        margin-right: 12px;
        margin-bottom: 6px;
        margin-top: 9px;
    }

    .info-message-desktop {
        display: flex;
    }

    /*.info-message-mobile {*/
    /*    display: none;*/
    /*}*/
    /*.info-message-mobile {*/
    /*    display: none !important;*/
    /*}*/
    .info-message-desktop {
        display: inline !important;
    }

    .select-country-phone-code .dropdown-menu {
        left: -90%;
        max-width: 520%;
    }

    .select-country .dropdown-menu {
        left: -27%;
        max-width: 137%;
    }
}

/*Mobile*/
@media (max-width: 600px) {
    .info-message {
        display: block;
        /*align-content: center;*/
        /*align-items: center;*/
        /*justify-content: center;*/
        min-height: 50px;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 6px;
        /*gap: 0px;*/
        padding: 12px;
    }

    .info-message-login {
        /*display: none;*/
        margin-top: 12px;
    }

    /*#login-form-booking-text-paynow-only {*/
    /*    display: inline !important;*/
    /*}*/

    /*.info-message-mobile {*/
    /*    display: inline !important;*/
    /*}*/
    /*.info-message-desktop {*/
    /*    display: none !important;*/
    /*}*/
    #login-from-booking {
        text-align: left;
    }

    .country-phone-code {
        padding-left: 2.5rem;
        gap: 4px;
        justify-content: center;
    }

    #country-phone-code-flag-id {
        padding: 8px;
    }

    .select-country-phone-code .dropdown-menu {
        left: -85%;
        max-width: 580%;
    }

    .select-country .dropdown-menu {
        left: -20%;
        max-width: 125%;
    }

    #make_reservation_now {
        width: 90%;
    }

    #reservation_error_top .form-error-message {
        margin-left: 0px !important;
    }

    #reservation_error_bottom .form-error-message {
        margin-left: 0px !important;
    }

    #reservation_error_top .alert-light {
        width: 97% !important;
    }

    #reservation_error_bottom .alert-light {
        width: 97% !important;
    }

    #useCreditCardNewText {
        margin-top: 8px;
        width: 100%;
        display: block;
    }

    .choose-payment-text {
        /*text-align: center;*/
    }

    .card-selection-div {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
    }

    .card-selection-div .btn {
        padding: 6px 6px !important;
    }

    #payment_information {
        margin-left: 2px;
        margin-right: 6px;
    }

    .add-credit-card-button {
        width: 100%;
        padding: 12px 16px;
        gap: 6px;
    }
    #welcome-message {
        margin-top: 5px !important;
    }
}


input::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
}

/*input::-webkit-textfield-decoration-container {*/
/*    display: none; !* or whatever styling you want *!*/
/*}*/
