/* ═══════════════════════════════════════════════════════════════
   Hotel CrewCore PMS — Design System "Hotel Pro"
   Sidebar icon-rail, premium dark theme, enterprise-grade UI
   v2.0 — Full rewrite
   ═══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════
   1. DESIGN TOKENS
   ══════════════════════════════════════ */
:root {
  /* ── Surface ── */
  --hc-bg: #0a0a0f;
  --hc-surface: #12121a;
  --hc-surface-hover: #1a1a26;
  --hc-surface-alt: #0f0f17;
  --hc-border: #1e1e2e;
  --hc-border-subtle: rgba(255, 255, 255, 0.06);

  /* ── Text ── */
  --hc-text: #f0f0f5;
  --hc-text-secondary: #9898aa;
  --hc-muted: #5a5a72;

  /* ── Brand Accent (Hotel Gold) ── */
  --hc-accent: #d4a853;
  --hc-accent-hover: #c99a40;
  --hc-accent-rgb: 212, 168, 83;
  --hc-accent-glow: rgba(212, 168, 83, 0.15);

  /* ── Secondary Accent (Teal) ── */
  --hc-accent2: #2dd4bf;
  --hc-accent2-rgb: 45, 212, 191;

  /* ── Semantic ── */
  --hc-success: #22c55e;
  --hc-success-rgb: 34, 197, 94;
  --hc-danger: #ef4444;
  --hc-danger-rgb: 239, 68, 68;
  --hc-warning: #f59e0b;
  --hc-warning-rgb: 245, 158, 11;
  --hc-info: #3b82f6;
  --hc-info-rgb: 59, 130, 246;

  /* ── Radius ── */
  --hc-radius-xs: 6px;
  --hc-radius-sm: 8px;
  --hc-radius-md: 12px;
  --hc-radius-lg: 16px;
  --hc-radius-xl: 20px;
  --hc-radius-full: 999px;

  /* ── Shadows ── */
  --hc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --hc-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.3);
  --hc-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  --hc-shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.5);
  --hc-shadow-accent: 0 4px 20px rgba(var(--hc-accent-rgb), 0.25);

  /* ── Glass ── */
  --hc-glass: rgba(18, 18, 26, 0.75);
  --hc-glass-border: rgba(255, 255, 255, 0.08);
  --hc-glass-blur: 20px;

  /* ── Layout ── */
  --hc-sidebar-width: 68px;
  --hc-sidebar-expanded: 240px;
  --hc-topbar-height: 56px;
  --hc-gap: 16px;

  /* ── Transitions ── */
  --hc-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --hc-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Typography ── */
  --hc-font: 'Inter', system-ui, -apple-system, sans-serif;
  --hc-font-display: 'Outfit', system-ui, sans-serif;
}

/* ══════════════════════════════════════
   2. RESET & BASE
   ══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--hc-font);
  color: var(--hc-text);
  background: var(--hc-bg);
  --bs-body-color: var(--hc-text);
  --bs-body-bg: var(--hc-bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(var(--hc-accent-rgb), 0.3);
  color: var(--hc-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hc-font-display);
  font-weight: 600;
  color: var(--hc-text);
}

a { color: var(--hc-accent); text-decoration: none; }
a:hover { color: var(--hc-accent-hover); }

/* ══════════════════════════════════════
   3. SIDEBAR (Icon Rail)
   ══════════════════════════════════════ */
.hc-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--hc-sidebar-width);
  height: 100vh;
  background: var(--hc-surface);
  border-right: 1px solid var(--hc-border);
  display: flex;
  flex-direction: column;
  z-index: 1050;
  transition: width var(--hc-transition-slow);
  overflow: hidden;
}

.hc-sidebar:hover {
  width: var(--hc-sidebar-expanded);
  box-shadow: var(--hc-shadow-xl);
}

.hc-sidebar-brand {
  height: var(--hc-topbar-height);
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--hc-border);
  gap: 12px;
  min-height: var(--hc-topbar-height);
  flex-shrink: 0;
}

.hc-sidebar-brand-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, var(--hc-accent), var(--hc-accent-hover));
  border-radius: var(--hc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #000;
  font-weight: 700;
}

.hc-sidebar-brand-text {
  font-family: var(--hc-font-display);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--hc-transition);
}

