/*! MODAL MODAL */
/*! MUST PUSH TO GLOBAL */
.modal-container {
    position: fixed;
    left: 50%;
    top: 50%;
    max-width: 80vw;
    max-height: 80dvh;
    background-color: white;
    transform: translate(-50%, -50%);
    border-radius: min(1rem, 1vw);

    pointer-events: none;
    transition: 0.3s;
    opacity: 0;
    z-index: -1;
}

.modal-container.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 999999;
}
.modal-under-layer {
    background-color: rgba(0, 0, 0, 0.305);
    backdrop-filter: blur(2px);
    left: 0;
    top: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 99999;

    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}
.modal-under-layer.active {
    opacity: 1;
    pointer-events: auto;
    transition: 0.2s;
}
body:has(.modal-container.active) {
    overflow: hidden;
}.modal-tour-wrapper {
    direction: rtl
}

.modal-tour-wrapper .modal-dialog {
    max-width: 530px;
    margin: 1.75rem auto
}

.modal-tour-wrapper .modal-content {
    overflow: hidden;
    background-color: #fff;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .15);
    animation: modalTourPop .35s cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes modalTourPop {
    from {
        opacity: 0;
        transform: scale(.92) translateY(10px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

.modal-tour-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px
}

.modal-tour-title {
    margin: 0;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    text-align: right
}

.modal-tour-close {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    float: none;
    border: 0;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    opacity: 1;
}

.modal-tour-close span {
    display: block;
    line-height: 1;
}


.modal-tour-divider {
    width: 100%;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: #e5e5e5;
    opacity: 1
}

.modal-tour-body {
    padding: 24px 28px;
    text-align: center
}

.modal-tour-subtitle {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 2;
    text-align: center
}

.modal-tour-phone {
    display: inline-block;
    margin: 0 4px;
    color: #f97a00;
    font-size: 15px;
    font-weight: 800;
    direction: ltr;
    text-decoration: none;
    white-space: nowrap
}


.modal-tour-footer {
    padding: 20px 28px 28px
}

.modal-tour-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background-color: #f97a00;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;

}


.modal-tour-btn:focus {
    color: #fff;
    text-decoration: none;
    outline: none;
    box-shadow: 0 8px 20px rgba(249, 122, 1, .2), 0 0 0 3px rgba(249, 122, 1, .18)
}

@media (max-width:480px) {
    .modal-tour-wrapper .modal-dialog {
        max-width: none;
        margin: 1rem
    }

    .modal-tour-header {
        padding: 16px 18px
    }

    .modal-tour-title {
        font-size: 18px
    }

    .modal-tour-body {
        padding: 20px 18px
    }

    .modal-tour-footer {
        padding: 16px 18px 22px
    }

    .modal-tour-subtitle {
        font-size: 13px
    }

    .modal-tour-btn {
        min-height: 48px
    }
}
