  /* index.css - SMART MONEY Login Page - Premium Glassmorphism Style */
  :root {
    --primary-dark: #2e4f6b;
    --primary-darker: #0f1922;
    --primary-light: #9abedd;
    --primary-lighter: #c2e1fb;
    --success: #198754;
    --success-light: #b6f2d6;
    --warning: #fec601;
    --warning-light: #fed136;
    --danger: #990000;
    --danger-bright: #b30000;
    --info: #9abedd;
    --info-light: #c2e1fb;
    --neutral-1: #f8fafc;
    --neutral-2: #f1f5f9;
    --neutral-3: #e2e8f0;
    --neutral-4: #d5dadf;
    --neutral-5: #bfc4c8;
    --neutral-6: #aaaeb2;
    --neutral-7: #475569;
    --neutral-8: #334155;
    --neutral-9: #1e293b;
    --neutral-10: #0a0d0f;
    --white: #fff;
    --blue-soft: #e3f2fd;
    --pink-soft: #fff0f0;
    --grey-soft: #e0e0e0;
    --grey-box: #e2e3e5;
    --grey-box-2: #d6d8db;
    --blue: #007bff;
    --red: #dc3545;
    --yellow-bright: #ffb300;
    --input-bg: #e9ecef;
    --glass-bg: rgba(255,255,255,0.7);
    --glass-blur: 16px;
    --gradient-main: linear-gradient(135deg, #e3f2fd 0%, #c2e1fb 100%);
      --gradient-main: linear-gradient(135deg, #9bbedc, #457393, #2e506b);
  }
  body {
    font-family: 'Noto Sans Lao', sans-serif;
    background: linear-gradient(-45deg, #9bbedc, #457393, #2e506b, #9bbedc);
    background-size: 600% 600%;
    animation: gradientMove 10s ease-in-out infinite;
    color: var(--neutral-9);
    margin: 0;
    min-height: 100vh;
  }
  @keyframes gradientMove {
    0% {
      background-position: 0% 50%;
    }
    25% {
      background-position: 50% 100%;
    }
    50% {
      background-position: 100% 50%;
    }
    75% {
      background-position: 50% 0%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  .logo {
    display: block;
    margin: 0 auto 1em;
    width: 100px;
  }
  .main-container {
    background: rgba(255,255,255,0.85) ;
    border-radius: 32px;
    box-shadow: 0 8px 32px 0 rgba(46,79,107,0.18), 0 1.5px 8px 0 rgba(46,79,107,0.10);
    padding: 2.5em 1.5em;
    margin: 2em auto;
    max-width: 400px;
    backdrop-filter: blur(18px);
    border: 2.5px solid var(--primary-light);
   
  }
  /* Headings */
  h1, h2 {
    color: var(--primary-dark);
    margin-bottom: 0.5em;
    font-family: 'Noto Sans Lao', sans-serif;
    letter-spacing: 0.5px;
  }
  /* Inputs */
  .input {
    background: var(--glass-bg);
    border: 1px solid var(--neutral-4);
    border-radius: 10px;
    padding: 0.6em 1em;
    font-size: 1em;
    margin-bottom: 0.8em;
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(var(--glass-blur));
  }
  /* Buttons */
  .button {
    background: linear-gradient(90deg, #457393 0%, #2e506b 100%);
    color: var(--white);
    border: none;
    border-radius: 18px;
    padding: 0.8em 1.6em;
    font-size: 1.08em;
    cursor: pointer;
    margin: 0.2em 0.1em;
    box-shadow: 0 4px 16px #45739333, 0 1.5px 8px #2e506b22;
    font-weight: bold;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    transition: background 0.25s, box-shadow 0.25s, transform 0.18s, color 0.18s;
  }
  .button:hover, .button:focus {
    background: linear-gradient(90deg, #2e506b 0%, #457393 100%);
    color: #fff;
    box-shadow: 0 8px 32px #2e506b44;
    transform: translateY(-2px) scale(1.04);
  }
  /* Alerts */
  .alert {
    border-radius: 14px;
    padding: 1.2em;
    margin-bottom: 1em;
    font-weight: bold;
    box-shadow: 0 2px 12px #0001;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
  }
  .alert.error {
    background: linear-gradient(90deg, var(--danger-bright) 60%, var(--danger) 100%);
    color: var(--white);
  }
  .alert.success {
    background: linear-gradient(90deg, var(--success-light) 60%, var(--success) 100%);
    color: var(--success);
  }
  /* Password field */
  .password-wrapper {
    position: relative;
  }

  .toggle {
    color: var(--primary-dark);
    font-size: 1.2em;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color 0.2s;
    opacity: 0.8;
  }
  .toggle:hover {
    color: var(--primary-light);
  }
  @media (max-width: 700px) {
    .main-container {
      padding: 1em 0.2em;
      margin: 1em auto;
      max-width: 98vw;
    }
    .logo {
      width: 80px !important;
    }
  }

  /* Dark/Light Mode Toggle Switch */
  .theme-toggle {
    width: 80px;
    height: 40px;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 100%);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1), 
                0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }

  [data-theme="dark"] .theme-toggle {
    background: linear-gradient(180deg, #0f1419 0%, #1a1a2e 100%);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.4), 
                0 4px 12px rgba(0,0,0,0.3);
  }

  .theme-toggle::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #FFD700;
    border-radius: 50%;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6),
                inset -2px -2px 4px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  [data-theme="dark"] .theme-toggle::before {
    left: calc(100% - 28px);
    background: #C0C0C0;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5),
                inset -2px -2px 4px rgba(0,0,0,0.3);
  }

  .theme-toggle::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    top: 12px;
    left: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  [data-theme="dark"] .theme-toggle::after {
    left: calc(100% - 18px);
    top: 10px;
    background: rgba(60,60,60,0.8);
  }

  /* Clouds */
  .cloud {
    position: absolute;
    background: white;
    border-radius: 50px;
    opacity: 0.9;
    transition: all 0.4s ease;
  }

  .cloud-1 {
    width: 12px;
    height: 6px;
    top: 10px;
    right: 15px;
    box-shadow: 2px 0 0 white;
  }

  .cloud-2 {
    width: 10px;
    height: 5px;
    top: 22px;
    right: 8px;
  }

  [data-theme="dark"] .cloud {
    opacity: 0;
  }

  /* Stars */
  .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 0 2px white;
  }

  [data-theme="dark"] .star {
    opacity: 1;
  }

  .star-1 {
    width: 2px;
    height: 2px;
    top: 8px;
    right: 12px;
  }

  .star-2 {
    width: 3px;
    height: 3px;
    top: 15px;
    right: 25px;
  }

  .star-3 {
    width: 2px;
    height: 2px;
    top: 25px;
    right: 18px;
  }

  .star-4 {
    width: 1.5px;
    height: 1.5px;
    top: 12px;
    right: 35px;
  }

  .star-5 {
    width: 2.5px;
    height: 2.5px;
    top: 28px;
    right: 30px;
  }