/* ==========================================================================
   BURGERS & CO. — SANDWICH SHOP (CAMPO GRANDE, RIO DE JANEIRO)
   Authentic Visual Identity from www.burgersandco.com.br & Backoffice ERP
   Colors & Typography extracted from Official Logo (logo-official.png),
   Au Cheval Editorial Layout (aucheval.css) & Backoffice Admin (admin.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Allura&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inria+Serif:ital,wght@0,400;0,700;1,400&family=JetBrains+Mono:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

@font-face {
  font-family: 'A Font with Serifs';
  src: url('/static/assets/fonts/A_Font_with_Serifs.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Official Burgers & Co. Au Cheval Palette */
  --ac-espresso: #381e11;        /* Official roasted brown from logo-official.png */
  --ac-espresso-mid: #2b160c;
  --ac-espresso-deep: #1b0d06;
  --ac-espresso-footer: #140904;

  --bg-espresso-deep: #120906;
  --bg-espresso: #1d0f0b;
  --bg-espresso-card: #26140e;
  --bg-espresso-brand: #3b1f17;

  --ac-parchment: #f4ece0;       /* Official warm cream paper from cardapio-oficial.pdf */
  --ac-parchment-warm: #efe4d2;
  --ac-cream: #f5ede0;
  --ac-gold: #d7ba89;            /* Official champagne gold lettering */
  --ac-gold-rule: #c5a572;       /* Official antique gold border & flourish color */
  --ac-gold-muted: rgba(215, 186, 137, 0.72);

  /* Backoffice & ERP Tokens */
  --gold-light: #ebd5ab;
  --gold-primary: #d5b886;
  --gold-antique: #b8945c;
  --gold-border: rgba(213, 184, 134, 0.24);
  --gold-border-strong: rgba(213, 184, 134, 0.58);
  --gold-glow: rgba(213, 184, 134, 0.14);

  --cream-white: #faf5ec;
  --cream-soft: #e6dac6;
  --cream-muted: #b5a38d;
  --espresso-ink: #2b1610;

  --emerald-400: #66bb6a;
  --emerald-500: #43a047;
  --danger-500: #ef5350;

  /* Official Typography */
  --ac-font-logo: 'A Font with Serifs', 'Cormorant Garamond', Georgia, serif;
  --ac-serif-display: 'Cormorant Garamond', 'EB Garamond', 'Inria Serif', Georgia, serif;
  --ac-serif-body: 'Cormorant Garamond', 'EB Garamond', 'Inria Serif', Georgia, serif;
  --font-display: 'Cormorant Garamond', 'Inria Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--ac-espresso-deep);
  color: var(--ac-gold);
  font-family: var(--ac-serif-body);
  font-variant-numeric: lining-nums;
}

