/* ============================================================
   SHIPLY — Logistics & Delivery Admin
   Dark theme · Black + Gold premium color scheme
   ============================================================ */

:root {
  /* Black base palette */
  --bg-base: #0a0a0b;
  --bg-soft: #0f0f11;
  --bg-card: #141416;
  --bg-card-2: #1a1a1e;
  --bg-elev: #1f1f24;
  --bg-overlay: rgba(10, 10, 11, 0.85);

  /* Border palette */
  --border-base: #232328;
  --border-soft: #1c1c20;
  --border-strong: #2e2e34;
  --border-gold: rgba(212, 168, 81, 0.22);

  /* Gold palette */
  --gold: #d4a851;
  --gold-2: #e8c47a;
  --gold-3: #f3d489;
  --gold-deep: #b58a3a;
  --gold-dark: #8a6928;
  --gold-soft: rgba(212, 168, 81, 0.12);
  --gold-glow: rgba(212, 168, 81, 0.25);

  /* Text palette */
  --text-primary: #f5f5f7;
  --text-secondary: #c8c8cd;
  --text-muted: #8a8a92;
  --text-faint: #5a5a62;

  /* Status palette */
  --success: #34d399;
  --success-bg: rgba(52, 211, 153, 0.12);
  --warning: #fbbf24;
  --warning-bg: rgba(251, 191, 36, 0.12);
  --danger: #f87171;
  --danger-bg: rgba(248, 113, 113, 0.12);
  --info: #60a5fa;
  --info-bg: rgba(96, 165, 250, 0.12);

  /* Sizes */
  --sidebar-w: 268px;
  --sidebar-w-collapsed: 80px;
  --topbar-h: 68px;

  /* Effects */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 28px -8px rgba(212, 168, 81, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-image:
    radial-gradient(ellipse 800px 400px at 10% 0%, rgba(212, 168, 81, 0.06), transparent 60%),
    radial-gradient(ellipse 1000px 500px at 90% 100%, rgba(212, 168, 81, 0.04), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}

::selection { background: var(--gold); color: #000; }

/* Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2a30; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* Utility: scrollable but with hidden scrollbar (still uses mouse wheel + touch) */
.scroll-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-hide::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Display utilities */
.font-display { font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: -0.015em; }
.text-gold { color: var(--gold); }
.text-gold-2 { color: var(--gold-2); }
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.bg-gold { background: var(--gold); }
.bg-card { background: var(--bg-card); }
.bg-card-2 { background: var(--bg-card-2); }
.border-gold { border-color: var(--gold) !important; }
.border-default { border-color: var(--border-base) !important; }

.gold-gradient-text {
  background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-gradient {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 50%, var(--gold-deep) 100%);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: linear-gradient(180deg, #0c0c0e 0%, #0a0a0b 100%);
  border-right: 1px solid var(--border-soft);
  overflow-y: auto;
  z-index: 40;
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold-soft) 20%, var(--gold-soft) 80%, transparent);
  pointer-events: none;
}

.sidebar-brand {
  padding: 22px 22px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  background: #0c0c0e;
  z-index: 5;
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1206;
  box-shadow: 0 4px 14px -4px var(--gold-glow);
  flex-shrink: 0;
}

.brand-text {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-tag {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sidebar-section {
  padding: 18px 14px 6px;
}

.sidebar-section-title {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0 10px 8px;
  font-weight: 600;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  margin: 1px 0;
  transition: all 0.18s ease;
  position: relative;
}

.sidebar-link:hover {
  background: rgba(212, 168, 81, 0.08);
  color: var(--gold-2);
}

.sidebar-link.active {
  background: linear-gradient(90deg, rgba(212, 168, 81, 0.16) 0%, rgba(212, 168, 81, 0.04) 100%);
  color: var(--gold);
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 22px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px var(--gold-glow);
}

.sidebar-link i { font-size: 16px; width: 18px; text-align: center; }

.sidebar-link .badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold);
  letter-spacing: 0.3px;
}

.sidebar-has-sub > .sidebar-link::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 9px;
  margin-left: auto;
  color: var(--text-faint);
  transition: transform 0.2s;
}

.sidebar-has-sub.open > .sidebar-link::after {
  transform: rotate(180deg);
  color: var(--gold);
}

.sidebar-submenu {
  list-style: none;
  padding: 4px 0 6px 32px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.sidebar-has-sub.open .sidebar-submenu {
  max-height: 1000px;
}

.sidebar-submenu .sidebar-link {
  font-size: 12.8px;
  padding: 7px 10px;
  color: var(--text-muted);
}

.sidebar-submenu .sidebar-link::before { display: none; }

.sidebar-submenu .sidebar-link.active {
  color: var(--gold);
  background: transparent;
}

.sidebar-submenu .sidebar-link:hover {
  color: var(--gold-2);
  background: transparent;
}

.sidebar-promo {
  margin: 18px 14px 18px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(212, 168, 81, 0.14), rgba(212, 168, 81, 0.04)), #0c0c0e;
  border: 1px solid var(--border-gold);
  position: sticky;
  bottom: 18px;
  z-index: 5;
  overflow: hidden;
}

/* ============================================================
   COLLAPSED SIDEBAR (desktop icon-only mode)
   Sidebar narrows to 80px, only icons visible. Menu still scrolls.
   Submenus render as fixed-position popouts via JS so they escape
   the sidebar's clip and flip upward near the viewport bottom.
   ============================================================ */
.app-shell.collapsed .sidebar {
  width: var(--sidebar-w-collapsed);
}

.app-shell.collapsed .main-wrapper {
  margin-left: var(--sidebar-w-collapsed);
  width: calc(100% - var(--sidebar-w-collapsed));
}

/* Brand: only show the mark, centered */
.app-shell.collapsed .sidebar-brand {
  justify-content: center;
  padding: 22px 8px 16px;
  gap: 0;
}
.app-shell.collapsed .sidebar-brand > div:not(.brand-mark) {
  display: none;
}

/* Section titles disappear */
.app-shell.collapsed .sidebar-section-title {
  display: none;
}
.app-shell.collapsed .sidebar-section {
  padding: 10px 12px 4px;
}

/* Link: icon-only, centered, square */
.app-shell.collapsed .sidebar-link {
  justify-content: center;
  padding: 0;
  width: 44px;
  height: 44px;
  margin: 2px auto;
  border-radius: 12px;
  gap: 0;
}
.app-shell.collapsed .sidebar-link i {
  font-size: 17px;
  width: auto;
}
.app-shell.collapsed .sidebar-link > span:not(.badge) {
  display: none;
}
.app-shell.collapsed .sidebar-link > .badge {
  display: none;
}
.app-shell.collapsed .sidebar-has-sub > .sidebar-link::after {
  display: none;
}

/* Active state in collapsed: filled tinted square (no rail) */
.app-shell.collapsed .sidebar-link.active::before {
  display: none;
}
.app-shell.collapsed .sidebar-link.active {
  background: linear-gradient(135deg, rgba(212, 168, 81, 0.22), rgba(212, 168, 81, 0.08));
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--border-gold), 0 0 18px -6px var(--gold-glow);
}

