/* =====================================================
   TEZMENU — TABLE UNAVAILABLE GATE
   Shown when ?table=<id> in the URL doesn't match any
   active table for this client (deleted or inactive).
===================================================== */

#tezmenu-table-gate {
    position: fixed;
    inset: 0;
    z-index: 999999999;

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

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

    background: #f7f7f8;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.tezmenu-table-gate-card {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    padding: 32px 25px 27px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 26px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0,0,0,.11), 0 5px 18px rgba(0,0,0,.05);
}

.tezmenu-table-gate-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fdeaea;
    color: #dc2626;
}

.tezmenu-table-gate-icon svg {
    width: 32px;
    height: 32px;
}

.tezmenu-table-gate-card h2 {
    margin: 0 0 10px;
    color: #111;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 750;
}

.tezmenu-table-gate-card p {
    max-width: 320px;
    margin: 0 auto;
    color: #666;
    font-size: 14px;
    line-height: 1.55;
}

#tezmenu-table-gate-continue {
    width: 100%;
    margin-top: 22px;
    padding: 15px 20px;
    border: 0;
    border-radius: 13px;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2px;
    cursor: pointer;
}

#tezmenu-table-gate-continue:active {
    transform: scale(.98);
}

/* Hide the rest of the page while this gate is showing */
body.tezmenu-table-gate-active > *:not(#tezmenu-table-gate) {
    visibility: hidden !important;
}