body {
  min-height: 100vh;
  background-color: var(--ac-espresso-deep);
  color: var(--ac-cream);
  font-family: var(--ac-serif-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.font-mono-code {
  font-family: var(--font-mono);
}

/* ==========================================================================
   1. CLIENT VIEW: OFFICIAL TOP FIXED STACK & NAVIGATION DRAWER (www.burgersandco.com.br)
   ========================================================================== */

.ac-top-fixed-stack {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ac-announcement-bar {
  width: 100%;
  background-color: var(--ac-espresso);
  border-bottom: 1px solid rgba(215, 186, 137, 0.25);
  color: var(--ac-gold);
  text-align: center;
  padding: 0.42rem 0.9rem;
  font-family: var(--ac-serif-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.ac-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.75rem;
  background: rgba(27, 13, 6, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(215, 186, 137, 0.22);
}

.ac-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.ac-header-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.ac-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ac-hamburger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.ac-hamburger-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--ac-gold);
  transition: transform 0.3s ease, opacity 0.25s ease;
}

/* Slide-Over Translucent Espresso Navigation Drawer */
.ac-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1350;
  background: rgba(15, 7, 3, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.ac-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ac-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 460px);
  z-index: 1380;
  background: rgba(35, 18, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-left: 1px solid rgba(215, 186, 137, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2rem;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.ac-nav-backdrop.is-open .ac-nav-drawer {
  transform: translate3d(0, 0, 0);
}

.ac-nav-close-btn {
  position: absolute;
  top: 1.35rem;
  right: 1.75rem;
  background: transparent;
  border: none;
  color: var(--ac-gold);
  font-family: var(--ac-serif-display);
  font-size: 2.35rem;
  line-height: 1;
  cursor: pointer;
}

.ac-nav-bracket-rule {
  width: min(82%, 280px);
  height: 9px;
  border-bottom: 1.5px solid var(--ac-gold);
  border-left: 1.5px solid var(--ac-gold);
  border-right: 1.5px solid var(--ac-gold);
  margin-bottom: 2rem;
}

.ac-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.ac-nav-link {
  font-family: var(--ac-serif-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ac-cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.ac-nav-link:hover {
  color: var(--ac-gold);
}

/* ==========================================================================
   2. CLIENT HERO & ORNATE BISTRO QUEUE EXPERIENCE
   ========================================================================== */

.client-page-wrap {
  position: relative;
  min-height: 100vh;
  padding-top: 96px;
  padding-bottom: 56px;
  background-color: var(--ac-espresso-deep);
  background-image:
    linear-gradient(180deg, rgba(27, 13, 6, 0.78) 0%, rgba(18, 9, 6, 0.94) 45%, rgba(18, 9, 6, 0.98) 100%),
    url('/static/assets/img/ambiente-1.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.client-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
}

.ac-queue-hero {
  text-align: center;
  padding: 1.1rem 0 1.4rem;
}

.ac-hero-est {
  font-family: var(--ac-font-logo);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--ac-gold);
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.ac-hero-crest-svg {
  width: min(76vw, 310px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.85));
}

.ac-hero-sub {
  font-family: var(--ac-font-logo);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  color: var(--ac-gold);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(102, 187, 106, 0.14);
  color: #81c784;
  border: 1px solid rgba(102, 187, 106, 0.45);
}

.live-pill.closed {
  background: rgba(239, 83, 80, 0.15);
  color: #ef9a9a;
  border-color: rgba(239, 83, 80, 0.45);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.45; }
}

/* Ornate Frame (Clean Bistro Card) */
.bco-ornate-card {
  position: relative;
  background: linear-gradient(180deg, rgba(38, 20, 14, 0.95) 0%, rgba(22, 11, 7, 0.98) 100%);
  border: 1.5px solid var(--ac-gold-rule);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.78),
    inset 0 0 0 5px rgba(22, 11, 7, 0.95),
    inset 0 0 0 6px rgba(197, 165, 114, 0.32);
  margin-bottom: 18px;
}

.bco-parchment-notice {
  background: var(--ac-parchment);
  color: var(--ac-espresso);
  border: 1.5px solid var(--ac-gold-rule);
  border-radius: 20px;
  padding: 18px 20px;
  text-align: center;
  box-shadow: inset 0 0 0 4px var(--ac-parchment), inset 0 0 0 5px rgba(197, 165, 114, 0.42);
  margin-bottom: 18px;
}

.ac-bco-eyebrow {
  font-family: var(--ac-font-logo);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ac-gold);
  text-align: center;
}

.bco-parchment-notice .ac-bco-eyebrow {
  color: #8a663d;
}

.ac-bco-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--ac-gold-rule);
  font-size: 0.95rem;
  margin: 0.3rem auto 0.85rem;
}

.ac-bco-flourish::before,
.ac-bco-flourish::after {
  content: '';
  width: 56px;
  height: 1px;
  background-color: var(--ac-gold-rule);
}

/* Brackets Bar (1-2, 3-4, 5-6, 7+) */
.brackets-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.bracket-mini-box {
  background: rgba(29, 15, 11, 0.92);
  border: 1px solid rgba(215, 186, 137, 0.28);
  border-radius: 14px;
  padding: 10px 6px;
  text-align: center;
}

.bracket-mini-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--cream-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bracket-mini-val {
  font-family: var(--ac-serif-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ac-gold);
  line-height: 1.1;
  margin-top: 2px;
}

.bracket-mini-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  color: var(--cream-muted);
}

/* Mode Switch & Clean Bistro Form Controls */
.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(18, 9, 6, 0.85);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--gold-border);
  margin-bottom: 18px;
}