/* Promo hidden when collapsed */
.app-shell.collapsed .sidebar-promo {
  display: none;
}

/* Inline submenu hidden when collapsed (JS shows it as popout) */
.app-shell.collapsed .sidebar-submenu {
  max-height: 0;
  padding: 0;
  display: none;
}

/* Tooltip for collapsed sidebar items (only when no submenu pops out) */
.app-shell.collapsed .sidebar-has-sub:not(:hover) > .sidebar-link[data-tooltip] {
  position: relative;
}

/* Popout submenu rendered by JS — fixed-positioned, escapes sidebar clip.
   All critical properties use !important to defeat the higher-specificity
   .app-shell.collapsed .sidebar-submenu rule that hides inline submenus. */
.sidebar-submenu.popout {
  display: block !important;
  position: fixed !important;
  list-style: none !important;
  margin: 0 !important;
  min-width: 220px !important;
  max-height: 78vh !important;
  height: auto !important;
  background: linear-gradient(180deg, #141416 0%, #101012 100%) !important;
  border: 1px solid var(--border-base) !important;
  border-radius: 14px !important;
  padding: 10px 8px !important;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 168, 81, 0.08) !important;
  z-index: 100 !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
  animation: fadeIn 0.16s ease;
  visibility: visible !important;
  opacity: 1 !important;
}

