  html, body {
    min-height: 100%;
    margin: 0;
  }

body,
body.theme-light{
  background:
    url('/main/assets/bg.jpg') center / cover no-repeat fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
    body {
      min-height: 100vh;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color: #fff;
      overflow-x: hidden;
      background3:
        radial-gradient(circle at top left, rgba(80,170,255,.28), transparent 28%),
        radial-gradient(circle at top right, rgba(20,110,255,.20), transparent 26%),
        radial-gradient(circle at bottom left, rgba(0,120,255,.18), transparent 30%),
        linear-gradient(135deg,
          #061a4d 0%,
          #0b2d7a 22%,
          #1247a8 45%,
          #0d3f9a 62%,
          #0a2e78 78%,
          #05173f 100%);
      background-attachment: fixed;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      box-sizing: border-box;
    }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,.06), transparent 22%),
      linear-gradient(90deg, rgba(255,255,255,.03), transparent 28%);
    pointer-events: none;
  }

  .login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 80px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    animation: loginFade .45s ease;
    color:ghostwhite !important;
  }

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

  .login-card {
    width: 100%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow:
      0 18px 60px rgba(0,0,0,.35),
      inset 0 1px 0 rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 26px;
    overflow: hidden;
    color:ghostwhite !important;
  }

  .login-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
    margin-bottom: 10px;
  }

  .login-card h2 {
    margin: 0 0 10px;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    color: #fff !important;
  }

  .login-copy {
    margin: 0 0 20px;
    color: rgba(255,255,255,.80);
    font-size: 15px;
    line-height: 1.55;
  }

  .login-form {
    display: grid;
    gap: 14px;
    color: ghostwhite !important;
  }

  .login-form input[type="text"],
  .login-form input[type="password"] {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.07);
    color: #fff;
    padding: 0 14px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .login-form input::placeholder {
    color: rgba(255,255,255,.48);
    opacity: 1;
    font-weight:600;
  }

  .login-form input:focus {
    border-color: rgba(145,205,255,.72);
    background: rgba(0,0,0,.02);
    box-shadow: 0 0 0 3px rgba(130,190,255,.12);
    color:ghostwhite;
  }

  .login-btn {
    height: 52px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: background .16s ease, transform .16s ease;
  }

  .login-btn:hover {
    background: rgba(255,255,255,.16);
  }

  .login-btn:active {
    transform: translateY(1px);
  }

  .login-error {
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(255,128,128,.25);
    background: rgba(255,80,80,.08);
    color: #ffb3b3;
    font-size: 14px;
  }

  .login-links {
    margin-top: 18px;
    display: grid;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.80);
  }

  .login-links a {
    color: #d9ecff;
    text-decoration: none;
    font-weight: 700;
  }

  .login-links a:hover {
    text-decoration: underline;
  }

  @media (max-width: 640px) {
    .login-card {
      padding: 20px;
    }

    .login-card h2 {
      font-size: 32px;
    }
  }