.hc-sidebar:hover .hc-sidebar-brand-text { opacity: 1; }

.hc-sidebar-nav {
  flex: 1;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  overflow-x: hidden;
}

.hc-sidebar-nav::-webkit-scrollbar { width: 3px; }
.hc-sidebar-nav::-webkit-scrollbar-thumb { background: var(--hc-border); border-radius: 10px; }

.hc-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--hc-radius-sm);
  color: var(--hc-text-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--hc-transition);
  position: relative;
}

.hc-nav-link:hover {
  background: var(--hc-surface-hover);
  color: var(--hc-text);
}

.hc-nav-link.active {
  background: rgba(var(--hc-accent-rgb), 0.12);
  color: var(--hc-accent);
}

.hc-nav-link.active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--hc-accent);
  border-radius: 0 4px 4px 0;
}

.hc-nav-link i {
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}

.hc-nav-label {
  opacity: 0;
  transition: opacity var(--hc-transition);
}

.hc-sidebar:hover .hc-nav-label { opacity: 1; }

.hc-nav-divider {
  height: 1px;
  background: var(--hc-border);
  margin: 8px 12px;
}

.hc-sidebar-footer {
  padding: 12px 8px;
  border-top: 1px solid var(--hc-border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   4. TOPBAR
   ══════════════════════════════════════ */
.hc-topbar {
  position: fixed;
  top: 0;
  left: var(--hc-sidebar-width);
  right: 0;
  height: var(--hc-topbar-height);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(var(--hc-glass-blur));
  -webkit-backdrop-filter: blur(var(--hc-glass-blur));
  border-bottom: 1px solid var(--hc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1040;
  transition: left var(--hc-transition-slow);
}

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

.hc-topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--hc-text-secondary);
}

.hc-topbar-breadcrumb .current {
  color: var(--hc-text);
  font-weight: 600;
}

.hc-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hc-topbar-search {
  position: relative;
}

.hc-topbar-search input {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-full);
  padding: 6px 16px 6px 36px;
  color: var(--hc-text);
  font-size: 13px;
  width: 200px;
  transition: all var(--hc-transition);
}

.hc-topbar-search input::placeholder { color: var(--hc-muted); }
.hc-topbar-search input:focus {
  outline: none;
  border-color: var(--hc-accent);
  width: 280px;
  box-shadow: 0 0 0 3px rgba(var(--hc-accent-rgb), 0.1);
}

.hc-topbar-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hc-muted);
  font-size: 14px;
}

.hc-topbar-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--hc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hc-text-secondary);
  transition: all var(--hc-transition);
  cursor: pointer;
  position: relative;
  background: transparent;
  border: none;
}

.hc-topbar-icon:hover {
  background: var(--hc-surface-hover);
  color: var(--hc-text);
}

.hc-topbar-icon .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--hc-danger);
  border-radius: 50%;
  border: 2px solid var(--hc-bg);
}

/* ── Avatar ── */
.hc-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: var(--hc-radius-full);
  background: linear-gradient(135deg, var(--hc-accent), var(--hc-accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
}

.hc-avatar-lg {
  width: 44px;
  height: 44px;
  min-width: 44px;
  font-size: 16px;
}

/* ══════════════════════════════════════
   5. MAIN CONTENT AREA
   ══════════════════════════════════════ */
.hc-shell {
  display: flex;
  min-height: 100vh;
}

.hc-main {
  margin-left: var(--hc-sidebar-width);
  margin-top: var(--hc-topbar-height);
  padding: var(--hc-gap) 24px 24px;
  flex: 1;
  min-width: 0;
  transition: margin-left var(--hc-transition-slow);
}

/* ══════════════════════════════════════
   6. CARDS
   ══════════════════════════════════════ */
.hc-card {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-md);
  padding: 20px;
  position: relative;
  transition: all var(--hc-transition);
}

.hc-card:hover {
  border-color: rgba(var(--hc-accent-rgb), 0.2);
  transform: translateY(-2px);
  box-shadow: var(--hc-shadow-md);
}

.hc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hc-border);
}

.hc-card-title {
  font-family: var(--hc-font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--hc-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-card-title i {
  color: var(--hc-accent);
  font-size: 18px;
}

/* ── Module cards (dashboard) ── */
.hc-module {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--hc-transition);
  text-decoration: none;
  color: var(--hc-text);
  position: relative;
  overflow: hidden;
}

.hc-module::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--hc-transition);
}

