  /* ====== ROOT VARIABLES ====== */
  :root {
      --sidebar-width: 260px;
      --header-height: 64px;
      --primary: #2563EB;
      --secondary: #06B6D4;
      --accent: #8B5CF6;
      --success: #10B981;
      --warning: #F59E0B;
      --danger: #EF4444;
  }

  /* ====== GLOBAL RESET ====== */
  *,
  *::before,
  *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
  }

  html {
      overflow-x: hidden;
      scroll-behavior: smooth;
  }

  body {
      font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
      background: #F1F5F9;
      color: #1e293b;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      min-height: 100vh;
  }

  /* ====== DARK MODE ====== */
  html.dark body {
      background: #0F172A;
      color: #E2E8F0;
  }

  /* ====== SCROLLBAR ====== */
  ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
  }

  ::-webkit-scrollbar-track {
      background: transparent;
  }

  ::-webkit-scrollbar-thumb {
      background: #CBD5E1;
      border-radius: 99px;
  }

  ::-webkit-scrollbar-thumb:hover {
      background: #94A3B8;
  }

  html.dark ::-webkit-scrollbar-thumb {
      background: #334155;
  }

  /* ====== SIDEBAR ====== */
  .sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: var(--sidebar-width);
      height: 100vh;
      background: #FFFFFF;
      border-right: 1px solid #E2E8F0;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      overflow: hidden;
  }

  html.dark .sidebar {
      background: #0F172A;
      border-right-color: #1E293B;
  }

  @media (max-width: 1023px) {
      .sidebar {
          transform: translateX(-100%);
      }

      .sidebar.open {
          transform: translateX(0);
      }
  }

  .sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      z-index: 999;
  }

  .sidebar-overlay.active {
      display: block;
  }

  /* Sidebar Nav */
  .nav-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 16px;
      border-radius: 10px;
      color: #64748B;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.15s ease;
      text-decoration: none;
      margin: 0 12px 2px;
  }

  .nav-item:hover {
      background: #F1F5F9;
      color: #334155;
  }

  html.dark .nav-item:hover {
      background: #1E293B;
      color: #E2E8F0;
  }

  .nav-item.active {
      background: #EFF6FF;
      color: #2563EB;
      font-weight: 600;
  }

  html.dark .nav-item.active {
      background: rgba(37, 99, 235, 0.15);
      color: #60A5FA;
  }

  .nav-item .nav-icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
  }

  .nav-group-title {
      font-size: 11px;
      font-weight: 700;
      color: #94A3B8;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 16px 28px 6px;
  }

  /* ====== HEADER ====== */
  .header {
      position: fixed;
      top: 0;
      left: var(--sidebar-width);
      right: 0;
      height: var(--header-height);
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid #E2E8F0;
      z-index: 900;
      display: flex;
      align-items: center;
      padding: 0 24px;
      transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  html.dark .header {
      background: rgba(15, 23, 42, 0.85);
      border-bottom-color: #1E293B;
  }

  @media (max-width: 1023px) {
      .header {
          left: 0;
      }
  }

  /* ====== MAIN CONTENT ====== */
  .main-content {
      margin-left: var(--sidebar-width);
      padding-top: var(--header-height);
      min-height: 100vh;
      transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @media (max-width: 1023px) {
      .main-content {
          margin-left: 0;
      }
  }

  /* ====== STAT CARDS — THE KEY FIX ====== */
  /*
      CRITICAL FIX:
      These cards have FIXED height via min-height.
      They do NOT use any transform, translateY, or scale on hover.
      They do NOT have any animation that changes their size.
      They stay PERFECTLY STATIC in place.
      Canvas elements inside have explicit pixel heights.
    */
  .stat-card {
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      border-radius: 16px;
      padding: 20px;
      position: relative;
      overflow: hidden;
      /* NO transform, NO transition on size, NO hover grow */
  }

  html.dark .stat-card {
      background: #1E293B;
      border-color: #334155;
  }

  /* Only shadow changes on hover — no size/position change */
  .stat-card:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  html.dark .stat-card:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* Decorative circle — absolutely positioned, doesn't affect layout */
  .stat-card .card-deco {
      position: absolute;
      top: -20px;
      right: -20px;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      opacity: 0.08;
      pointer-events: none;
  }

  /* ====== GENERAL CARD ====== */
  .card {
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      border-radius: 16px;
  }

  html.dark .card {
      background: #1E293B;
      border-color: #334155;
  }

  /* ====== ICON BOX ====== */
  .icon-box {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
  }

  /* ====== BADGE ====== */
  .badge {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      padding: 3px 10px;
      border-radius: 99px;
      font-size: 12px;
      font-weight: 600;
      white-space: nowrap;
  }

  /* ====== BUTTON ====== */
  .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 10px 18px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      border: none;
      font-family: inherit;
      transition: background 0.15s, box-shadow 0.15s;
  }

  .btn-primary {
      background: #2563EB;
      color: #fff;
  }

  .btn-primary:hover {
      background: #1D4ED8;
  }

  .btn-outline {
      background: #fff;
      color: #334155;
      border: 1px solid #E2E8F0;
  }

  html.dark .btn-outline {
      background: #1E293B;
      color: #E2E8F0;
      border-color: #334155;
  }

  .btn-outline:hover {
      background: #F8FAFC;
  }

  html.dark .btn-outline:hover {
      background: #334155;
  }

  /* ====== PROGRESS BAR ====== */
  .progress-bar {
      height: 6px;
      border-radius: 99px;
      background: #E2E8F0;
      overflow: hidden;
  }

  html.dark .progress-bar {
      background: #334155;
  }

  .progress-fill {
      height: 100%;
      border-radius: 99px;
      transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* ====== AVATAR ====== */
  .avatar {
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
  }

  /* ====== DROPDOWN ====== */
  .dropdown-menu {
      position: absolute;
      right: 0;
      top: calc(100% + 6px);
      min-width: 180px;
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      border-radius: 12px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
      z-index: 500;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-6px);
      transition: all 0.2s ease;
      overflow: hidden;
  }

  html.dark .dropdown-menu {
      background: #1E293B;
      border-color: #334155;
  }

  .dropdown-menu.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }

  .dropdown-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      font-size: 14px;
      color: #475569;
      cursor: pointer;
      transition: background 0.1s;
  }

  html.dark .dropdown-item {
      color: #CBD5E1;
  }

  .dropdown-item:hover {
      background: #F8FAFC;
  }

  html.dark .dropdown-item:hover {
      background: #334155;
  }

  /* ====== NOTIFICATION PANEL ====== */
  .notif-panel {
      position: absolute;
      right: 0;
      top: calc(100% + 6px);
      width: 340px;
      max-height: 400px;
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      border-radius: 14px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
      z-index: 500;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-6px);
      transition: all 0.2s ease;
      overflow: hidden;
  }

  html.dark .notif-panel {
      background: #1E293B;
      border-color: #334155;
  }

  .notif-panel.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }

  @media (max-width: 480px) {
      .notif-panel {
          width: calc(100vw - 32px);
          right: -60px;
      }
  }

  /* ====== MODAL ====== */
  .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s, visibility 0.2s;
  }

  .modal-backdrop.open {
      opacity: 1;
      visibility: visible;
  }

  .modal-box {
      width: 100%;
      max-width: 520px;
      max-height: 90vh;
      overflow-y: auto;
      background: #FFFFFF;
      border-radius: 20px;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
      transform: scale(0.95) translateY(10px);
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  html.dark .modal-box {
      background: #1E293B;
      border: 1px solid #334155;
  }

  .modal-backdrop.open .modal-box {
      transform: scale(1) translateY(0);
  }

  /* ====== TOAST ====== */
  .toast-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 10px;
  }

  .toast {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
      font-size: 14px;
      font-weight: 500;
      animation: toastIn 0.3s ease;
      max-width: 360px;
  }

  html.dark .toast {
      background: #1E293B;
      border-color: #334155;
  }

  @keyframes toastIn {
      from {
          opacity: 0;
          transform: translateX(40px);
      }

      to {
          opacity: 1;
          transform: translateX(0);
      }
  }

  /* ====== TABLE ====== */
  .data-table {
      width: 100%;
      border-collapse: collapse;
  }

  .data-table th {
      text-align: left;
      padding: 12px 16px;
      font-size: 11px;
      font-weight: 700;
      color: #94A3B8;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      border-bottom: 1px solid #E2E8F0;
  }

  html.dark .data-table th {
      border-bottom-color: #334155;
  }

  .data-table td {
      padding: 14px 16px;
      font-size: 14px;
      border-bottom: 1px solid #F1F5F9;
  }

  html.dark .data-table td {
      border-bottom-color: #1E293B;
  }

  .data-table tr:hover td {
      background: #F8FAFC;
  }

  html.dark .data-table tr:hover td {
      background: rgba(30, 41, 59, 0.5);
  }

  /* ====== WEATHER CARD ====== */
  .weather-card {
      background: linear-gradient(135deg, #2563EB, #0891B2);
      border-radius: 16px;
      color: #fff;
      position: relative;
      overflow: hidden;
  }

  .weather-card::before {
      content: '';
      position: absolute;
      top: -30px;
      right: -30px;
      width: 140px;
      height: 140px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 50%;
  }

  /* ====== HERO PROMO CARD ====== */
  .hero-card {
      background: linear-gradient(135deg, #2563EB, #7C3AED, #0891B2);
      border-radius: 16px;
      color: #fff;
      position: relative;
      overflow: hidden;
  }

  .hero-card::before {
      content: '';
      position: absolute;
      top: -40px;
      right: -20px;
      width: 200px;
      height: 200px;
      background: rgba(255, 255, 255, 0.07);
      border-radius: 50%;
  }

  /* ====== TIMELINE ====== */
  .timeline-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      flex-shrink: 0;
  }

  .timeline-line {
      position: absolute;
      left: 4px;
      top: 16px;
      bottom: -6px;
      width: 2px;
      background: #E2E8F0;
  }

  html.dark .timeline-line {
      background: #334155;
  }

  /* ====== SPARKLINE CANVAS FIX ====== */
  /* Canvas inside stat cards gets explicit size */
  .spark-canvas {
      display: block;
      width: 100% !important;
      height: 40px !important;
  }

  /* ====== INPUT ====== */
  .form-input {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid #E2E8F0;
      border-radius: 10px;
      font-size: 14px;
      font-family: inherit;
      background: #FFFFFF;
      color: #1E293B;
      outline: none;
      transition: border-color 0.15s;
  }

  html.dark .form-input {
      background: #0F172A;
      border-color: #334155;
      color: #E2E8F0;
  }

  .form-input:focus {
      border-color: #2563EB;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
  }

  .form-input-icon {
      padding-left: 38px;
  }

  /* ====== RESPONSIVE HIDE ====== */
  @media (max-width: 639px) {
      .hide-mobile {
          display: none !important;
      }
  }

  @media (max-width: 767px) {
      .hide-tablet {
          display: none !important;
      }
  }

  /* ====== FLOAT ANIM ====== */
  @keyframes float {

      0%,
      100% {
          transform: translateY(0);
      }

      50% {
          transform: translateY(-6px);
      }
  }

  .float-anim {
      animation: float 4s ease-in-out infinite;
  }

  /* ====== NOTIFICATION DOT ====== */
  .notif-dot {
      position: absolute;
      top: 2px;
      right: 2px;
      width: 8px;
      height: 8px;
      background: #EF4444;
      border-radius: 50%;
      border: 2px solid #FFFFFF;
  }

  html.dark .notif-dot {
      border-color: #0F172A;
  }

  /* ====== DESTINATION IMAGE CARD ====== */
  .dest-card {
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
  }

  .dest-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
  }

  .dest-card:hover img {
      transform: scale(1.05);
  }

  .dest-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  }