/* ================================================================
   Grace Mall Convention Center — Main Stylesheet
   Design System: Dark luxury theme with gold accents
   ================================================================ */

/* ── Custom Properties ─────────────────────────────────────────── */
:root {
  --gold:      #c9a84c;
  --gold-lt:   #e5c97a;
  --gold-dk:   #9a6f28;
  --deep:      #0d0d14;
  --surface:   #13131e;
  --surface2:  #1a1a2e;
  --surface3:  #21213a;
  --card:      #1e1e30;
  --border:    rgba(201,168,76,0.2);
  --text:      #e8e8f0;
  --text-muted:#9898b2;
  --success:   #22c55e;
  --warning:   #f59e0b;
  --danger:    #ef4444;
  --info:      #3b82f6;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.15);
  --transition: 0.25s ease;
  --sidebar-w: 260px;
  --font-main: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--deep);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-lt); }
img { max-width: 100%; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ── Flash Messages ───────────────────────────────────────────── */
.flash-message {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--shadow); min-width: 280px; max-width: 420px;
  animation: slideInRight 0.35s ease;
}
.flash-success { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.4); color: #4ade80; }
.flash-error   { background: rgba(239,68,68,0.15);  border: 1px solid rgba(239,68,68,0.4);  color: #f87171; }
.flash-info    { background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.4); color: #60a5fa; }
.flash-warning { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.4); color: #fbbf24; }
.flash-close { background: none; border: none; color: inherit; cursor: pointer; margin-left: auto; opacity: .7; }
.flash-close:hover { opacity: 1; }
@keyframes slideInRight { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ================================================================
   ADMIN LAYOUT
   ================================================================ */
.admin-layout { display: flex; min-height: 100vh; }

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w); height: 100vh; background: var(--surface);
  border-right: 1px solid var(--border); display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; z-index: 200; transition: transform var(--transition);
}

.sidebar-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 24px 20px; border-bottom: 1px solid var(--border);
}
.brand-logo {
  width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--deep); flex-shrink: 0;
}
.brand-name { font-family: var(--font-main); font-weight: 700; font-size: 0.95rem; color: var(--gold); }
.brand-sub  { font-size: 0.7rem; color: var(--text-muted); }