.hc-module:hover::before {
  background: linear-gradient(135deg, var(--hc-accent), var(--hc-accent2));
  opacity: 1;
}

.hc-module:hover {
  transform: translateY(-4px);
  box-shadow: var(--hc-shadow-lg);
  color: var(--hc-text);
}

.hc-module-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--hc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all var(--hc-transition);
}

.hc-module:hover .hc-module-icon { transform: scale(1.1); }

.hc-module-label {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* ══════════════════════════════════════
   7. KPI CARDS
   ══════════════════════════════════════ */
.hc-kpi {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--hc-transition);
}

.hc-kpi:hover {
  border-color: rgba(var(--hc-accent-rgb), 0.2);
  box-shadow: var(--hc-shadow-sm);
}

.hc-kpi-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--hc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hc-kpi-icon.accent { background: rgba(var(--hc-accent-rgb), 0.12); color: var(--hc-accent); }
.hc-kpi-icon.success { background: rgba(var(--hc-success-rgb), 0.12); color: var(--hc-success); }
.hc-kpi-icon.info { background: rgba(var(--hc-info-rgb), 0.12); color: var(--hc-info); }
.hc-kpi-icon.warning { background: rgba(var(--hc-warning-rgb), 0.12); color: var(--hc-warning); }
.hc-kpi-icon.danger { background: rgba(var(--hc-danger-rgb), 0.12); color: var(--hc-danger); }

.hc-kpi-content { flex: 1; min-width: 0; }

.hc-kpi-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--hc-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.hc-kpi-value {
  font-family: var(--hc-font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--hc-text);
}

.hc-kpi-trend {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.hc-kpi-trend.up { color: var(--hc-success); }
.hc-kpi-trend.down { color: var(--hc-danger); }

/* ══════════════════════════════════════
   8. TABLES
   ══════════════════════════════════════ */
.hc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.hc-table th {
  background: var(--hc-surface-alt);
  color: var(--hc-text-secondary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hc-border);
  white-space: nowrap;
}

.hc-table th:first-child { border-radius: var(--hc-radius-sm) 0 0 0; }
.hc-table th:last-child { border-radius: 0 var(--hc-radius-sm) 0 0; }

.hc-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hc-border-subtle);
  font-size: 14px;
  vertical-align: middle;
}

.hc-table tbody tr {
  transition: background var(--hc-transition);
}

.hc-table tbody tr:hover {
  background: var(--hc-surface-hover);
}

.hc-table tbody tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════
   9. BUTTONS
   ══════════════════════════════════════ */
.hc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: var(--hc-radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--hc-transition);
  white-space: nowrap;
  font-family: var(--hc-font);
}

.hc-btn-primary {
  background: linear-gradient(135deg, var(--hc-accent), var(--hc-accent-hover));
  color: #000;
  border: none;
}
.hc-btn-primary:hover {
  box-shadow: var(--hc-shadow-accent);
  transform: translateY(-1px);
}

.hc-btn-ghost {
  background: transparent;
  color: var(--hc-text-secondary);
  border: 1px solid var(--hc-border);
}
.hc-btn-ghost:hover {
  background: var(--hc-surface-hover);
  color: var(--hc-text);
  border-color: var(--hc-border-subtle);
}

.hc-btn-success { background: var(--hc-success); color: #fff; }
.hc-btn-danger { background: var(--hc-danger); color: #fff; }
.hc-btn-sm { padding: 5px 12px; font-size: 12px; }

.hc-btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hc-radius-sm);
  background: transparent;
  color: var(--hc-text-secondary);
  border: 1px solid var(--hc-border);
  cursor: pointer;
  transition: all var(--hc-transition);
}

.hc-btn-icon:hover {
  background: var(--hc-surface-hover);
  color: var(--hc-text);
}

/* ══════════════════════════════════════
   10. FORMS
   ══════════════════════════════════════ */
.hc-form-control {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-sm);
  padding: 10px 14px;
  color: var(--hc-text);
  font-size: 14px;
  width: 100%;
  transition: all var(--hc-transition);
  font-family: var(--hc-font);
}

.hc-form-control::placeholder { color: var(--hc-muted); }

.hc-form-control:focus {
  outline: none;
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 3px rgba(var(--hc-accent-rgb), 0.1);
}

