/* ═══════════════════════════════════════════════════════════════
   THE GRAND LUMIÈRE — HOTEL MANAGEMENT SYSTEM
   Design: Luxury Dark with Gold Accents
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg-deep:     #07080f;
  --bg-card:     #0d1021;
  --bg-surface:  #121629;
  --bg-elevated: #171d35;
  --border:      rgba(201,168,76,0.15);
  --border-light:rgba(255,255,255,0.06);
  --gold:        #c9a84c;
  --gold-light:  #e8c96d;
  --gold-pale:   rgba(201,168,76,0.12);
  --text-primary:#f0ece0;
  --text-secondary:#9490a0;
  --text-muted:  #4e4a5c;
  --green:       #2ecc71;
  --red:         #e74c3c;
  --orange:      #f39c12;
  --blue:        #3498db;
  --sidebar-w:   270px;
  --topbar-h:    60px;
  --radius:      12px;
  --radius-lg:   18px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 30px rgba(201,168,76,0.1);
  --transition:  all 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

/* ── SCROLLBAR ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── OVERLAY ─────────────────────────────────────────────────────── */
.overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 99;
  backdrop-filter: blur(2px);
}
.overlay.active { display: block; }

/* ── TOPBAR (mobile) ─────────────────────────────────────────────── */
.topbar {
  display: none;
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
}
.hamburger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: var(--transition);
}
.topbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--gold);
  display: flex; align-items: center; gap: 8px;
}
.topbar-icon { font-size: 1rem; }
.notif-dot {
  background: var(--red);
  color: #fff; font-size: 0.65rem; font-weight: 600;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── SIDEBAR ─────────────────────────────────────────────────────── */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  z-index: 101;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}

.sidebar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 200px;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.sidebar-header {
  padding: 28px 20px 22px;
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), #a07830);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #000;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.sidebar-hotel-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.0rem; font-weight: 600;
  color: var(--text-primary); line-height: 1.2;
}
.sidebar-stars { color: var(--gold); font-size: 0.65rem; letter-spacing: 2px; margin-top: 2px; }

.sidebar-nav {
  flex: 1; overflow-y: auto;
  padding: 16px 12px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.nav-section-label {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 2.5px;
  color: var(--text-muted); padding: 16px 10px 8px;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 10px;
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.88rem; font-weight: 400;
  transition: var(--transition); margin-bottom: 2px;
  position: relative;
}
.nav-item:hover {
  background: var(--gold-pale);
  color: var(--text-primary);
}
.nav-item.active {
  background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.06));
  color: var(--gold);
  font-weight: 500;
}
.nav-item.active::before {
  content: '';
  position: absolute; left: 0; top: 25%; bottom: 25%;
  width: 3px; background: var(--gold);
  border-radius: 0 2px 2px 0;
}
.nav-icon { font-size: 1rem; flex-shrink: 0; width: 20px; text-align: center; }

.sidebar-footer {
  padding: 16px 16px 20px;
  border-top: 1px solid var(--border);
}
.sidebar-user {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  background: var(--bg-surface);
}
.user-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), #a07830);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #000;
  flex-shrink: 0;
}
.user-name { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
.user-role { font-size: 0.7rem; color: var(--text-secondary); }

/* ── MAIN CONTENT ────────────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1; min-width: 0;
  padding: 32px 32px 48px;
  min-height: 100vh;
}

/* ── PAGE HEADER ─────────────────────────────────────────────────── */
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 600;
  color: var(--text-primary); line-height: 1.1;
}
.page-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-top: 5px; }
.page-header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.date-display {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 8px;
  background: var(--bg-surface); border: 1px solid var(--border-light);
  font-size: 0.82rem; color: var(--text-secondary);
}