.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.nav-section-label {
  font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-muted); padding: 12px 8px 4px;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  transition: all var(--transition); cursor: pointer; margin-bottom: 2px;
}
.nav-item i { width: 18px; text-align: center; font-size: 0.95rem; }
.nav-item:hover { background: var(--surface3); color: var(--text); }
.nav-item.active { background: rgba(201,168,76,0.12); color: var(--gold); border-left: 3px solid var(--gold); }
.nav-item.nav-danger { color: #f87171; }
.nav-item.nav-danger:hover { background: rgba(239,68,68,0.1); }

.sidebar-footer { padding: 16px 12px; border-top: 1px solid var(--border); }
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--surface2); border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  display: flex; align-items: center; justify-content: center; color: var(--deep); flex-shrink: 0;
}
.user-chip-name  { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.user-chip-role  { font-size: 0.7rem; color: var(--text-muted); }

/* ── Main Content ────────────────────────────────────────────── */
.main-content {
  flex: 1; margin-left: var(--sidebar-w);
  background: var(--deep); min-height: 100vh;
  display: flex; flex-direction: column;
}

.top-bar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,20,0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px;
}
.sidebar-toggle {
  display: none; background: none; border: none;
  color: var(--text-muted); font-size: 1.2rem; cursor: pointer;
}
.top-bar-title { font-family: var(--font-main); font-weight: 600; font-size: 1rem; flex: 1; }
.date-display  { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

.page-content { flex: 1; padding: 28px 32px; }

/* ── Page Header ─────────────────────────────────────────────── */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.page-header h1 { font-family: var(--font-main); font-size: 1.6rem; font-weight: 700; }
.page-header h1 span { color: var(--gold); }

/* ── Stat Cards ──────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.stat-icon {
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.stat-icon.gold   { background: rgba(201,168,76,0.15); color: var(--gold); }
.stat-icon.green  { background: rgba(34,197,94,0.12);  color: var(--success); }
.stat-icon.blue   { background: rgba(59,130,246,0.12); color: var(--info); }
.stat-icon.red    { background: rgba(239,68,68,0.12);  color: var(--danger); }
.stat-icon.orange { background: rgba(245,158,11,0.12); color: var(--warning); }
.stat-value { font-family: var(--font-main); font-size: 1.6rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  margin-bottom: 24px;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.card-title { font-family: var(--font-main); font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.card-title i { color: var(--gold); }

/* ── Tables ──────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--surface2); }
th { padding: 11px 16px; text-align: left; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); white-space: nowrap; }
td { padding: 13px 16px; font-size: 0.875rem; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
tbody tr:hover { background: var(--surface2); }
tbody tr:last-child td { border-bottom: none; }

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px; font-size: 0.72rem; font-weight: 600;
}
.badge-success  { background: rgba(34,197,94,0.12);  color: var(--success); }
.badge-danger   { background: rgba(239,68,68,0.12);  color: var(--danger); }
.badge-warning  { background: rgba(245,158,11,0.12); color: var(--warning); }
.badge-info     { background: rgba(59,130,246,0.12); color: var(--info); }
.badge-gold     { background: rgba(201,168,76,0.15); color: var(--gold); }
.badge-muted    { background: rgba(152,152,178,0.12); color: var(--text-muted); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--transition); white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: var(--deep);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); color: var(--deep); }
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: rgba(201,168,76,0.1); color: var(--gold-lt); }
.btn-danger  { background: rgba(239,68,68,0.15); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }
.btn-danger:hover { background: rgba(239,68,68,0.25); }
.btn-success { background: rgba(34,197,94,0.15); color: var(--success); border: 1px solid rgba(34,197,94,0.3); }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-control {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); font-size: 0.875rem; transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%239898b2'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.form-full { grid-column: 1/-1; }
.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 0.75rem; color: var(--danger); margin-top: 5px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input[type=checkbox], .form-check input[type=radio] { accent-color: var(--gold); width: 16px; height: 16px; }
.section-toggle { display: flex; flex-wrap: wrap; gap: 10px; }
.section-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: var(--surface2); border: 1px solid var(--border);
  cursor: pointer; font-size: 0.82rem; transition: all var(--transition);
}
.section-chip input { display: none; }
.section-chip.selected, .section-chip:has(input:checked) { background: rgba(201,168,76,0.15); border-color: var(--gold); color: var(--gold); }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.page-link { padding: 7px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface2); color: var(--text-muted); font-size: 0.82rem; cursor: pointer; transition: all var(--transition); }
.page-link:hover, .page-link.active { background: var(--gold); color: var(--deep); border-color: var(--gold); }

/* ── Search Bar ──────────────────────────────────────────────── */
.search-bar { position: relative; }
.search-bar .form-control { padding-left: 38px; }
.search-bar i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* ── Grid Utilities ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── Divider ─────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ================================================================
   PUBLIC PAGES (home, booking, login)
   ================================================================ */

/* ── Public Navbar ───────────────────────────────────────────── */
.pub-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(13,13,20,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.pub-nav.scrolled { background: rgba(13,13,20,0.98); }
.pub-nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; padding: 0 24px; height: 70px;
}
.pub-brand {
  display: flex; align-items: center; gap: 12px; color: var(--text);
  font-family: var(--font-main); font-size: 1rem;
}
.pub-brand i { color: var(--gold); font-size: 1.3rem; }
.pub-brand b { color: var(--gold); }
.pub-nav-links {
  display: flex; align-items: center; gap: 6px; margin-left: auto;
}
.pub-nav-links a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.88rem; font-weight: 500;
  transition: all var(--transition);
}
.pub-nav-links a:hover { color: var(--text); background: var(--surface2); }
.pub-nav-links a.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: var(--deep); font-weight: 700; padding: 8px 20px; margin-left: 6px;
}
.pub-nav-links a.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); }
.pub-nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; margin-left: auto; cursor: pointer; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--deep);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #0d0d14 0%, #1a0f30 50%, #0d0d14 100%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.12;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-1 { width: 600px; height: 600px; background: var(--gold); top: -100px; right: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: #6b21a8; bottom: -80px; left: 0; animation-delay: -4s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

