:root {
      --auth-bg: #091122;
      --auth-bg-soft: #101936;
      --auth-card: linear-gradient(180deg, rgba(20, 29, 55, 0.96) 0%, rgba(11, 18, 36, 0.98) 100%);
      --auth-stroke: rgba(99, 129, 214, 0.34);
      --auth-text: #eef3ff;
      --auth-muted: #b9c6ea;
      --auth-accent: #5f8bff;
      --auth-accent-2: #24d7a1;
    }

    .auth-body {
      min-height: 100vh;
      margin: 0;
      display: grid;
      place-items: center;
      padding: 24px;
      color: var(--auth-text);
      font-family: "Segoe UI", Tahoma, sans-serif;
      background:
        radial-gradient(circle at 18% 18%, rgba(95, 139, 255, 0.18), transparent 28%),
        radial-gradient(circle at 82% 14%, rgba(36, 215, 161, 0.08), transparent 22%),
        linear-gradient(180deg, #07101f 0%, #0d1326 100%);
    }

    .auth-shell {
      width: 100%;
      max-width: 520px;
    }

    .auth-card {
      position: relative;
      overflow: hidden;
      padding: 34px;
      border-radius: 24px;
      border: 1px solid var(--auth-stroke);
      background: var(--auth-card);
      box-shadow: 0 28px 90px rgba(4, 10, 24, 0.42);
      backdrop-filter: blur(18px);
    }

    .auth-card__glow {
      position: absolute;
      inset: auto -120px -140px auto;
      width: 280px;
      height: 280px;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(95, 139, 255, 0.22) 0%, rgba(95, 139, 255, 0) 68%);
      pointer-events: none;
    }

    .auth-brand,
    .auth-form {
      position: relative;
      z-index: 1;
    }

    .auth-brand__top {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 16px;
      align-items: center;
    }

    .auth-logo {
      width: 72px;
      height: 72px;
      object-fit: contain;
      border-radius: 18px;
      border: 1px solid rgba(95, 139, 255, 0.16);
      background: rgba(9, 15, 30, 0.86);
      box-shadow: 0 16px 34px rgba(3, 9, 22, 0.34);
      padding: 10px;
      flex: 0 0 auto;
    }

    .auth-brand__copy {
      min-width: 0;
    }

    .eyebrow {
      display: inline-block;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--auth-accent-2);
      font-size: 12px;
      font-weight: 700;
    }

    .auth-brand h1 {
      margin: 6px 0;
      font-size: clamp(28px, 4vw, 38px);
      line-height: 1.08;
    }

    .auth-brand p {
      margin: 10px 0 0;
      color: #c4d0ef;
      line-height: 1.65;
    }

    .auth-form {
      display: grid;
      gap: 12px;
      margin-top: 24px;
    }

    .auth-form label {
      display: block;
      margin-bottom: 6px;
      font-size: 13px;
      color: var(--auth-muted);
    }

    .auth-form input,
    .auth-form button {
      width: 100%;
      border-radius: 14px;
      border: 1px solid rgba(81, 102, 170, 0.45);
      padding: 14px 16px;
      font: inherit;
      box-sizing: border-box;
    }

    .auth-form input {
      background: rgba(9, 15, 30, 0.9);
      color: var(--auth-text);
      outline: none;
    }

    .auth-form input:focus {
      border-color: var(--auth-accent);
      box-shadow: 0 0 0 3px rgba(95, 139, 255, 0.18);
    }

    .auth-form button {
      cursor: pointer;
      background: linear-gradient(135deg, var(--auth-accent) 0%, #7b63ff 100%);
      color: #fff;
      font-weight: 700;
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .auth-form button:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 24px rgba(95, 139, 255, 0.18);
    }

    .auth-form button:active {
      transform: scale(0.98);
    }

    .auth-checkbox {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 2px 0 0;
      color: var(--auth-text);
      font-size: 13px;
    }

    .auth-checkbox input {
      width: 16px;
      height: 16px;
      margin: 0;
      padding: 0;
      border-radius: 4px;
      accent-color: var(--auth-accent);
    }

    .action-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .ghost-button {
      background: rgba(9, 15, 30, 0.72) !important;
      color: var(--auth-text) !important;
      border: 1px solid rgba(95, 139, 255, 0.22) !important;
    }

    .status-line {
      min-height: 20px;
      margin: 2px 0 0;
      color: #b8c7eb;
      font-size: 13px;
      line-height: 1.45;
    }

    .hidden {
      display: none !important;
    }

    @media (max-width: 640px) {
      .auth-body {
        padding: 16px;
      }

      .auth-card {
        padding: 24px;
        border-radius: 20px;
      }

      .auth-brand__top {
        grid-template-columns: 1fr;
      }

      .auth-logo {
        width: 84px;
        height: 84px;
      }
    }
