:root {
            --primary-dark: #103d3a;
            --primary-light: #cae2a5;
            --text-dark: #1a1a1a;
            --text-light: #ffffff;
            --bg-gray: #f5f5f5;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-gray);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Navbar */
        .navbar {
            background: #fff;
            padding: 15px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .navbar-brand {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            font-weight: 600;
            color: var(--primary-dark);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            font-size: 15px;
        }

        .nav-actions {
            display: flex;
            gap: 15px;
        }

        .btn {
            padding: 10px 20px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
        }

        .btn-outline {
            background: var(--primary-dark);
            color: #fff;
        }

        .btn-solid {
            background: var(--primary-dark);
            color: #fff;
        }

        /* Login Container */
        .login-wrapper {
            flex: 1;
            display: flex;
            padding: 40px;
            gap: 20px;
            max-width: 1400px;
            margin: 70px auto 0 auto;
            width: 100%;
        }

        /* Left Column */
        .login-left {
            flex: 1;
            background-color: var(--primary-dark);
            border-radius: 8px;
            padding: 60px;
            color: var(--text-light);
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
            background-image: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px);
        }

        .badge {
            background: #fff;
            color: var(--primary-dark);
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 30px;
            align-self: flex-start;
        }

        .login-left h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3.5rem;
            line-height: 1.1;
            margin-bottom: 25px;
            font-weight: 400;
        }

        .login-left p {
            font-size: 1.2rem;
            line-height: 1.6;
            color: rgba(255,255,255,0.9);
            max-width: 500px;
        }

        /* Right Column */
        .login-right {
            flex: 1;
            background-color: var(--primary-light);
            border-radius: 8px;
            padding: 60px;
            display: flex;
            flex-direction: column;
        }

        .login-right h2 {
            font-size: 24px;
            color: var(--text-dark);
            margin-bottom: 50px;
            font-weight: 500;
        }

        .login-form {
            max-width: 400px;
            margin: 0 auto;
            width: 100%;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            color: var(--primary-dark);
            font-weight: 600;
            font-size: 14px;
        }

        .form-control {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 4px;
            background: #fff;
            font-size: 16px;
            outline: none;
            box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        }
        
        .form-control:focus {
            box-shadow: 0 0 0 2px var(--primary-dark);
        }

        .btn-login {
            width: 100%;
            padding: 16px;
            background: var(--primary-dark);
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            margin-top: 10px;
            transition: opacity 0.2s;
        }

        .btn-login:hover {
            opacity: 0.9;
        }

        .forgot-password {
            text-align: center;
            margin-top: 25px;
        }

        .forgot-password a {
            color: var(--primary-dark);
            text-decoration: none;
            font-size: 14px;
            opacity: 0.7;
        }

        .forgot-password a:hover {
            opacity: 1;
        }

        .error-message {
            background: #fee2e2;
            color: #b91c1c;
            padding: 12px;
            border-radius: 4px;
            margin-bottom: 20px;
            font-size: 14px;
            display: none;
        }
        
        @media (max-width: 992px) {
            .login-wrapper {
                flex-direction: column;
            }
            .nav-links {
                display: none;
            }
        }
		
		.async-hide { opacity: 0 !important }

  /* Hide all city sections by default — JS shows active one */
  .dashboard-section { display: none; }
  .dashboard-section.active-section { display: block; }

  /* Sidebar overrides for existing Material Dashboard structure */
  #sidenav-main { background: linear-gradient(180deg, #103d3a 0%, #0a2624 60%, #061918 100%) !important; }

  /* Main content layout */
  .main-content { background: transparent; }

  /* Legacy .g color classes for profit/loss in portfolio table */
  .g { color: #22c55e !important; font-weight: 700; }
  .r { color: #ef4444 !important; font-weight: 700; }

  /* Existing material card reset for stat area */
  .stat-card .card-body { padding: 0 !important; }

  /* Van Hermann Capital top navbar (scoped to avoid clashing with Material Dashboard .navbar) */
  .vh-topnav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 70px;
      background: #fff;
      padding: 0 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      z-index: 1100;
  }
  /* Push the fixed sidebar down below the new top navbar */
  #sidenav-main {
      top: 70px !important;
      max-height: calc(100vh - 70px - 1.5rem) !important;
  }
  /* Push the scrollable main content down so it starts below the navbar */
  .main-content {
      padding-top: 70px;
  }
  .vh-topnav-brand {
      font-family: 'Playfair Display', serif;
      font-size: 24px;
      font-weight: 600;
      color: #103d3a;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 10px;
  }
  .vh-nav-links { display: flex; gap: 30px; }
  .vh-nav-links > a { text-decoration: none; color: #1a1a1a; font-weight: 500; font-size: 15px; }

  /* Dropdown submenu (About / Services) */
  .vh-nav-dropdown { position: relative; }
  .vh-nav-dropdown > .vh-nav-dropdown-toggle {
      display: flex;
      align-items: center;
      gap: 5px;
      text-decoration: none;
      color: #1a1a1a;
      font-weight: 500;
      font-size: 15px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 0;
      font-family: 'Inter', sans-serif;
  }
  .vh-nav-dropdown-toggle .vh-caret {
      width: 8px;
      height: 8px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg);
      margin-top: -3px;
      transition: transform 0.2s;
  }
  .vh-nav-dropdown.open .vh-nav-dropdown-toggle .vh-caret,
  .vh-nav-dropdown:hover .vh-nav-dropdown-toggle .vh-caret {
      transform: rotate(-135deg);
      margin-top: 2px;
  }
  .vh-nav-dropdown-menu {
      display: none;
      position: absolute;
      top: calc(100% + 18px);
      left: 50%;
      transform: translateX(-50%);
      background: #103d3a;
      border-radius: 10px;
      padding: 8px;
      min-width: 190px;
      box-shadow: 0 12px 30px rgba(0,0,0,0.18);
      z-index: 1200;
  }
  .vh-nav-dropdown.open .vh-nav-dropdown-menu,
  .vh-nav-dropdown:hover .vh-nav-dropdown-menu {
      display: block;
  }
  .vh-nav-dropdown-menu a {
      display: block;
      text-decoration: none;
      color: #fff;
      font-size: 14px;
      font-weight: 400;
      padding: 11px 14px;
      border-radius: 6px;
      transition: background 0.15s;
  }
  .vh-nav-dropdown-menu a + a { border-top: 1px solid rgba(255,255,255,0.08); }
  .vh-nav-dropdown-menu a:hover { background: rgba(255,255,255,0.08); }

  .vh-nav-actions { display: flex; gap: 15px; }
  .vh-btn {
      padding: 10px 20px;
      border-radius: 4px;
      text-decoration: none;
      font-weight: 500;
      font-size: 14px;
      cursor: pointer;
      border: none;
      transition: all 0.2s;
      background: #103d3a;
      color: #fff;
  }
  @media (max-width: 768px) {
      .vh-nav-links { display: none; }
  }