#reservation-notifications { position:fixed; z-index:100; top:76px; right:24px; width:min(390px, calc(100vw - 32px)); }
.reservation-notice { background:var(--vd-surface); color:var(--vd-text-primary); border:1px solid var(--vd-border); border-left:4px solid var(--vd-warm); border-radius:12px; padding:16px 20px; box-shadow:var(--vd-shadow-float); overflow-wrap:anywhere; }
.reservation-notice-head { display:flex; align-items:center; gap:12px; border-bottom:1px solid var(--vd-border); padding-bottom:8px; margin-bottom:10px; }
.reservation-notice-icon { display:grid; place-items:center; flex:0 0 40px; height:40px; border-radius:9px; background:var(--vd-surface-subtle); color:var(--vd-warm); font-size:24px; }
.reservation-notice-heading { flex:1; min-width:0; }
.reservation-notice-heading h2 { font-size:18px; margin:0; }
.reservation-notice-heading span { color:var(--vd-text-secondary); font-size:12px; }
.reservation-notice-close { background:transparent; border:0; color:inherit; font-size:24px; min-width:40px; min-height:40px; }
.reservation-notice-name { display:block; font-size:16px; }
.reservation-notice-number { display:inline-block; margin:4px 0; padding:3px 8px; border-radius:6px; background:var(--vd-surface-subtle); color:var(--vd-text-secondary); font-size:13px; font-weight:600; }
.reservation-notice p { margin:8px 0 12px; color:var(--vd-text-secondary); }
.reservation-notice .reservation-notice-preview { font-size:12px; margin-top:0; }
@media (max-width:600px) { #reservation-notifications { top:72px; right:16px; } .reservation-notice { padding:16px; } }

/* Shared fade-out for floating notices. */
[data-toast], .reservation-notice { transition:opacity 250ms ease; }
[data-toast].is-dismissing, .reservation-notice.is-dismissing { opacity:0; pointer-events:none; }
@media (prefers-reduced-motion: reduce) { [data-toast], .reservation-notice { transition-duration:0ms; } }

/* A single, scrollable stack keeps queued messages from overlapping each other. */
.toast-stack { max-height: min(45vh, 420px); overflow-y: auto; overscroll-behavior: contain; }
.toast-stack .alert-warning { background: var(--vd-surface); color: var(--vd-text-primary); border: 1px solid var(--vd-border); border-left: 4px solid var(--vd-warm); }
.toast-stack .alert a { color: inherit; font-weight: 700; text-decoration: underline; }
@media (max-width: 600px) { .toast-stack { top: auto; bottom: max(12px, env(safe-area-inset-bottom)); max-height: 35vh; } }

.toast-stack .reservation-notice { width:100%; margin:0; pointer-events:auto; }

/* Keep the account controls above the floating stack, including on phones. */
.toast-stack:has(.reservation-notice) { top:var(--reservation-stack-top, 80px); bottom:auto; max-height:calc(100dvh - var(--reservation-stack-top, 80px) - 16px); }
.reservation-notice-head { border-bottom:0; padding-bottom:0; margin-bottom:14px; }
.reservation-notice-icon svg { width:26px; height:26px; }
.reservation-notice-identity { display:flex; align-items:center; gap:12px; min-width:0; padding:10px 12px; border-radius:8px; background:var(--vd-surface-subtle); }
.reservation-notice-identity-text { min-width:0; overflow-wrap:anywhere; }
.reservation-notice-photo { flex:0 0 42px; width:42px; height:50px; object-fit:contain; }
.reservation-notice-number { display:block; padding:0; margin:3px 0 0; background:transparent; color:var(--vd-text-secondary); font-weight:400; }
.reservation-notice-close { flex:0 0 44px; min-width:44px; min-height:44px; cursor:pointer; }