.hc-form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--hc-text-secondary);
  margin-bottom: 6px;
  display: block;
}

.hc-form-select {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-sm);
  padding: 10px 14px;
  color: var(--hc-text);
  font-size: 14px;
  width: 100%;
  transition: all var(--hc-transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239898aa'%3E%3Cpath d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.hc-form-select:focus {
  outline: none;
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 3px rgba(var(--hc-accent-rgb), 0.1);
}

/* ══════════════════════════════════════
   11. BADGES & STATUS
   ══════════════════════════════════════ */
.hc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--hc-radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hc-badge-success { background: rgba(var(--hc-success-rgb), 0.12); color: var(--hc-success); }
.hc-badge-danger { background: rgba(var(--hc-danger-rgb), 0.12); color: var(--hc-danger); }
.hc-badge-warning { background: rgba(var(--hc-warning-rgb), 0.12); color: var(--hc-warning); }
.hc-badge-info { background: rgba(var(--hc-info-rgb), 0.12); color: var(--hc-info); }
.hc-badge-accent { background: rgba(var(--hc-accent-rgb), 0.12); color: var(--hc-accent); }
.hc-badge-muted { background: rgba(255,255,255,0.06); color: var(--hc-text-secondary); }

.hc-badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ══════════════════════════════════════
   12. MODALS
   ══════════════════════════════════════ */
.modal-content {
  background: var(--hc-surface) !important;
  border: 1px solid var(--hc-border) !important;
  border-radius: var(--hc-radius-lg) !important;
  box-shadow: var(--hc-shadow-xl) !important;
}

.modal-header {
  border-bottom: 1px solid var(--hc-border) !important;
  padding: 16px 20px !important;
}

.modal-footer {
  border-top: 1px solid var(--hc-border) !important;
  padding: 12px 20px !important;
}

.modal-title {
  font-family: var(--hc-font-display) !important;
  font-weight: 600 !important;
}

.btn-close { filter: invert(1); }

/* ══════════════════════════════════════
   13. DROPDOWNS
   ══════════════════════════════════════ */
.dropdown-menu {
  background: var(--hc-surface) !important;
  border: 1px solid var(--hc-border) !important;
  border-radius: var(--hc-radius-md) !important;
  box-shadow: var(--hc-shadow-lg) !important;
  padding: 6px !important;
}

.dropdown-item {
  border-radius: var(--hc-radius-xs) !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  color: var(--hc-text-secondary) !important;
  transition: all var(--hc-transition) !important;
}

.dropdown-item:hover {
  background: var(--hc-surface-hover) !important;
  color: var(--hc-text) !important;
}

.dropdown-divider { border-color: var(--hc-border) !important; }

/* ══════════════════════════════════════
   14. SCROLLBAR
   ══════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--hc-border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--hc-muted); }

/* ══════════════════════════════════════
   15. CHARTS CONTAINER
   ══════════════════════════════════════ */
.hc-chart-container {
  position: relative;
  height: 300px;
  padding: 16px 0;
}

/* ══════════════════════════════════════
   16. TABS (Bootstrap override)
   ══════════════════════════════════════ */
.nav-tabs { border-bottom: 1px solid var(--hc-border); }

.nav-tabs .nav-link {
  color: var(--hc-text-secondary);
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--hc-transition);
  position: relative;
}

.nav-tabs .nav-link:hover { color: var(--hc-text); border: none; }

.nav-tabs .nav-link.active {
  color: var(--hc-accent);
  background: transparent;
  border: none;
}

.nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hc-accent);
  border-radius: 2px 2px 0 0;
}

/* ══════════════════════════════════════
   17. ALERTS (Bootstrap override)
   ══════════════════════════════════════ */
.alert {
  border-radius: var(--hc-radius-md);
  border: 1px solid;
  font-size: 14px;
}

/* ══════════════════════════════════════
   18. PAGE HEADER
   ══════════════════════════════════════ */
.hc-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.hc-page-title {
  font-family: var(--hc-font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--hc-text);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.hc-page-title i { color: var(--hc-accent); }

/* ══════════════════════════════════════
   19. EMPTY STATES
   ══════════════════════════════════════ */
.hc-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--hc-muted);
}

.hc-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  opacity: 0.4;
}

