/* ---------------------------------------------------------
   popups TD Restaurant - styles partagés
   utilisé par : age-verify, opening-hours, orders-capacity
   --------------------------------------------------------- */

.tdresto-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999997;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(3px);
}

.tdresto-popup-overlay.is-open {
    display: flex;
}

.tdresto-popup {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1a1a1a;
}

.tdresto-popup__header {
    text-align: center;
    margin-bottom: 24px;
}

.tdresto-popup__icon {
    font-size: 2em;
    margin-bottom: 10px;
    line-height: 1;
}

.tdresto-popup__title {
    margin: 0;
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #111;
}

.tdresto-popup__separator {
    height: 1px;
    background: #f0f0f0;
    margin-bottom: 20px;
}

.tdresto-popup__body {
    margin: 0 0 24px;
    font-size: .88em;
    color: #555;
    line-height: 1.65;
    text-align: center;
    padding: 0 10px;
}

.tdresto-popup__btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .95em;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.tdresto-popup__btn:hover {
    background: #333;
}


.tdresto-popup__checkbox-row {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: .92em;
    color: #222;
    line-height: 1.45;
    user-select: none;
}

.tdresto-popup__checkbox-row.is-preview {
    cursor: default;
}

.tdresto-popup__checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #111;
}

.tdresto-popup__checkbox-row.is-preview .tdresto-popup__checkbox {
    cursor: default;
}

.tdresto-popup__btn--confirm {
    opacity: .3;
    letter-spacing: .01em;
    transition: opacity .2s, background .15s;
}

.tdresto-popup__btn--confirm:not([disabled]) {
    opacity: 1;
}

.tdresto-popup__required {
    color: #e00;
    text-decoration: none;
    margin-left: 1px;
}

.tdresto-popup__error {
    display: none;
    margin: 12px 0 0;
    font-size: .84em;
    color: #c00;
    text-align: center;
}