/* Appointment Booking Modals */
.modal-popup.modal-slide._inner-scroll._show,
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /*display: none;*/
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

a.share-icon-btn:visited {
    color: #000;
}

.modal-popup .modal-inner-wrap {
    background: #fff;
    width: 90%;
    max-width: 440px !important;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.modal-popup.confirm .modal-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0;
}

.modal-popup.confirm .modal-footer button {
    display: inline-block;
    padding: 10px 25px;
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    background: #000;
}

.modal-popup.confirm .modal-footer button.action-secondary {
    background: #fff;
}

.modal-popup.confirm .modal-footer button.action-primary span {
    color: #fff;
}

.modal-popup .action-close {
    cursor: pointer;
}

.modal-popup .modal-inner-wrap .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    padding: 0px;
    background: none;
}

.modal-popup._inner-scroll .modal-inner-wrap .modal-content {
    overflow-y: auto;
    scrollbar-width: none;
    width: 100%;
    -ms-overflow-style: none;
    padding: 0px;
}

.modal-popup .modal-content {
    padding: 30px 0px;
    line-height: 22px;
}



.modal-popup .modal-inner-wrap .modal-header h1 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0;
    border: 0;
    text-align: center;
}

.modal-popup .modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-popup .modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #666;
}

.modal-popup .modal-sub {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: -10px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.modal-popup .details-row {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid #EBEBEB;
}

.modal-popup .details-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-popup .details-row:first-child {
    padding-top: 0;
}

.modal-popup .detail-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.modal-popup .detail-value {
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.modal-popup .detail-sub {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.modal-popup .badge-service {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    align-self: flex-start;
    margin-top: 4px;
}

.modal-popup .details-flex {
    flex-direction: row;
    gap: 20px;
}

.modal-popup .details-flex .details-row {
    flex: 1;
    border: none;
    padding: 0;
}

.modal-popup .form-group {
    margin-bottom: 20px;
}

.modal-popup .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

/* Share Modal */
.share-modal {
    /*  max-width: 450px;
    padding: 50px 30px 40px;*/
    text-align: center;
}

.share-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #000;
}

.share-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}


#customer-popup-login .field.password,
#register_first .p_password,
#register_first .field.confirmation {
    position: relative;
}

#customer-popup-login .field.password .control .showPass,
#register_first .password_field .password.show {
    background-image: url("../images/eye_icon.png");
    z-index: 10;
    margin-top: 15px;
    background-repeat: no-repeat;
    background-position: 97% 58%;
    width: 22px;
    height: 20px;
    display: inline-block;
    right: 10px;
    position: absolute;
    top: 28px
}

#customer-popup-login .field.password .control .hidePass,
#register_first .password_field .password.hide {
    background-image: url("../images/eye_icon_cross.png");
    z-index: 10;
    margin-top: 15px;
    background-repeat: no-repeat;
    background-position: 97% 58%;
    width: 22px;
    height: 20px;
    display: inline-block;
    right: 10px;
    position: absolute;
    top: 28px
}




.share-icon-btn {
    width: 65px;
    height: 65px;
    background: #E8E8E8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.2s;
    text-decoration: none;
}

.share-icon-btn:hover {
    /*background: #d4d4d4;*/
    color: #363C41;
    outline: none;
}

.share-icon-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    stroke: none;
}

.share-icon-btn:nth-child(1) svg,
.share-icon-btn:nth-child(3) svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}





.modal-popup .modal-inner-wrap .form-input,
.modal-popup .modal-inner-wrap .form-select,
.modal-popup .modal-inner-wrap select,
.modal-popup .modal-inner-wrap input {
    width: 100%;
    padding: 12px;
    background: #F8F6F4;
    border: 1px solid #EBEBEB;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    height: unset;
}

.modal-popup .modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.modal-popup .btn-update-booking,
.modal-popup .btn-primary {
    background: #000;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.modal-popup .btn-update-booking:hover {
    background: #333;
}