.sidebar-submenu.popout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.sidebar-submenu.popout::-webkit-scrollbar {
  width: 6px;
  display: block;
}
.sidebar-submenu.popout::-webkit-scrollbar-thumb {
  background: var(--gold-deep);
  border-radius: 3px;
}

.sidebar-submenu.popout .sidebar-link {
  justify-content: flex-start;
  padding: 9px 12px;
  width: auto;
  height: auto;
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 8px;
  display: flex;
  gap: 10px;
}
.sidebar-submenu.popout .sidebar-link::before {
  content: '·';
  color: var(--text-faint);
  font-weight: 700;
  margin-right: 2px;
}
.sidebar-submenu.popout .sidebar-link:hover {
  background: rgba(212, 168, 81, 0.08);
  color: var(--gold-2);
}
.sidebar-submenu.popout .sidebar-link.active {
  background: var(--gold-soft);
  color: var(--gold);
}
.sidebar-submenu.popout .sidebar-link.active::before {
  color: var(--gold);
}
.sidebar-submenu.popout .sidebar-link > span:not(.badge) {
  display: inline;
}

/* Title shown at top of popout (auto-injected by JS from the parent link) */
.sidebar-submenu.popout > .popout-title {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 4px 12px 10px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-soft);
  margin: 0 0 6px;
  list-style: none;
}

.sidebar-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--gold-glow), transparent 60%);
  pointer-events: none;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.main-wrapper {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  min-height: 100vh;
  transition: margin-left 0.28s, width 0.28s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 18px;
}

.topbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 30%, var(--gold-soft) 70%, transparent);
  pointer-events: none;
}

.topbar-search {
  flex: 1;
  max-width: 440px;
  position: relative;
}

.topbar-search input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  color: var(--text-primary);
  padding: 10px 14px 10px 40px;
  border-radius: 12px;
  font-size: 13px;
  transition: all 0.18s ease;
  outline: none;
}

.topbar-search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  background: var(--bg-card-2);
}

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

.topbar-search kbd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-elev);
  color: var(--text-muted);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--border-base);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Mobile-only brand mark in the topbar (sits to the left of the menu icon) */
.topbar-brand-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  color: #1a1206;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 14px -4px var(--gold-glow);
  flex-shrink: 0;
}
.topbar-brand-mobile:hover { transform: translateY(-1px); }
@media (max-width: 1023px) {
  .topbar-brand-mobile { display: inline-flex; }
}

.topbar-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.18s ease;
}

.topbar-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--bg-card-2);
}

.topbar-btn .dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  box-shadow: 0 0 8px var(--gold-glow);
}

/* Topbar dropdown */
.dropdown {
  position: relative;
}

.dropdown-trigger { cursor: pointer; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: all 0.18s ease;
  z-index: 50;
}

.dropdown:hover > .dropdown-menu,
.dropdown.open > .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-bridge {
  position: absolute;
  height: 12px;
  left: 0;
  right: 0;
  top: -12px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  width: 100%;
  background: transparent;
  text-align: left;
}

.dropdown-item:hover {
  background: var(--gold-soft);
  color: var(--gold);
}

.dropdown-item.danger:hover {
  background: var(--danger-bg);
  color: var(--danger);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-base);
  margin: 6px 4px;
}

.dropdown-header {
  padding: 10px 12px 8px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}

.dropdown-menu.wide { min-width: 360px; }
.dropdown-menu.wider { min-width: 420px; }