/* ══════════════════════════════════════
   20. HOUSEKEEPING GRID
   ══════════════════════════════════════ */
.hc-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.hc-room-cell {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-md);
  padding: 16px;
  text-align: center;
  transition: all var(--hc-transition);
  cursor: pointer;
}

.hc-room-cell:hover { transform: translateY(-2px); box-shadow: var(--hc-shadow-md); }

.hc-room-cell.clean { border-left: 3px solid var(--hc-success); }
.hc-room-cell.dirty { border-left: 3px solid var(--hc-danger); }
.hc-room-cell.cleaning { border-left: 3px solid var(--hc-warning); }
.hc-room-cell.maintenance { border-left: 3px solid var(--hc-info); }
.hc-room-cell.blocked { border-left: 3px solid var(--hc-muted); }

.hc-room-number {
  font-family: var(--hc-font-display);
  font-size: 20px;
  font-weight: 700;
}

.hc-room-type {
  font-size: 11px;
  color: var(--hc-text-secondary);
  margin-top: 4px;
}

/* ══════════════════════════════════════
   21. STAT CARDS (mini)
   ══════════════════════════════════════ */
.hc-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-sm);
}

.hc-stat-value {
  font-family: var(--hc-font-display);
  font-size: 20px;
  font-weight: 700;
}

.hc-stat-label {
  font-size: 12px;
  color: var(--hc-text-secondary);
}

/* ══════════════════════════════════════
   22. LOGIN PAGE
   ══════════════════════════════════════ */
.hc-login-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hc-bg);
}

.hc-login-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hc-login-aurora {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hc-login-aurora span {
  position: absolute;
  width: 200%;
  height: 180px;
  left: -50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: aurora 8s ease-in-out infinite alternate;
}

.hc-login-aurora span:nth-child(1) { top: 15%; background: var(--hc-accent); animation-delay: 0s; }
.hc-login-aurora span:nth-child(2) { top: 40%; background: var(--hc-accent2); animation-delay: 2s; }
.hc-login-aurora span:nth-child(3) { top: 65%; background: #8b5cf6; animation-delay: 4s; }

@keyframes aurora {
  0% { transform: translateX(-10%) rotate(-1deg); opacity: 0.1; }
  100% { transform: translateX(10%) rotate(1deg); opacity: 0.2; }
}

.hc-login-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  background: var(--hc-glass);
  backdrop-filter: blur(var(--hc-glass-blur));
  -webkit-backdrop-filter: blur(var(--hc-glass-blur));
  border: 1px solid var(--hc-glass-border);
  border-radius: var(--hc-radius-xl);
  padding: 40px 36px;
  box-shadow: var(--hc-shadow-xl);
  transition: transform 0.1s ease-out;
}

.hc-login-logo {
  text-align: center;
  margin-bottom: 8px;
}

.hc-login-logo-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--hc-accent), var(--hc-accent-hover));
  border-radius: var(--hc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #000;
  box-shadow: var(--hc-shadow-accent);
}

.hc-login-title {
  font-family: var(--hc-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--hc-text);
  margin-bottom: 4px;
}

.hc-login-typed {
  color: var(--hc-accent);
  min-height: 22px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 24px;
}

.hc-typed-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--hc-accent);
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.hc-login-form .form-group { margin-bottom: 16px; }

.hc-login-form .hc-form-control {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 16px;
  font-size: 14px;
}

.hc-login-submit {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--hc-accent), var(--hc-accent-hover));
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--hc-radius-sm);
  cursor: pointer;
  transition: all var(--hc-transition);
  font-family: var(--hc-font);
}

.hc-login-submit:hover {
  box-shadow: var(--hc-shadow-accent);
  transform: translateY(-1px);
}

