/* =====================================================
   HOTEL LOS ROBLES — DASHBOARD CSS
   Luxury Dark Theme · Cormorant + DM Sans
   ===================================================== */

:root {
  --bg-0: #0a0a0c;
  --bg-1: #111116;
  --bg-2: #18181f;
  --bg-3: #22222c;
  --bg-4: #2d2d3a;

  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201, 168, 76, 0.15);

  --teal: #4ecdc4;
  --teal-dim: rgba(78, 205, 196, 0.12);

  --rose: #e07c7c;
  --rose-dim: rgba(224, 124, 124, 0.12);

  --purple: #9b82e8;
  --purple-dim: rgba(155, 130, 232, 0.12);

  --sage: #7cb98a;
  --sage-dim: rgba(124, 185, 138, 0.12);

  --text-0: #f5f4f0;
  --text-1: #c8c6be;
  --text-2: #888680;
  --text-3: #555450;

  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);

  --sidebar-w: 240px;
  --header-h: 60px;
  --radius: 12px;
  --radius-sm: 8px;

  --transition: 0.2s 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-0);
  color: var(--text-1);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* =================== SCROLLBAR =================== */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

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

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.brand-logo {
  width: 38px; height: 38px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.brand-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 600;
  color: var(--text-0);
  letter-spacing: 0.03em;
}

.brand-sub {
  display: block;
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1px;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
}

.nav-section-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  padding: 14px 10px 6px;
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-align: left;
  position: relative;
  margin-bottom: 1px;
}

.nav-item:hover {
  background: var(--bg-3);
  color: var(--text-0);
}

.nav-item.active {
  background: var(--gold-dim);
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
}

.nav-icon {
  font-size: 14px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  background: var(--bg-4);
  color: var(--text-1);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.nav-badge.urgent {
  background: var(--rose-dim);
  color: var(--rose);
  border: 1px solid rgba(224,124,124,0.3);
}

.sidebar-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

.hotel-info-mini {
  font-size: 11px;
  color: var(--text-3);
}

/* =================== MAIN =================== */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =================== HEADER =================== */
.top-header {
  height: var(--header-h);
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-left { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  background: none; border: none;
  color: var(--text-2); font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all var(--transition);
  display: none;
}

.menu-toggle:hover { color: var(--text-0); background: var(--bg-3); }

.breadcrumb {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--text-1);
}

.header-right { display: flex; align-items: center; gap: 16px; }

.header-time {
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.user-avatar {
  width: 32px; height: 32px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
}

.user-name {
  font-size: 12px;
  color: var(--text-1);
}

/* =================== CONTENT AREA =================== */
.content-area {
  flex: 1;
  padding: 28px 28px 40px;
  overflow-y: auto;
}

/* =================== SECTIONS =================== */
.section { display: none; }
.section.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  margin-bottom: 28px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--text-0);
  line-height: 1.2;
}

.section-title em {
  color: var(--gold);
  font-style: italic;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* =================== KPI CARDS =================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.kpi-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}

.kpi-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.kpi-accent-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.kpi-primary .kpi-accent-line { background: var(--sage); }
.kpi-gold .kpi-accent-line { background: var(--gold); }
.kpi-teal .kpi-accent-line { background: var(--teal); }
.kpi-rose .kpi-accent-line { background: var(--rose); }
.kpi-purple .kpi-accent-line { background: var(--purple); }
.kpi-dark .kpi-accent-line { background: var(--text-2); }

.kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 10px;
}

.kpi-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--text-0);
  line-height: 1;
  margin-bottom: 6px;
}

.kpi-detail {
  font-size: 11px;
  color: var(--text-2);
}

.kpi-icon {
  position: absolute;
  bottom: 16px; right: 18px;
  font-size: 28px;
  opacity: 0.1;
  color: var(--text-0);
}

/* =================== DASHBOARD GRID =================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dashboard-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.dashboard-card[style*="span 2"] {
  grid-column: span 2;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-0);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* =================== ROOMS STATUS GRID =================== */
.rooms-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.room-card-mini {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: all var(--transition);
  cursor: pointer;
}

.room-card-mini:hover { border-color: var(--border-hover); }

.room-card-mini.available { border-left: 3px solid var(--sage); }
.room-card-mini.occupied { border-left: 3px solid var(--gold); }
.room-card-mini.maintenance { border-left: 3px solid var(--rose); }
.room-card-mini.cleaning { border-left: 3px solid var(--teal); }