.mode-switch-btn {
  background: transparent;
  color: var(--cream-muted);
  border: none;
  padding: 10px 12px;
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-switch-btn.active {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: var(--bg-espresso-deep);
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ac-gold);
  margin-bottom: 6px;
}

.form-label .req {
  color: var(--gold-light);
}

.form-input, .pos-input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(18, 9, 6, 0.88);
  border: 1px solid var(--gold-border-strong);
  border-radius: 12px;
  color: var(--cream-white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder, .pos-input::placeholder {
  color: rgba(181, 163, 141, 0.55);
}

.form-input:focus, .pos-input:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(213, 184, 134, 0.18);
}

/* Party Size Selector Grid */
.party-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.party-btn {
  padding: 11px 6px;
  background: rgba(18, 9, 6, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  color: var(--cream-white);
  font-family: var(--ac-serif-display);
  font-weight: 700;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.party-btn span {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.party-btn.selected {
  background: linear-gradient(135deg, rgba(235, 213, 171, 0.22) 0%, rgba(213, 184, 134, 0.14) 100%);
  border-color: var(--gold-light);
  color: var(--gold-light);
  box-shadow: 0 0 0 1.5px var(--gold-primary);
}

.party-btn.selected span {
  color: var(--gold-light);
}

.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-chip {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(18, 9, 6, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--cream-soft);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.18s ease;
}

.tag-chip.selected {
  background: var(--gold-primary);
  border-color: var(--gold-light);
  color: var(--bg-espresso-deep);
  font-weight: 700;
}

/* Official Au Cheval & Burgers & Co. Buttons */
.ac-rect-btn, .btn-primary, .button-main {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: var(--bg-espresso-deep);
  border: 1px solid var(--gold-light);
  border-radius: 12px;
  padding: 13px 20px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 10px 26px rgba(213, 184, 134, 0.22);
}

.ac-rect-btn:hover, .btn-primary:hover, .button-main:hover {
  background: var(--cream-white);
  color: var(--bg-espresso-deep);
  transform: translateY(-1px);
}

.btn-secondary, .superadm-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(38, 20, 14, 0.78);
  border: 1px solid var(--gold-border-strong);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover, .superadm-mini-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-espresso-deep);
}

.btn-danger-ghost, .superadm-mini-btn.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(239, 83, 80, 0.1);
  border: 1px solid rgba(239, 83, 80, 0.4);
  color: #ef9a9a;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danger-ghost:hover, .superadm-mini-btn.danger:hover {
  background: rgba(239, 83, 80, 0.22);
}

/* ==========================================================================
   3. LIVE BOARDING TICKET — CLASSIC RESERVATION PASS
   ========================================================================== */