.hc-login-badge {
  text-align: center;
  margin-top: 20px;
  font-size: 11px;
  color: var(--hc-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hc-login-badge .shimmer {
  background: linear-gradient(90deg, var(--hc-muted), var(--hc-accent), var(--hc-muted));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s infinite;
}

@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.hc-login-clock {
  text-align: center;
  margin-top: 16px;
  font-family: var(--hc-font-display);
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--hc-accent), var(--hc-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* ══════════════════════════════════════
   23. FULLCALENDAR OVERRIDES
   ══════════════════════════════════════ */
.fc { font-family: var(--hc-font) !important; }
.fc .fc-toolbar-title { font-family: var(--hc-font-display) !important; font-weight: 600 !important; }
.fc .fc-button { background: var(--hc-surface) !important; border: 1px solid var(--hc-border) !important; color: var(--hc-text) !important; border-radius: var(--hc-radius-sm) !important; font-size: 13px !important; }
.fc .fc-button:hover { background: var(--hc-surface-hover) !important; }
.fc .fc-button-active { background: rgba(var(--hc-accent-rgb), 0.15) !important; color: var(--hc-accent) !important; }
.fc .fc-daygrid-day { border-color: var(--hc-border) !important; }
.fc .fc-col-header-cell { background: var(--hc-surface-alt) !important; border-color: var(--hc-border) !important; }
.fc .fc-scrollgrid { border-color: var(--hc-border) !important; }
.fc .fc-event { border-radius: var(--hc-radius-xs) !important; border: none !important; font-size: 12px !important; }

/* ══════════════════════════════════════
   24. ANIMATIONS
   ══════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }
.animate-in:nth-child(6) { animation-delay: 0.3s; }

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* ══════════════════════════════════════
   25. RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 991px) {
  .hc-sidebar {
    transform: translateX(-100%);
    width: var(--hc-sidebar-expanded) !important;
    z-index: 1060;
  }

  .hc-sidebar.show {
    transform: translateX(0);
    box-shadow: var(--hc-shadow-xl);
  }

  .hc-sidebar.show .hc-nav-label,
  .hc-sidebar.show .hc-sidebar-brand-text { opacity: 1; }

  .hc-topbar { left: 0; }
  .hc-main { margin-left: 0; }

  .hc-mobile-toggle {
    display: flex !important;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-sm);
    color: var(--hc-text);
    cursor: pointer;
    font-size: 18px;
  }

  .hc-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    transition: all var(--hc-transition);
  }

  .hc-sidebar-overlay.show { opacity: 1; visibility: visible; }
}

@media (min-width: 992px) {
  .hc-mobile-toggle { display: none !important; }
  .hc-sidebar-overlay { display: none !important; }
}

@media (max-width: 767px) {
  .hc-main { padding: var(--hc-gap) 16px; }
  .hc-page-title { font-size: 20px; }
  .hc-kpi-value { font-size: 22px; }
  .hc-topbar-search { display: none; }
}

/* ══════════════════════════════════════
   26. UTILITIES
   ══════════════════════════════════════ */
.text-accent { color: var(--hc-accent) !important; }
.text-muted-hc { color: var(--hc-muted) !important; }
.bg-surface { background: var(--hc-surface) !important; }
.bg-surface-alt { background: var(--hc-surface-alt) !important; }
.border-hc { border-color: var(--hc-border) !important; }
.rounded-hc { border-radius: var(--hc-radius-md) !important; }
.font-display { font-family: var(--hc-font-display) !important; }
.gap-hc { gap: var(--hc-gap); }

/* BS form overrides for dark theme */
.form-control, .form-select {
  background-color: var(--hc-surface) !important;
  border-color: var(--hc-border) !important;
  color: var(--hc-text) !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--hc-accent) !important;
  box-shadow: 0 0 0 3px rgba(var(--hc-accent-rgb), 0.1) !important;
}
.form-label { color: var(--hc-text-secondary) !important; font-size: 13px !important; }
.form-text { color: var(--hc-muted) !important; }

/* BS table override */
.table { --bs-table-bg: transparent; --bs-table-hover-bg: var(--hc-surface-hover); }
.table > :not(caption) > * > * { border-bottom-color: var(--hc-border-subtle); color: var(--hc-text); }
.table thead th { background: var(--hc-surface-alt); color: var(--hc-text-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

/* BS card override */
.card { background: var(--hc-surface) !important; border-color: var(--hc-border) !important; border-radius: var(--hc-radius-md) !important; }
.card-header { background: var(--hc-surface-alt) !important; border-color: var(--hc-border) !important; }

/* BS pagination override */
.page-link { background: var(--hc-surface); border-color: var(--hc-border); color: var(--hc-text-secondary); }
.page-link:hover { background: var(--hc-surface-hover); color: var(--hc-text); }
.page-item.active .page-link { background: var(--hc-accent); border-color: var(--hc-accent); color: #000; }