.room-mini-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text-0);
}

.room-mini-type {
  font-size: 10px;
  color: var(--text-3);
  text-transform: capitalize;
  margin-top: 2px;
}

.room-mini-status {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.available .room-mini-status { background: var(--sage-dim); color: var(--sage); }
.occupied .room-mini-status { background: var(--gold-dim); color: var(--gold); }
.maintenance .room-mini-status { background: var(--rose-dim); color: var(--rose); }
.cleaning .room-mini-status { background: var(--teal-dim); color: var(--teal); }

/* =================== DONUT CHART =================== */
.donut-chart-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-1);
}

.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-count {
  font-weight: 600;
  color: var(--text-0);
  margin-left: auto;
  padding-left: 12px;
}

/* =================== BAR CHART =================== */
.bar-chart-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-item {
  display: grid;
  grid-template-columns: 90px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.bar-label { color: var(--text-2); }

.bar-track {
  height: 6px;
  background: var(--bg-3);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

.bar-count { text-align: right; color: var(--text-1); font-weight: 500; }

/* =================== ACTIVITY FEED =================== */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.activity-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

.activity-item:last-child { border-bottom: none; }

.activity-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.activity-content { flex: 1; }
.activity-text { color: var(--text-1); line-height: 1.4; }
.activity-time { color: var(--text-3); font-size: 11px; margin-top: 2px; }

/* =================== TABLE CARD =================== */
.table-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.table-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.search-input {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-0);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  outline: none;
  width: 220px;
  transition: all var(--transition);
}

.search-input:focus {
  border-color: rgba(201,168,76,0.4);
  background: var(--bg-4);
}

.search-input::placeholder { color: var(--text-3); }

.filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
}

.chip:hover { color: var(--text-0); border-color: var(--border-hover); }

.chip.active {
  background: var(--gold-dim);
  border-color: rgba(201,168,76,0.4);
  color: var(--gold-light);
}

.table-scroll { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table thead tr {
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.data-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 500;
  white-space: nowrap;
}

.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-1);
  vertical-align: middle;
}

.data-table tbody tr:hover td { background: var(--bg-3); }
.data-table tbody tr:last-child td { border-bottom: none; }

.loading-cell {
  text-align: center;
  color: var(--text-3);
  padding: 40px !important;
  font-style: italic;
}

/* =================== STATUS BADGES =================== */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
  white-space: nowrap;
}

.badge-available, .badge-confirmed { background: var(--sage-dim); color: var(--sage); border: 1px solid rgba(124,185,138,0.25); }
.badge-occupied, .badge-checked-in { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(201,168,76,0.25); }
.badge-maintenance, .badge-cancelled { background: var(--rose-dim); color: var(--rose); border: 1px solid rgba(224,124,124,0.25); }
.badge-cleaning, .badge-pending { background: var(--teal-dim); color: var(--teal); border: 1px solid rgba(78,205,196,0.25); }
.badge-checked-out { background: var(--bg-4); color: var(--text-2); border: 1px solid var(--border); }
.badge-in-progress { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(155,130,232,0.25); }
.badge-completed { background: var(--sage-dim); color: var(--sage); border: 1px solid rgba(124,185,138,0.25); }
.badge-room { background: var(--gold-dim); color: var(--gold-light); }
.badge-venue { background: var(--purple-dim); color: var(--purple); }

.badge-high { background: rgba(224,124,124,0.2); color: var(--rose); }
.badge-medium { background: rgba(201,168,76,0.15); color: var(--gold); }
.badge-low { background: var(--bg-4); color: var(--text-2); }

.badge-info { background: var(--teal-dim); color: var(--teal); }
.badge-warning { background: rgba(201,168,76,0.15); color: var(--gold); }
.badge-success { background: var(--sage-dim); color: var(--sage); }
.badge-urgent { background: var(--rose-dim); color: var(--rose); }

/* =================== ACTION BUTTONS =================== */
.action-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  margin-right: 4px;
}

.action-btn:hover { color: var(--text-0); border-color: var(--border-hover); background: var(--bg-4); }
.action-btn.primary { border-color: rgba(201,168,76,0.35); color: var(--gold); }
.action-btn.primary:hover { background: var(--gold-dim); }
.action-btn.danger { border-color: rgba(224,124,124,0.3); color: var(--rose); }
.action-btn.danger:hover { background: var(--rose-dim); }
.action-btn.success { border-color: rgba(124,185,138,0.3); color: var(--sage); }
.action-btn.success:hover { background: var(--sage-dim); }

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.inline-form input[type="file"] {
  color: var(--text-1);
  font-size: 12px;
}

