.reservation_limit_back {
    width: 100%;
    height: 100%;
    background: #00000050;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    transition: all .3s ease;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
.reservation_limit_show .reservation_limit_back {
    pointer-events: unset;
    opacity: 1;
    visibility: visible;
}

.reservation_limit_modal {
    background: #fff;
    border-radius: 24px;
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 700px;
    transition: all .3s ease;
}

.reservation_limit__header {
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.reservation_limit__header--caption {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 17px;
    font-size: 20px;
    font-weight: 700;
    color: #B50000;
}

.reservation_limit__header--icon,
.reservation_limit__header--close {
    width: 25px;
    height: 25px;
    filter: brightness(0.8);
}

.reservation_limit__header--close {
    cursor: pointer;
    filter: contrast(0) brightness(0) invert(200%) sepia(90%) saturate(1000%) hue-rotate(316deg) brightness(50.9%) contrast(2000%);
    width: 28px;
    height: 28px;
}

.reservation_limit__text {
    width: 100%;
    color: #333333;
    font-size: 18px;
    line-height: 32px;
    font-weight: 500;
}

.reservation_limit__btns {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 15px;
    width: auto;
}

.reservation_limit__btns button {
    height: 50px;
    border-radius: 8px;
    background: #F0F0F0;
    color: #333333;
    padding: 0 17px;
    border: 0;
    outline: 0;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 70%;
}

.reservation_limit__btns button.red {
    background: #FFDFDF;
    color: #B50000;
}

@media (max-width: 768px) {
    .reservation_limit_modal {
        width: 100%;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        transform: translate(0%, 100%);
        position: absolute;
        bottom: 0;
        padding: 60px 20px 30px;
    }

    .reservation_limit_show .reservation_limit_modal {
        transform: translate(0%, 0%);
    }

    .reservation_limit__header--icon {
        width: 38px;
        height: 38px;
    }

    .reservation_limit__header--close {
        display: none;
    }

    .reservation_limit__header--caption::before {
        content: "";
        width: 70px;
        height: 3px;
        background: #D9D9D9;
        top: -45px;
        border-radius: 8px;
        position: absolute;
    }

    .reservation_limit__header--caption {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        gap: 12px;
        position: relative;
    }

    .reservation_limit__text {
        text-align: center;
        font-size: 16px;
    }

    .reservation_limit__btns {
        justify-content: center;
    }
    .reservation_limit__btns button {
        font-size: 14px;
    }
}