/* Notif item */
.notif-item {
  display: flex;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.notif-item:hover {
  background: var(--bg-card-2);
}

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

.notif-content { flex: 1; min-width: 0; }
.notif-title { font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 2px; }
.notif-desc { font-size: 12px; color: var(--text-muted); }
.notif-time { font-size: 11px; color: var(--text-faint); margin-top: 4px; }

/* Avatar */
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-3), var(--gold-deep));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1206;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  position: relative;
}

.avatar.sm { width: 30px; height: 30px; font-size: 11px; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }
.avatar.xl { width: 80px; height: 80px; font-size: 24px; }
.avatar-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid var(--bg-base);
}

.avatar-status.away { background: var(--warning); }
.avatar-status.busy { background: var(--danger); }
.avatar-status.offline { background: var(--text-faint); }

/* ============================================================
   COMPONENTS
   ============================================================ */
.page-content {
  padding: 28px;
  max-width: 1640px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.015em;
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--text-faint); font-size: 10px; }

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

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

.card-luxe {
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border-base);
  position: relative;
}

.card-luxe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

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

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Stats card */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.22s ease;
}

.stat-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px var(--gold-glow);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--gold-soft), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 6px;
}

.stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.stat-trend.up { color: var(--success); background: var(--success-bg); }
.stat-trend.down { color: var(--danger); background: var(--danger-bg); }
.stat-trend.flat { color: var(--text-muted); background: var(--bg-elev); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  color: #1a1206;
  border-color: transparent;
}

.btn-gold:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold-soft);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-secondary);
  border-color: var(--border-base);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--bg-elev);
  color: var(--text-primary);
  border-color: var(--border-base);
}

.btn-dark:hover { background: var(--bg-card-2); border-color: var(--gold); }

.btn-icon { padding: 8px 10px; }
.btn-sm { padding: 7px 12px; font-size: 12px; }
.btn-lg { padding: 13px 24px; font-size: 14px; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.badge-gold { background: var(--gold-soft); color: var(--gold); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-dark { background: var(--bg-elev); color: var(--text-secondary); border: 1px solid var(--border-base); }

.badge-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.badge-dot.success { background: var(--success); box-shadow: 0 0 8px var(--success); }
.badge-dot.gold { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.badge-dot.danger { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.badge-dot.warning { background: var(--warning); box-shadow: 0 0 8px var(--warning); }

/* Tables */
.table-wrap {
  border: 1px solid var(--border-base);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

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

.table thead {
  background: var(--bg-card-2);
}

.table thead th {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--border-base);
  white-space: nowrap;
}

.table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-secondary);
  vertical-align: middle;
}

.table tbody tr {
  transition: background 0.15s ease;
}

.table tbody tr:hover {
  background: rgba(212, 168, 81, 0.04);
}

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

.table-compact td, .table-compact th { padding: 10px 14px; }

.table-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.table-link:hover { color: var(--gold-2); text-decoration: underline; }

.cell-meta { display: flex; align-items: center; gap: 10px; }

.cell-meta-text { display: flex; flex-direction: column; }
.cell-meta-title { color: var(--text-primary); font-weight: 500; font-size: 13px; }
.cell-meta-sub { color: var(--text-muted); font-size: 11.5px; }

/* Forms */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  color: var(--text-primary);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  transition: all 0.18s ease;
  outline: none;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-control::placeholder { color: var(--text-faint); }

textarea.form-control { min-height: 110px; resize: vertical; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4a851' d='M6 8.5L1.5 4h9L6 8.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
}

.form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.form-check input[type="radio"] { border-radius: 50%; }

.form-check input[type="checkbox"]:checked,
.form-check input[type="radio"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.form-check input[type="checkbox"]:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #1a1206;
  font-size: 11px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-check input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #1a1206;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}

.switch input { display: none; }

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--bg-elev);
  border-radius: 24px;
  transition: 0.2s;
  border: 1px solid var(--border-base);
}

.switch-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .switch-slider { background: var(--gold-soft); border-color: var(--gold); }
.switch input:checked + .switch-slider::before { transform: translateX(18px); background: var(--gold); }

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-base);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  position: relative;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.tab:hover { color: var(--text-secondary); }