.boarding-ticket {
  position: relative;
  background: linear-gradient(180deg, #27150f 0%, #160b08 100%);
  border: 1.5px solid var(--ac-gold-rule);
  border-radius: 26px;
  padding: 28px 24px;
  box-shadow:
    0 26px 65px rgba(0, 0, 0, 0.85),
    inset 0 0 0 5px #160b08,
    inset 0 0 0 6px rgba(197, 165, 114, 0.35);
}

.boarding-ticket.called-state {
  background: linear-gradient(180deg, #102a1d 0%, #091911 100%);
  border: 2px solid #66bb6a;
  box-shadow: 0 0 48px rgba(102, 187, 106, 0.35);
}

.ticket-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ticket-code-badge {
  background: rgba(213, 184, 134, 0.14);
  border: 1px solid var(--gold-border-strong);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.position-hero {
  text-align: center;
  padding: 22px 14px;
  margin: 10px 0 18px;
  background: rgba(18, 9, 6, 0.65);
  border-radius: 18px;
  border: 1px solid var(--gold-border);
}

.position-number {
  font-family: var(--ac-serif-display);
  font-size: 4.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
}

.called-state .position-number {
  color: #a5d6a7;
  font-size: 2.15rem;
  letter-spacing: 0.04em;
}

.ticket-divider {
  border-top: 1px dashed var(--gold-border-strong);
  margin: 18px 0;
}

.ticket-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.ticket-meta-box {
  background: rgba(18, 9, 6, 0.55);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 11px 14px;
}

.ticket-meta-label {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.ticket-meta-val {
  font-family: var(--ac-serif-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream-white);
  margin-top: 2px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(213, 184, 134, 0.14);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  margin-right: 4px;
}

/* ==========================================================================
   4. RECEPTION & CRM BACKOFFICE SHELL (MATCHING pdv.html & admin.html)
   ========================================================================== */

body.admin-body {
  background: var(--bg-espresso-deep);
  color: var(--cream-white);
  font-family: var(--font-sans);
  margin: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-login-gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background:
    radial-gradient(circle at 50% 35%, rgba(59, 31, 23, 0.88) 0%, rgba(18, 9, 6, 0.98) 70%),
    #120906;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.3s ease;
}

.admin-login-card {
  width: min(94vw, 450px);
  background: linear-gradient(180deg, #27150f 0%, #160b08 100%);
  border: 1.5px solid var(--gold-border-strong);
  border-radius: 32px;
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.92);
}

.admin-login-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  object-fit: cover;
  margin: 0 auto 0.9rem;
}

.admin-role-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 1rem 0;
}

.admin-role-chip {
  background: rgba(18, 9, 6, 0.75);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 0.6rem 0.75rem;
  color: var(--cream-soft);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-role-chip.active,
.admin-role-chip:hover {
  border-color: var(--gold-primary);
  background: rgba(213, 184, 134, 0.16);
  color: var(--gold-light);
}

.admin-shell {
  display: grid;
  grid-template-columns: 265px 1fr;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.admin-sidebar {
  background: linear-gradient(180deg, #1d0f0b 0%, #110806 100%);
  border-right: 1px solid var(--gold-border-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 0.95rem;
  overflow-y: auto;
}

.admin-brand-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.55rem 1.1rem;
  border-bottom: 1px solid var(--gold-border);
  margin-bottom: 0.95rem;
}

.admin-brand-box img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  object-fit: cover;
}

.admin-brand-title {
  font-family: var(--ac-font-logo);
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  text-transform: uppercase;
  line-height: 1.1;
}

.admin-brand-sub {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.18rem;
}

.admin-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-nav-section-label {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  padding: 0.65rem 0.75rem 0.25rem;
  opacity: 0.85;
}

.admin-nav-btn {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  color: var(--cream-soft);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  transition: all 0.2s ease;
}

.admin-nav-btn-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-nav-btn:hover {
  background: rgba(213, 184, 134, 0.1);
  color: var(--gold-light);
  border-color: var(--gold-border);
}

.admin-nav-btn.active {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: var(--bg-espresso-deep);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(213, 184, 134, 0.24);
}

.admin-nav-badge {
  background: rgba(18, 9, 6, 0.85);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
}

.admin-sidebar-footer {
  border-top: 1px solid var(--gold-border);
  padding-top: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-ext-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--gold-border-strong);
  background: rgba(38, 20, 14, 0.72);
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.admin-ext-link:hover {
  background: var(--gold-primary);
  color: var(--bg-espresso-deep);
}

.admin-main {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background: #140a07;
}

.admin-topbar {
  padding: 0.85rem 1.5rem;
  background: #1d0f0b;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  flex-shrink: 0;
}

.admin-topbar-title {
  font-family: var(--ac-serif-display);
  font-weight: 700;
  font-size: 1.42rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-topbar-sub {
  font-size: 0.74rem;
  color: var(--cream-muted);
}

.admin-status-pills {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-status-pill {
  background: #120906;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cream-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.green {
  background: #66bb6a;
  box-shadow: 0 0 8px #66bb6a;
}

.status-dot.red {
  background: #ef5350;
  box-shadow: 0 0 8px #ef5350;
}

.status-dot.gold {
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.admin-workspace-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.35rem 1.6rem 3rem;
}

/* KPIs & Panels from admin.css */
.bi-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.bi-kpi-card {
  background: linear-gradient(145deg, #26140e 0%, #180c08 100%);
  border: 1px solid var(--gold-border-strong);
  border-radius: 22px;
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
}

.bi-kpi-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bi-kpi-value {
  font-family: var(--ac-serif-display);
  font-weight: 700;
  font-size: 2.15rem;
  color: var(--gold-light);
  line-height: 1.05;
}

.bi-kpi-foot {
  font-size: 0.74rem;
  color: var(--cream-soft);
}

.bi-panel-card {
  background: #1c0f0b;
  border: 1px solid var(--gold-border);
  border-radius: 24px;
  padding: 1.3rem;
  margin-bottom: 1.25rem;
}

.bi-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.bi-panel-title {
  font-family: var(--ac-serif-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bracket-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.bracket-pill {
  background: #1e100b;
  border: 1px solid var(--gold-border);
  color: var(--cream-soft);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.bracket-pill.active,
.bracket-pill:hover {
  background: var(--gold-primary);
  color: var(--bg-espresso-deep);
  border-color: var(--gold-light);
}

.bracket-count {
  background: rgba(18, 9, 6, 0.75);
  color: var(--gold-light);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
}

/* Queue Row Cards in Reception */
.queue-row-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(145deg, #24130d 0%, #170c08 100%);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  margin-bottom: 10px;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.queue-row-card:hover {
  border-color: var(--gold-primary);
}

.queue-row-card.is-called {
  background: linear-gradient(145deg, #132e1f 0%, #0b1c12 100%);
  border: 1.5px solid #66bb6a;
  box-shadow: 0 10px 28px rgba(102, 187, 106, 0.16);
}

.action-btn {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.action-btn.call {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: var(--bg-espresso-deep);
}

.action-btn.call:hover {
  background: var(--cream-white);
}

.action-btn.seat {
  background: rgba(102, 187, 106, 0.16);
  border-color: rgba(102, 187, 106, 0.5);
  color: #81c784;
}

.action-btn.seat:hover {
  background: #66bb6a;
  color: #0b1c12;
}

.action-btn.cancel {
  background: rgba(239, 83, 80, 0.12);
  border-color: rgba(239, 83, 80, 0.4);
  color: #ef9a9a;
}

.action-btn.cancel:hover {
  background: rgba(239, 83, 80, 0.25);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.83rem;
}

.data-table th {
  text-align: left;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--gold-border);
}

.data-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid rgba(213, 184, 134, 0.12);
  color: var(--cream-soft);
}

@media (max-width: 960px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: none;
  }
}


/* ==========================================================================
   5. MAPA DE MESAS DO SALÃO (2, 4 E 6 LUGARES — LIVRES & OCUPADAS)
   ========================================================================== */

.tables-floor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.table-floor-card {
  background: linear-gradient(145deg, #21110c 0%, #150a07 100%);
  border: 1.5px solid rgba(102, 187, 106, 0.42);
  border-radius: 22px;
  padding: 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.table-floor-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.table-floor-card.is-occupied {
  background: linear-gradient(145deg, #2e1610 0%, #1b0c08 100%);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 26px rgba(213, 184, 134, 0.14);
}

.table-status-pill {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.table-status-pill.free {
  background: rgba(102, 187, 106, 0.16);
  color: #81c784;
  border: 1px solid rgba(102, 187, 106, 0.45);
}

.table-status-pill.occupied {
  background: rgba(213, 184, 134, 0.18);
  color: var(--gold-light);
  border: 1px solid var(--gold-border-strong);
}

.seat-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 0.65rem;
  max-height: 290px;
  overflow-y: auto;
  margin: 0.85rem 0 1.1rem;
}

.seat-picker-item {
  background: rgba(18, 9, 6, 0.85);
  border: 1.5px solid var(--gold-border);
  border-radius: 14px;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.seat-picker-item.selected {
  background: rgba(102, 187, 106, 0.18);
  border-color: #66bb6a;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(102, 187, 106, 0.25);
}