.hero-inner {
  position: relative; z-index: 1; text-align: center;
  max-width: 860px; padding: 0 24px; padding-top: 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.1); border: 1px solid var(--border);
  padding: 6px 18px; border-radius: 100px; font-size: 0.8rem; color: var(--gold);
  margin-bottom: 28px; font-weight: 500;
}
.hero h1 {
  font-family: var(--font-main); font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 22px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 38px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-primary { padding: 14px 36px; font-size: 1rem; }
.hero-actions .btn-outline  { padding: 14px 28px; font-size: 1rem; }
.hero-stats {
  display: flex; gap: 40px; justify-content: center; margin-top: 64px;
  padding-top: 40px; border-top: 1px solid var(--border); flex-wrap: wrap;
}
.hero-stat-val { font-family: var(--font-main); font-size: 2rem; font-weight: 800; color: var(--gold); }
.hero-stat-lbl { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ── Section Base ────────────────────────────────────────────── */
.section { padding: 90px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-main); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.section-header p  { color: var(--text-muted); max-width: 540px; margin: 14px auto 0; font-size: 1rem; }

/* ── Venue Cards ─────────────────────────────────────────────── */
.venue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.venue-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.venue-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.venue-card-img { height: 180px; background: var(--surface3); position: relative; overflow: hidden; }
.venue-card-img .venue-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gold); opacity: 0.4; }
.venue-card-body { padding: 20px; }
.venue-card-body h3 { font-family: var(--font-main); font-weight: 700; margin-bottom: 6px; }
.venue-card-body p  { font-size: 0.83rem; color: var(--text-muted); }
.venue-card-meta { display: flex; gap: 16px; margin-top: 14px; }
.venue-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.venue-meta-item i { color: var(--gold); }
.venue-price { font-family: var(--font-main); font-weight: 700; color: var(--gold); font-size: 1.1rem; margin-top: 14px; }