.tab.active { color: var(--gold); }

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 12px var(--gold);
}

.tab .tab-count {
  display: inline-block;
  background: var(--bg-elev);
  color: var(--text-muted);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 10px;
  margin-left: 6px;
  font-weight: 600;
}

.tab.active .tab-count { background: var(--gold-soft); color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.25s ease; }

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

/* Pill tabs */
.pill-tabs {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  padding: 4px;
  border-radius: 12px;
  gap: 2px;
}

.pill-tab {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.pill-tab:hover { color: var(--text-secondary); }

.pill-tab.active {
  background: var(--gold-soft);
  color: var(--gold);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 26px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-soft), var(--border-base));
}

.timeline-item {
  position: relative;
  padding-bottom: 22px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 50%;
  z-index: 1;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline-dot.dim { border-color: var(--border-strong); }
.timeline-dot.dim::after { background: var(--text-faint); }

.timeline-time { font-size: 11.5px; color: var(--text-muted); margin-bottom: 4px; }
.timeline-title { font-size: 13.5px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.timeline-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* Progress */
.progress {
  background: var(--bg-elev);
  border-radius: 6px;
  height: 6px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: 6px;
  transition: width 0.4s ease;
}

.progress.success .progress-bar { background: linear-gradient(90deg, #16a34a, var(--success)); }
.progress.warning .progress-bar { background: linear-gradient(90deg, #d97706, var(--warning)); }
.progress.danger .progress-bar { background: linear-gradient(90deg, #dc2626, var(--danger)); }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-lg { max-width: 760px; }
.modal-xl { max-width: 1000px; }

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

.modal-body { padding: 24px; }

.modal-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border-base);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Map / map placeholder */
.map-canvas {
  background:
    linear-gradient(rgba(212, 168, 81, 0.04), rgba(212, 168, 81, 0.04)),
    repeating-linear-gradient(0deg, rgba(212, 168, 81, 0.05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(212, 168, 81, 0.05) 0 1px, transparent 1px 32px),
    radial-gradient(ellipse at 30% 40%, rgba(212, 168, 81, 0.1), transparent 40%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 168, 81, 0.06), transparent 50%),
    #0c0c0e;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
}

.map-route {
  position: absolute;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
  transform-origin: left center;
}

.map-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 16px var(--gold-glow);
}

.map-pin::after {
  content: '';
  position: absolute;
  bottom: -3px;
  width: 8px;
  height: 3px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  filter: blur(2px);
}

.map-pulse {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin-left: -12px;
  margin-top: -12px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

.map-overlay {
  position: absolute;
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-base);
  border-radius: 12px;
  padding: 14px 16px;
  z-index: 5;
}

/* Empty / illustration */
.empty-state {
  text-align: center;
  padding: 60px 24px;
}

.empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--gold-soft);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
}

/* Decorative quote */
.luxe-quote {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--gold-2);
  position: relative;
  padding-left: 26px;
}

.luxe-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
}

/* Auth */
.auth-shell {
  min-height: 100vh;
  display: flex;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

.auth-side {
  flex: 1;
  background:
    linear-gradient(135deg, rgba(212, 168, 81, 0.12), rgba(10, 10, 11, 0.4)),
    radial-gradient(circle at 30% 30%, rgba(212, 168, 81, 0.18), transparent 60%),
    linear-gradient(180deg, #1a1410, #0a0a0b);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-form-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.auth-form-card {
  max-width: 440px;
  width: 100%;
}

.auth-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.auth-link:hover { color: var(--gold-2); text-decoration: underline; }

/* Chip / tag */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border-base);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.chip.gold {
  background: var(--gold-soft);
  border-color: transparent;
  color: var(--gold);
}

.chip.removable {
  padding-right: 6px;
}

.chip-remove {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  cursor: pointer;
  border: none;
}

/* Utilities */
.divider-soft { height: 1px; background: var(--border-soft); margin: 16px 0; border: none; }
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 30%, var(--gold-soft) 70%, transparent);
  margin: 20px 0;
  border: none;
}

.bg-pattern-dots {
  background-image: radial-gradient(rgba(212, 168, 81, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

.kbd {
  background: var(--bg-elev);
  border: 1px solid var(--border-base);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10.5px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

/* Toast */
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-card);
  max-width: 360px;
}

.toast.success { border-left-color: var(--success); }
.toast.danger { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

/* Calendar */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-cell {
  aspect-ratio: 1;
  background: var(--bg-card-2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  border: 1px solid transparent;
}

.cal-cell:hover { border-color: var(--gold); color: var(--gold); }
.cal-cell.active { background: var(--gold); color: #1a1206; font-weight: 600; }
.cal-cell.muted { color: var(--text-faint); }
.cal-cell .cal-dot {
  position: absolute;
  bottom: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.cal-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.cal-head-cell {
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 8px 0;
  font-weight: 600;
}

/* Star rating */
.rating { display: inline-flex; gap: 2px; color: var(--gold); }
.rating .empty { color: var(--text-faint); }

/* Responsive */
/* Mobile drawer backdrop (injected by main.js) */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 39;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  display: none;
}
@media (max-width: 1023px) {
  .sidebar-backdrop { display: block; }
  .sidebar-backdrop.show {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-100%);
    will-change: transform;
  }
  .sidebar.show {
    transform: translateX(0);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
  }
  .main-wrapper {
    margin-left: 0;
    width: 100%;
  }
  .topbar { padding: 0 18px; }
  .page-content { padding: 20px; }
  /* Hide the gold "Unlock the full fleet" promo card on mobile sidebars */
  .sidebar-promo { display: none; }
}

@media (max-width: 640px) {
  .topbar-search { display: none; }
  .stat-value { font-size: 24px; }
  .page-title { font-size: 22px; }
}

/* ============================================================
   MOBILE GRID STACKING
   Force inline-style multi-column grids into a single column
   so each KPI / card / layout pane sits one per row on phones.
   Heatmap & calendar grids (7+ cols) are excluded so they stay
   readable as their original grid shape.
   ============================================================ */
@media (max-width: 768px) {
  /* KPI strips using auto-fit (repeat(auto-fit, minmax(...))) */
  [style*="repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
  }
  /* Two-column page layouts */
  [style*="2fr 1fr"],
  [style*="1fr 2fr"],
  [style*="1.4fr 1fr"],
  [style*="1.5fr 1fr"],
  [style*="1fr 1.4fr"],
  [style*="1fr 1.5fr"],
  [style*="1fr 1fr"],
  [style*="3fr 1fr"],
  [style*="1fr 3fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Fixed equal columns (3 / 4 / 5 / 6 col grids) */
  [style*="repeat(3,"],
  [style*="repeat(4,"],
  [style*="repeat(5,"],
  [style*="repeat(6,"] {
    grid-template-columns: 1fr !important;
  }
  /* Chat / split-panel 3-col layouts */
  [style*="300px 1fr 300px"],
  [style*="280px 1fr 280px"],
  [style*="260px 1fr 280px"] {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  /* Page header action row — let buttons wrap cleanly */
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-header > div:last-child {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* Helper grid spacing — works alongside Tailwind utilities */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
@media (max-width: 1023px) {
  .grid-12 { gap: 16px; }
}

/* Chart heights */
.chart-h-200 { height: 200px; }
.chart-h-260 { height: 260px; }
.chart-h-300 { height: 300px; }
.chart-h-340 { height: 340px; }
.chart-h-400 { height: 400px; }

/* Animation utilities */
.fade-in { animation: fadeIn 0.35s ease; }
.slide-up { animation: slideUp 0.35s ease; }

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

/* Glow effect */
.glow-gold {
  box-shadow: 0 0 30px -8px var(--gold-glow);
}

/* Premium section header */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 14px;
}

.section-head h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.section-head .section-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Print-only / display none on print is handled below */
@media print {
  .sidebar, .topbar, .no-print { display: none !important; }
  .main-wrapper { margin-left: 0; }
}
