/* =========================
   RESERVATION MODAL
========================= */

.reservation-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.75);

    align-items: center;
    justify-content: center;

    padding: 10px;
    box-sizing: border-box;

    overscroll-behavior: contain;
}

.reservation-modal.active {
    display: flex;
}

/* =========================
   MODAL BOX
========================= */

.reservation-modal-content {
    position: relative;

    width: 98%;
    max-width: 700px;

    height: calc(100dvh - 40px);
    max-height: calc(100dvh - 40px);

    background: #fff;

    border-radius: 14px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

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

    .reservation-modal-content {
        width: 50%;
        height: 90vh;
        max-height: 90vh;
    }

}

/* iOS Safari fix */
@supports (-webkit-touch-callout: none) {

    .reservation-modal-content {
        height: calc(100dvh - 40px);
        max-height: calc(100dvh - 40px);
    }

}

/* =========================
   HEADER
========================= */

.reservation-header {
    position: relative;

    height: 60px;
    min-height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 60px 0 20px;

    border-bottom: 1px solid #eee;

    background: #fff;

    flex-shrink: 0;
}

.reservation-title {
    width: 100%;

    font-size: 20px;
    font-weight: 700;

    text-align: center;

    line-height: 1.2;

    color: #111;

    word-break: break-word;
}

.reservation-close {
    position: absolute;

    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 26px;
    line-height: 1;

    color: #111;
}

/* =========================
   IFRAME
========================= */

.reservation-modal iframe {
    width: 100%;
    height: 100%;

    border: 0;

    flex: 1;

    display: block;

    background: #fff;

    overflow: auto;

    -webkit-overflow-scrolling: touch;
}

/* =========================
   FOOTER BUTTON
========================= */

#openReservationModal {
    flex: 1;

    display: flex !important;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 3px;

    cursor: pointer;

    line-height: 1.1 !important;

    padding: 2px 2px;

    text-align: center;

    box-sizing: border-box;
}

#openReservationModal i {
    font-size: 18px;
}

#openReservationModal small {
    display: block;

    font-size: 10px;
    line-height: 1.1;

    white-space: normal;
     
}

/* Small phones */
@media (max-width: 380px) {

    #openReservationModal small {
        font-size: 10px;
    }

}

/* =========================
   BODY LOCK
========================= */

body.modal-open {
    overflow: hidden;
    touch-action: none;
}

.reservation-text-btn {
    position: fixed;

    top: 0;
    right: 140px;

    z-index: 101;

    width: auto;
    height: 70px;

    background-color: #152852;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    font-size: 10px;
    font-weight: 700;

    line-height: 1.1;

    padding: 0 10px;

    cursor: pointer;

    transition: .3s all;
    border-right: 2px solid #fff;
}

.reservation-text-btn:hover {
   /* background-color: #0F1D3D;*/
}

@media (max-width: 1100px) {

    .reservation-text-btn {
        display: none;
    }

}