.modal-popup .btn-modal-cancel {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin: 0 auto;
}

.modal-popup .btn-modal-cancel:hover {
    color: #000;
}

.modal-popup .cancel-summary {
    background: #F8F6F4;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #EBEBEB;
    margin-bottom: 20px;
}

.modal-popup .cancel-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-popup .cancel-summary-row:last-child {
    margin-bottom: 0;
}

.modal-popup .cancel-summary-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.modal-popup .cancel-summary-value {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.modal-popup .login-remember-row .form-group {
    margin-bottom: 0px;
}

.modal-popup .social-login-row .divider,
.modal-popup .social-login-row .signup-link {
    display: none;
}

/* Login Popup css */
.modal-popup .login-modal-header {
    justify-content: center;
    position: relative;
}

.modal-popup .login-modal-body {
    margin-top: 20px;
}

.modal-popup .required-star {
    color: #E3000F;
}

.modal-popup .login-remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 20px;
}

.modal-popup .login-remember-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    font-weight: normal;
    cursor: pointer;
}

.modal-popup .login-remember-row input[type="checkbox"],
input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #000;
    border: 1px solid #EBEBEB;
    border-radius: 3px;
}

.modal-popup .login-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-popup .login-btn {
    max-width: 170px;
    flex: 1;
}

.modal-popup .forgot-link {
    font-size: 13px;
    color: #666 !important;
    text-decoration: underline;
    line-height: 18px;
}

.modal-popup .login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 25px;
}

.modal-popup .login-divider-line {
    flex: 1;
    height: 1px;
    background: #EBEBEB;
}

.modal-popup .login-divider-text {
    padding: 0 15px;
}

.modal-popup .social-login-row .social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.modal-popup .social-login-row .social-login .btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #F8F6F4;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #EBEBEB;
    color: #000000;
    padding: 12px;
    height: auto;
}

.modal-popup .social-login-row .social-login .btn-social img {
    width: 20px;
    height: 20px;
}

.modal-popup .register-row {
    text-align: center;
    font-size: 15px;
    color: #000 !important;
}

.modal-popup .register-link {
    font-weight: 700;
    text-decoration: none;
    color: #000 !important;
}

.modal-popup .captcha-container {
    padding-bottom: 20px;
}

#customer-popup-register .required label span:after {
    content: '*';
    color: #000;
    width: 12px;
}

@media (min-width: 992px) and (max-width: 1280px) {
    .modal-popup .modal-inner-wrap {
        padding: 20px;
    }

    .modal-popup .modal-header {
        margin-bottom: 12px;
    }

    .modal-popup .form-group {
        margin-bottom: 10px;
    }

    .modal-popup .login-remember-row {
        margin-bottom: 10px;
    }

    .modal-popup .captcha-container {
        padding-bottom: 10px;
    }

    .modal-popup .login-action-row {
        margin-bottom: 15px;
    }

    .modal-popup .login-action-row {
        justify-content: flex-start;
        gap: 8px;
        margin-bottom: 15px;
    }

    .modal-popup .login-divider {
        margin-bottom: 15px;
    }

    .modal-popup .social-login-btn {
        font-size: 13px;
    }

    .modal-popup .register-row {
        font-size: 13px;
    }
}



/* Register Modal Specific Classes */
.register-modal-lg {
    max-width: 650px;
}

.register-title {
    text-transform: uppercase;
}

.modal-close-abs {
    position: absolute;
    right: 20px;
    top: 20px;
}

.register-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.register-flex-row {
    display: flex;
    gap: 20px;
}

.register-form-group {
    flex: 1;
    margin-bottom: 20px;
}

.register-form-group.relative {
    position: relative;
}

.register-remember-row {
    margin-bottom: 30px;
    justify-content: flex-start;
}

