

    body {
      min-height: 100vh;
      background: #0d1117;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: #e6edf3;
    }

    /* ── background gradient ── */
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0,150,255,.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 90%, rgba(0,230,150,.09) 0%, transparent 55%);
      pointer-events: none;
    }

    .login-wrap {
      position: relative;
      width: 100%;
      max-width: 420px;
      padding: 0 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 32px;
    }

    /* ── logo / header ── */
    .brand {
      text-align: center;
    }
    .brand-icon {
      width: 64px;
      height: 64px;
      background: linear-gradient(135deg, #0096ff 0%, #00e676 100%);
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-size: 30px;
      box-shadow: 0 4px 24px rgba(0,150,255,.35);
    }
    .brand-name {
      font-size: 26px;
      font-weight: 800;
      background: linear-gradient(90deg, #4fc3f7, #00e676);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.5px;
    }
    .brand-sub {
      margin-top: 4px;
      font-size: 13px;
      color: #8b949e;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }

    /* ── card ── */
    .card {
      width: 100%;
      background: #161b22;
      border: 1px solid #30363d;
      border-radius: 16px;
      padding: 36px 32px;
      box-shadow: 0 8px 32px rgba(0,0,0,.5);
    }

    .card-title {
      font-size: 18px;
      font-weight: 700;
      color: #e6edf3;
      margin-bottom: 6px;
    }
    .card-sub {
      font-size: 13px;
      color: #8b949e;
      margin-bottom: 28px;
    }

    /* ── form ── */
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 20px;
    }
    label {
      font-size: 13px;
      font-weight: 600;
      color: #c9d1d9;
    }
    .input-wrap {
      position: relative;
    }
    .input-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 16px;
      pointer-events: none;
      opacity: .6;
    }
    input[type="email"],
    input[type="password"] {
      width: 100%;
      padding: 11px 14px 11px 38px;
      background: #0d1117;
      border: 1px solid #30363d;
      border-radius: 10px;
      font-size: 14px;
      color: #e6edf3;
      outline: none;
      transition: border-color .2s, box-shadow .2s;
    }
    input:focus {
      border-color: #0096ff;
      box-shadow: 0 0 0 3px rgba(0,150,255,.18);
    }

    /* ── remember me ── */
    .remember-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 24px;
    }
    .remember-row input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: #0096ff;
      cursor: pointer;
    }
    .remember-row label {
      font-size: 13px;
      color: #8b949e;
      font-weight: 400;
      cursor: pointer;
    }

    /* ── submit button ── */
    .btn-login {
      width: 100%;
      padding: 13px;
      background: linear-gradient(135deg, #0096ff, #00c6a0);
      border: none;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 700;
      color: #fff;
      cursor: pointer;
      letter-spacing: .3px;
      transition: opacity .2s, transform .1s;
    }
    .btn-login:hover { opacity: .88; }
    .btn-login:active { transform: scale(.98); }

    /* ── error / info ── */
    .alert {
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 13px;
      margin-bottom: 20px;
      display: none;
    }
    .alert.error {
      background: rgba(244,67,54,.12);
      border: 1px solid rgba(244,67,54,.4);
      color: #f44336;
      display: block;
    }
    .alert.info {
      background: rgba(0,150,255,.1);
      border: 1px solid rgba(0,150,255,.3);
      color: #4fc3f7;
      display: block;
    }

    /* ── divider ── */
    .divider {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 24px 0 20px;
      color: #484f58;
      font-size: 12px;
    }
    .divider::before, .divider::after {
      content: "";
      flex: 1;
      height: 1px;
      background: #30363d;
    }

    /* ── footer ── */
    .login-footer {
      font-size: 12px;
      color: #484f58;
      text-align: center;
      line-height: 1.6;
    }
    .login-footer a { color: #4fc3f7; text-decoration: none; }
    .login-footer a:hover { text-decoration: underline; }

    /* ── spinner ── */
    .btn-login.loading {
      pointer-events: none;
      opacity: .7;
    }
    .btn-login.loading::after {
      content: " ⏳";
    }

/* ── Extracted from login.html ── */

.login-s1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.login-s2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  font-size: 13px;
  color: #8b949e;
}

.login-s3 {
  color: #00e676;
  text-decoration: none;
  font-weight: 600;
}

.login-s4 {
  color: #4fc3f7;
  text-decoration: none;
  font-weight: 600;
}

.login-s5 {
  color: #484f58;
  text-decoration: none;
  font-size: 12px;
}

.login-s6 {
  font-family: 'sf mono',consolas,monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #4fc3f7;
  letter-spacing: .5px;
}