/* =================== SELECT IN TABLE =================== */
.status-select {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  transition: all var(--transition);
}

.status-select:focus { border-color: rgba(201,168,76,0.4); }

/* =================== MESSAGES =================== */
.messages-container {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.messages-list {
  display: flex;
  flex-direction: column;
}

.message-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background var(--transition);
}

.message-item:hover { background: var(--bg-3); }
.message-item:last-child { border-bottom: none; }

.message-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.message-avatar.guest { background: var(--gold-dim); color: var(--gold); }
.message-avatar.reception { background: var(--teal-dim); color: var(--teal); }

.message-content { flex: 1; }
.message-meta { display: flex; justify-content: space-between; margin-bottom: 4px; }
.message-name { font-size: 13px; font-weight: 500; color: var(--text-0); }
.message-room { font-size: 11px; color: var(--text-3); }
.message-time { font-size: 11px; color: var(--text-3); }
.message-text { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.message-unread { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 6px; }

/* =================== NOTIFICATIONS =================== */
.notifications-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notif-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all var(--transition);
}

.notif-item:hover { border-color: var(--border-hover); }
.notif-item.unread { border-left: 3px solid var(--gold); }

.notif-type-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.type-info .notif-type-icon { background: var(--teal-dim); }
.type-warning .notif-type-icon { background: rgba(201,168,76,0.15); }
.type-success .notif-type-icon { background: var(--sage-dim); }
.type-urgent .notif-type-icon { background: var(--rose-dim); }

.notif-content { flex: 1; }
.notif-title { font-size: 13px; font-weight: 500; color: var(--text-0); margin-bottom: 3px; }
.notif-message { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.notif-meta { font-size: 11px; color: var(--text-3); margin-top: 5px; }

/* =================== VENUES GRID =================== */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.venue-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.venue-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.venue-card-header {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
  padding: 20px;
  position: relative;
}

.venue-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--text-0);
}

.venue-price {
  font-size: 12px;
  color: var(--gold);
  margin-top: 4px;
}

.venue-card-body { padding: 16px 20px; }

.venue-stat {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-2);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}

.venue-stat:last-child { border-bottom: none; }
.venue-stat strong { color: var(--text-0); }

/* =================== REVIEWS GRID =================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.review-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}

.review-card:hover { border-color: var(--border-hover); }

.review-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-guest {
  font-weight: 500;
  color: var(--text-0);
  font-size: 14px;
}

.review-date { font-size: 11px; color: var(--text-3); margin-top: 2px; }

.review-comment {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-top: 10px;
  font-style: italic;
}

.review-actions { margin-top: 14px; display: flex; gap: 8px; }

.review-approved-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
}

/* =================== LOADING STATE =================== */
.loading-state {
  text-align: center;
  color: var(--text-3);
  font-style: italic;
  font-size: 13px;
  padding: 40px;
}

/* =================== TOAST =================== */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-0);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  max-width: 340px;
  animation: slideInRight 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.toast.success { border-left: 3px solid var(--sage); }
.toast.error { border-left: 3px solid var(--rose); }
.toast.info { border-left: 3px solid var(--teal); }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(30px); }
}

/* =================== MODAL =================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: scaleIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--text-0);
}

.modal-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-2);
  width: 30px; height: 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all var(--transition);
}

.modal-close:hover { color: var(--text-0); border-color: var(--border-hover); }

.modal-body {
  padding: 22px;
  overflow-y: auto;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-item { display: flex; flex-direction: column; gap: 3px; }
.detail-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }
.detail-value { font-size: 13px; color: var(--text-0); }

/* =================== MONEY FORMAT =================== */
.money {
  font-variant-numeric: tabular-nums;
  color: var(--gold-light);
}

/* =================== AMENITIES CHIPS =================== */
.amenity-chip {
  display: inline-block;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  margin: 2px;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .menu-toggle { display: block; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-card[style*="span 2"] { grid-column: span 2; }
}

@media (max-width: 600px) {
  .content-area { padding: 16px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-card[style*="span 2"] { grid-column: span 1; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}

/* =================== TYPE SERVICE ICONS =================== */
.type-room-service::before { content: '🍽️ '; }
.type-housekeeping::before { content: '🧹 '; }
.type-transport::before { content: '🚗 '; }