/* ── STAT CARDS ──────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-bottom: 28px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--border); transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0; transition: var(--transition);
}
.stat-card:hover::after { opacity: 1; }
.stat-label { font-size: 0.75rem; font-weight: 500; color: var(--text-secondary); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 600;
  color: var(--text-primary); line-height: 1;
}
.stat-value.gold { color: var(--gold); }
.stat-sub { font-size: 0.78rem; color: var(--text-secondary); margin-top: 8px; }
.stat-change { display: inline-flex; align-items: center; gap: 3px; font-size: 0.75rem; font-weight: 500; }
.stat-change.up { color: var(--green); }
.stat-change.down { color: var(--red); }
.stat-icon {
  position: absolute; right: 20px; top: 20px;
  font-size: 1.8rem; opacity: 0.15;
}
.stat-progress {
  margin-top: 14px; height: 4px;
  background: var(--bg-elevated); border-radius: 2px; overflow: hidden;
}
.stat-progress-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; }

/* ── GRID LAYOUTS ────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 28px; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; margin-bottom: 28px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-bottom: 28px; }

/* ── CARDS ───────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-header {
  padding: 20px 24px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--text-primary);
}
.card-body { padding: 20px 24px 24px; }
.card-subtitle { font-size: 0.78rem; color: var(--text-secondary); margin-top: 2px; }

/* ── TABLE ───────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 12px 16px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  text-align: left; white-space: nowrap;
}
tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg-surface); }
tbody td {
  padding: 14px 16px;
  font-size: 0.85rem; color: var(--text-primary);
}
.td-muted { color: var(--text-secondary) !important; }

/* ── BADGE ───────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px;
  white-space: nowrap;
}
.badge-available   { background: rgba(46,204,113,0.12);  color: var(--green); }
.badge-occupied    { background: rgba(201,168,76,0.15);  color: var(--gold); }
.badge-reserved    { background: rgba(52,152,219,0.15);  color: var(--blue); }
.badge-maintenance { background: rgba(231,76,60,0.15);   color: var(--red); }
.badge-checkedin   { background: rgba(46,204,113,0.12);  color: var(--green); }
.badge-checkedout  { background: rgba(255,255,255,0.07); color: var(--text-secondary); }
.badge-vip         { background: linear-gradient(135deg,rgba(201,168,76,0.25),rgba(201,168,76,0.1)); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer; border: none; text-decoration: none;
  transition: var(--transition); white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a07830);
  color: #000; font-weight: 600;
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,168,76,0.3); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: var(--bg-surface); color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-elevated); color: var(--text-primary); }
.btn-sm { padding: 6px 14px; font-size: 0.78rem; }
.btn-danger { background: rgba(231,76,60,0.15); color: var(--red); border: 1px solid rgba(231,76,60,0.2); }
.btn-success { background: rgba(46,204,113,0.12); color: var(--green); border: 1px solid rgba(46,204,113,0.2); }

/* ── SEARCH / FILTER BAR ─────────────────────────────────────────── */
.filter-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.search-input-wrap { position: relative; flex: 1; min-width: 200px; max-width: 360px; }
.search-input-wrap::before {
  content: '🔍'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 0.85rem;
}
.search-input {
  width: 100%; padding: 10px 14px 10px 38px;
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: 8px; color: var(--text-primary); font-family: 'DM Sans';
  font-size: 0.85rem; outline: none; transition: var(--transition);
}
.search-input:focus { border-color: var(--border); box-shadow: 0 0 0 3px var(--gold-pale); }
.search-input::placeholder { color: var(--text-muted); }

select.filter-select {
  padding: 10px 14px;
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: 8px; color: var(--text-primary); font-family: 'DM Sans';
  font-size: 0.85rem; outline: none; cursor: pointer;
  appearance: none; min-width: 140px;
}
select.filter-select:focus { border-color: var(--border); }

/* ── ROOM GRID ───────────────────────────────────────────────────── */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 20px;
}
.room-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.room-card:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.room-img { width: 100%; height: 160px; object-fit: cover; }
.room-img-placeholder { width: 100%; height: 160px; background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.room-card-body { padding: 16px; }
.room-number { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--gold); }
.room-type { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 12px; }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.room-meta-item { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--text-secondary); background: var(--bg-surface); padding: 4px 8px; border-radius: 5px; }
.room-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-light); padding-top: 12px; margin-top: 12px; }
.room-rate { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--gold); font-weight: 600; }
.room-rate-label { font-size: 0.65rem; color: var(--text-muted); display: block; }

/* ── OCCUPANCY LEGEND ────────────────────────────────────────────── */
.occupancy-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-secondary); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.occupied { background: var(--gold); }
.legend-dot.available { background: var(--green); }
.legend-dot.reserved { background: var(--blue); }
.legend-dot.maintenance { background: var(--red); }

/* ── TIMELINE / QUICK STATS ──────────────────────────────────────── */
.quick-list { list-style: none; }
.quick-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--border-light);
  font-size: 0.84rem;
}
.quick-list li:last-child { border-bottom: none; }
.quick-item-left { display: flex; align-items: center; gap: 10px; }
.quick-avatar { width: 32px; height: 32px; border-radius: 8px; background: var(--gold-pale); border: 1px solid rgba(201,168,76,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--gold); flex-shrink: 0; }
.quick-name { font-weight: 500; color: var(--text-primary); }
.quick-room { font-size: 0.73rem; color: var(--text-secondary); }

