/* ===== Login Page Styles ===== */
  .auth-wrap {
    min-height: calc(100dvh - 120px);
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background:
      radial-gradient(1000px 600px at 10% -10%, rgba(120,119,198,0.25), transparent 60%),
      radial-gradient(800px 500px at 110% 10%, rgba(0,212,255,0.18), transparent 60%),
      linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    backdrop-filter: saturate(120%);
  }

  .auth-card {
    width: 100%;
    max-width: 480px;
    background: rgba(18, 18, 20, 0.75);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .auth-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 210deg, rgba(99,102,241,0.25), transparent 40%, rgba(56,189,248,0.25), transparent 70%);
    filter: blur(18px);
    z-index: -1;
  }

  .auth-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
  }
  .auth-logo {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    box-shadow: 0 8px 24px rgba(99,102,241,.35);
  }
  .auth-title { font-size: 1.5rem; font-weight: 700; letter-spacing: .3px; }

  .auth-sub {
    font-size: .95rem;
    color: #d1d5db;
    margin-bottom: 1.25rem;
  }

  .form-row { margin-bottom: 1rem; }
  .floating {
    position: relative;
  }
  .floating input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 1rem .95rem .95rem .95rem;
    border-radius: .75rem;
    outline: none;
    transition: border .2s, background .2s, box-shadow .2s;
  }
  .floating input:focus {
    border-color: rgba(99,102,241,0.65);
    box-shadow: 0 0 0 6px rgba(99,102,241,0.12);
    background: rgba(255,255,255,0.06);
  }
  .floating label {
    position: absolute;
    left: .95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #b6bcc8;
    transition: .18s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 .25rem;
  }
  .floating input:not(:placeholder-shown) + label,
  .floating input:focus + label {
    top: 0;
    transform: translateY(-50%) scale(.9);
    background: #121214;
    color: #9aa3b2;
  }

  .input-affix {
    position: relative;
  }
  .affix-btn {
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    padding: .35rem .5rem;
    border-radius: .5rem;
  }
  .affix-btn:hover { background: rgba(255,255,255,0.06); }

  .caps-hint {
    display: none;
    margin-top: .4rem;
    font-size: .82rem;
    color: #fbbf24;
  }

  .row-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin: .35rem 0 1rem 0;
  }
  .remember {
    display: flex; align-items: center; gap: .5rem;
    font-size: .92rem; color: #d1d5db;
  }
  .remember input { accent-color: #6366f1; }

  .link {
    color: #93c5fd;
    text-decoration: none;
  }
  .link:hover { text-decoration: underline; }

  .submit-btn {
    width: 100%;
    border: 0;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: #0b1020;
    font-weight: 800;
    letter-spacing: .4px;
    padding: .9rem 1rem;
    border-radius: .85rem;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow: 0 10px 30px rgba(6,182,212,.25);
  }
  .submit-btn:disabled { opacity: .6; cursor: not-allowed; }
  .submit-btn:hover { filter: brightness(1.07); }
  .submit-btn:active { transform: translateY(1px); }

  .alt-actions {
    margin-top: 1rem;
    display: grid;
    gap: .5rem;
    text-align: center;
    font-size: .95rem;
  }

  .divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .75rem;
    color: #9aa3b2;
    margin: 1rem 0;
    font-size: .85rem;
  }
  .divider::before, .divider::after {
    content: "";
    height: 1px;
    background: rgba(255,255,255,0.14);
  }

  .oath {
    display: grid; gap: .5rem;
  }
  .oauth-btn {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.03);
    color: #e5e7eb;
    padding: .7rem 1rem;
    border-radius: .75rem;
    cursor: pointer;
  }
  .oauth-btn:hover { background: rgba(255,255,255,0.06); }

  .errors {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.35);
    color: #fecaca;
    padding: .75rem .9rem;
    border-radius: .75rem;
    font-size: .92rem;
    margin-bottom: 1rem;
  }