.register-input-top {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#customer-popup-register .password-strength-meter.pwd-strength {
    font-size: 11px;
    color: #999;
    padding: 6px 0;
    border: 1px solid #EBEBEB;
    border-top: none;
    background: #fff;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.captcha-img {
    max-width: 250px;
}

.register-action-row {
    display: block;
    width: 100%;
}

.register-submit-btn {
    max-width: none;
    width: 100%;
}

.modal-popup.customer-popup .modal-inner-wrap {
    max-width: 650px !important;
}


#customer-popup-register #messageSent {
    color: #000 !important;
    font-size: 15px;
    line-height: 22px;
}

#customer-popup-register .field label span {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

#customer-popup-register .field input {
    width: 100%;
    padding: 12px;
    background: #F8F6F4;
    border: 1px solid #EBEBEB;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    height: auto;
}

#customer-popup-register #register_back {
    color: #666666;
    text-decoration: underline;
    font-size: 16px;
    line-height: 23px;
    padding-top: 20px;
    text-align: center;
    display: block;
    width: 100%;
}

#customer-popup-register #resend {
    padding-top: 25px;
    background: none;
    border: 0px;
}

#customer-popup-register #resend span {
    display: inline-block;
    color: #1082E4;
    text-decoration: underline;
    font-size: 16px;
    line-height: 23px;
}

.modal-popup .details-flex .field {
    width: 100%;
}

@media (min-width: 320px) and (max-width: 767px) {
    .modal-popup.modal-slide._inner-scroll._show {
        left: 0px;
        width: 100%;
    }

    .modal-popup.modal-slide._inner-scroll .modal-inner-wrap {
        max-width: 90%;
        width: 90%;
        min-width: 90%;
        max-height: 90vh;
        overflow: auto;
        position: absolute;
        min-height: 90vh;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 50%;
        background: #fff;
    }

    .modal-popup .login-btn {
        min-width: 110px;
    }

    .modal-popup .details-flex {
        flex-direction: column;
    }

    .modal-popup.modal-slide._inner-scroll.fme-category-compare-modal,
    .modal-popup.modal-slide._inner-scroll.ntg_features_popup {
        overflow: hidden;
    }

    .modal-popup.modal-slide._inner-scroll.fme-category-compare-modal .modal-inner-wrap,
    .modal-popup.modal-slide._inner-scroll.ntg_features_popup .modal-inner-wrap,
    #fme-offer-modal .modal-content {
        width: 100%;
        bottom: 0;
        height: 100dvh;
        min-height: calc(100dvh - 100px);
        border-radius: 0;
        top: unset;
        transform: unset;
        left: 0;
        max-height: calc(100dvh - 100px);
        margin-top: 100px;
        overflow: auto;
    }

    .modal-popup.modal-slide._inner-scroll.ntg_features_popup .modal-inner-wrap .modal-content {
        overflow: hidden;
    }

    .modal-popup.modal-slide._inner-scroll.ntg_features_popup .modal-inner-wrap .modal-content .features-modal-content {
        margin-bottom: 25px;
    }

    .compare-bottom-tabs {
        justify-content: space-around;
    }

    #fme-offer-modal {
        padding: 0px;
    }

    .modal-popup.modal-slide._inner-scroll.fme-category-compare-modal .modal-inner-wrap {
        overflow: auto;
        position: fixed;
        width: 100%;
        left: 0;
        bottom: 0;
        top: unset;
        transform: unset;
        border-radius: 0;
        margin-top: 0;
        height: auto;
        min-height: unset;
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
    }

    .ntg_features_popup .compare-wrapper {
        margin-bottom: 0px;
    }
    .compare-trims-json-dump .compare-section {
        height: calc(100dvh - 270px);
        overflow: scroll;
    }
    .ntg_features_popup .compare-trims-json-dump{height: unset;overflow: auto;}




















}



@media (max-width: 1023px) {
    .modal-popup.modal-slide._inner-scroll._show.fme-category-compare-modal {
        justify-content: flex-start;
    }


}