/* ── CHART CONTAINER ─────────────────────────────────────────────── */
.chart-container { position: relative; }

/* ── MODAL ───────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity:0; transform:scale(0.95) translateY(10px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
.modal-header {
  padding: 24px 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--text-primary); }
.modal-close { background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 1.2rem; padding: 4px; transition: var(--transition); }
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 20px 24px 24px; }

/* ── FORM ────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.75rem; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 11px 14px;
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: 8px; color: var(--text-primary);
  font-family: 'DM Sans'; font-size: 0.88rem;
  outline: none; transition: var(--transition);
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-pale); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── PROGRESS BAR ────────────────────────────────────────────────── */
.progress-bar-wrap { height: 6px; background: var(--bg-elevated); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.progress-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* ── ALERT / NOTICE ──────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.alert-info { background: rgba(52,152,219,0.1); border: 1px solid rgba(52,152,219,0.2); color: var(--blue); }
.alert-success { background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.2); color: var(--green); }
.alert-warning { background: rgba(243,156,18,0.1); border: 1px solid rgba(243,156,18,0.2); color: var(--orange); }

/* ── INVOICE ─────────────────────────────────────────────────────── */
.invoice-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.invoice-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.invoice-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold); }
.invoice-id { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }
.invoice-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 0.88rem; }
.invoice-line:last-child { border-bottom: none; }
.invoice-total { display: flex; justify-content: space-between; padding: 16px 0 0; font-size: 1.1rem; font-weight: 600; color: var(--gold); }

/* ── CHECKIN PROCESS ─────────────────────────────────────────────── */
.steps { display: flex; gap: 0; margin-bottom: 32px; overflow-x: auto; }
.step {
  flex: 1; min-width: 120px; text-align: center; position: relative;
  padding-bottom: 24px;
}
.step::after {
  content: ''; position: absolute;
  top: 16px; left: 50%; width: 100%;
  height: 2px; background: var(--bg-elevated);
}
.step:last-child::after { display: none; }
.step.done::after { background: var(--gold); }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-elevated); border: 2px solid var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  margin: 0 auto 10px; position: relative; z-index: 1;
  transition: var(--transition);
}
.step.done .step-num { background: var(--gold); border-color: var(--gold); color: #000; }
.step.active .step-num { background: transparent; border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 4px var(--gold-pale); }
.step-label { font-size: 0.72rem; color: var(--text-secondary); }
.step.active .step-label, .step.done .step-label { color: var(--text-primary); }

/* ── REPORTS ─────────────────────────────────────────────────────── */
.metric-block {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 20px;
  display: flex; align-items: center; gap: 16px;
}
.metric-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-pale); border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.metric-value { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; color: var(--text-primary); line-height: 1; }
.metric-label { font-size: 0.75rem; color: var(--text-secondary); margin-top: 3px; }

/* ── DIVIDER ─────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border-light); margin: 20px 0; }
hr.gold { border-color: var(--border); margin: 16px 0; }

/* ── CHIP ────────────────────────────────────────────────────────── */
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; background: var(--bg-surface); border: 1px solid var(--border-light); color: var(--text-secondary); margin: 2px; }

/* ── EMPTY STATE ─────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 48px 24px; color: var(--text-secondary); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; opacity: 0.4; }
.empty-state h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--text-primary); margin-bottom: 6px; }

/* ── GUEST DETAIL ────────────────────────────────────────────────── */
.guest-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 20px;
  transition: var(--transition);
}
.guest-card:hover { border-color: var(--border); }
.guest-avatar {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: var(--gold);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-1-2 { grid-template-columns: 1fr; }
  .grid-2-1 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; padding-top: calc(var(--topbar-h) + 24px); }
  .topbar { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-content { padding: calc(var(--topbar-h) + 16px) 16px 32px; }
  .page-header { flex-direction: column; align-items: stretch; }
  .page-title { font-size: 1.7rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .main-content { padding: calc(var(--topbar-h) + 12px) 12px 24px; }
  .stats-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 1.5rem; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-input-wrap { max-width: 100%; }
}

/* ── ANIMATIONS ──────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }

/* ── PRINT ───────────────────────────────────────────────────────── */
@media print {
  .sidebar, .topbar, .btn, .filter-bar { display: none !important; }
  .main-content { margin: 0; padding: 0; }
  body { background: #fff; color: #000; }
  .card, .invoice-card { border: 1px solid #ddd; }
}