/* ── How It Works ────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.step-card { text-align: center; }
.step-num {
  width: 60px; height: 60px; margin: 0 auto 18px;
  border-radius: 50%; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-main); font-size: 1.3rem; font-weight: 800; color: var(--gold);
  background: rgba(201,168,76,0.08); position: relative;
}
.step-card h3 { font-family: var(--font-main); font-weight: 600; margin-bottom: 8px; }
.step-card p  { font-size: 0.85rem; color: var(--text-muted); }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface3); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.testimonial-name  { font-size: 0.88rem; font-weight: 600; }
.testimonial-event { font-size: 0.76rem; color: var(--text-muted); }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-family: var(--font-main); font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; }
.contact-info p   { color: var(--text-muted); margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(201,168,76,0.1); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.contact-detail-text strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 3px; }

/* ── Public Footer ───────────────────────────────────────────── */
.pub-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 24px; }
.pub-footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-logo { width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--gold-dk)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--deep); font-size: 1.2rem; }
.footer-name { font-family: var(--font-main); font-weight: 700; color: var(--text); }
.footer-tagline { font-size: 0.78rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

/* ── Auth Pages ─────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--deep); position: relative; overflow: hidden; }
.auth-page::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: var(--gold); filter: blur(120px); opacity: 0.05; top: -100px; right: -100px; }
.auth-card { width: 100%; max-width: 450px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; position: relative; z-index: 1; }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo .logo-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--gold), var(--gold-dk)); border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--deep); margin-bottom: 12px; }
.auth-logo h1 { font-family: var(--font-main); font-size: 1.4rem; font-weight: 700; }
.auth-logo p  { font-size: 0.83rem; color: var(--text-muted); margin-top: 4px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-muted); font-size: 0.8rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.85rem; color: var(--text-muted); }
.auth-footer a { color: var(--gold); font-weight: 600; }

/* ── Booking Page ────────────────────────────────────────────── */
.booking-page { padding-top: 90px; min-height: 100vh; }
.booking-container { max-width: 900px; margin: 0 auto; padding: 40px 24px; }
.booking-progress { display: flex; gap: 0; margin-bottom: 40px; }
.progress-step { flex: 1; text-align: center; position: relative; }
.progress-step::after { content: ''; position: absolute; top: 20px; left: 50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.progress-step:last-child::after { display: none; }
.progress-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--surface2); border: 2px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; position: relative; z-index: 1; margin-bottom: 8px; }
.progress-step.active .progress-step-num  { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.progress-step.done .progress-step-num    { background: var(--success); border-color: var(--success); color: #fff; }
.progress-step-label { font-size: 0.75rem; color: var(--text-muted); display: block; }
.progress-step.active .progress-step-label { color: var(--gold); font-weight: 600; }

/* ── Availability Grid ───────────────────────────────────────── */
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.slot-card { padding: 16px; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--surface2); cursor: pointer; transition: all var(--transition); text-align: center; }
.slot-card:hover { border-color: var(--gold); background: rgba(201,168,76,0.05); }
.slot-card.selected { border-color: var(--gold); background: rgba(201,168,76,0.12); color: var(--gold); }
.slot-card.booked { opacity: 0.45; cursor: not-allowed; border-color: rgba(239,68,68,0.3); }
.slot-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.slot-time { font-size: 0.78rem; color: var(--text-muted); }

/* ── Calendar (FullCalendar overrides) ───────────────────────── */
.fc { --fc-border-color: var(--border); --fc-today-bg-color: rgba(201,168,76,0.07); --fc-page-bg-color: transparent; --fc-neutral-bg-color: var(--surface2); --fc-list-event-hover-bg-color: var(--surface3); }
.fc-theme-standard th { background: var(--surface2); }
.fc-button-primary { background: var(--surface2) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
.fc-button-primary.fc-button-active { background: var(--gold) !important; color: var(--deep) !important; border-color: var(--gold) !important; }
.fc-event { border-radius: 5px !important; font-size: 0.78rem !important; padding: 2px 6px !important; }

/* ── Chart area ──────────────────────────────────────────────── */
.chart-wrap { position: relative; height: 300px; }

/* ── Staff grid ──────────────────────────────────────────────── */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.staff-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; transition: transform var(--transition), box-shadow var(--transition); }
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.staff-avatar { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--surface3), var(--surface2)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--gold); margin: 0 auto 14px; border: 2px solid var(--border); }
.staff-name { font-family: var(--font-main); font-weight: 700; margin-bottom: 4px; }
.staff-role { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.staff-dept { display: inline-block; padding: 3px 12px; border-radius: 100px; font-size: 0.72rem; background: rgba(201,168,76,0.1); color: var(--gold); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .form-grid, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .form-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .sidebar-toggle { display: block; }
  .page-content { padding: 20px 16px; }
  .pub-nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; padding: 12px; gap: 4px; }
  .pub-nav-links.open { display: flex; }
  .pub-nav-toggle { display: block; }
  .hero h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .slots-grid { grid-template-columns: 1fr; }
  .form-grid-3 { grid-template-columns: 1fr; }
}

/* ── Utility / Misc ──────────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-danger { color: var(--danger); }
.text-success{ color: var(--success); }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.flex-1 { flex: 1; }
.w-100 { width: 100%; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 2.5rem; margin-bottom: 14px; opacity: 0.4; color: var(--gold); }
.empty-state p { font-size: 0.9rem; }
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 150; }
.overlay.open { display: block; }
