* { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: Inter, sans-serif;
      background: linear-gradient(135deg, #0c1a2e 0%, #0f2744 100%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .card {
      background: white;
      border-radius: 16px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.2);
      overflow: hidden;
      width: 100%;
      max-width: 420px;
      animation: fadeIn 0.5s;
    }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } }
    .header {
      background: linear-gradient(135deg, #0c1a2e 0%, #0f2744 100%);
      padding: 32px;
      text-align: center;
    }
    .logo {
      width: 56px;
      height: 56px;
      margin: 0 auto 16px;
      border-radius: 14px;
      background: rgba(5,150,105,0.2);
      border: 2px solid rgba(5,150,105,0.35);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    h1 {
      font-size: 22px;
      font-weight: 800;
      color: white;
      margin-bottom: 6px;
      letter-spacing: -0.02em;
    }
    .subtitle {
      font-size: 13px;
      color: rgba(255,255,255,0.6);
    }
    .body {
      padding: 32px;
    }
    .error {
      background: #fee2e2;
      border: 1px solid #fecaca;
      color: #991b1b;
      padding: 12px 14px;
      border-radius: 8px;
      font-size: 13px;
      margin-bottom: 20px;
      display: none;
      font-weight: 600;
    }
    .error.show {
      display: block;
      animation: shake 0.3s;
    }
    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-8px); }
      75% { transform: translateX(8px); }
    }
    .form-group {
      margin-bottom: 20px;
    }
    label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: #0f172a;
      margin-bottom: 8px;
      letter-spacing: -0.01em;
    }
    input {
      width: 100%;
      height: 44px;
      padding: 0 14px;
      border: 1.5px solid #e2e8f0;
      border-radius: 8px;
      font-size: 14px;
      font-family: Inter, sans-serif;
      transition: all 0.2s;
      background: #f8fafc;
    }
    input:focus {
      outline: none;
      border-color: #059669;
      box-shadow: 0 0 0 3px rgba(5,150,105,0.12);
      background: white;
    }
    input::placeholder {
      color: #94a3b8;
    }
    .checkbox-group {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 24px;
    }
    input[type="checkbox"] {
      width: 18px;
      height: 18px;
      cursor: pointer;
      accent-color: #059669;
    }
    .checkbox-label {
      font-size: 13px;
      color: #475569;
      cursor: pointer;
      user-select: none;
    }
    button {
      width: 100%;
      height: 46px;
      background: #059669;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 700;
      font-family: Inter, sans-serif;
      cursor: pointer;
      transition: all 0.2s;
      letter-spacing: -0.01em;
      box-shadow: 0 2px 8px rgba(5,150,105,0.25);
    }
    button:hover {
      background: #047857;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(5,150,105,0.35);
    }
    button:active {
      transform: translateY(0);
    }
    button:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
    }
    .footer {
      padding: 20px 32px;
      background: #f8fafc;
      border-top: 1px solid #e2e8f0;
      text-align: center;
      font-size: 12px;
      color: #64748b;
    }
    @media (max-width: 480px) {
      .body, .header, .footer {
        padding: 24px;
      }
    }

/* === AIOX Modern Override === */
:root {
  --font-ui: 'IBM Plex Sans', 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
}

body {
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at 18% 12%, rgba(34, 197, 94, 0.22), transparent 34%),
    radial-gradient(circle at 82% 88%, rgba(56, 189, 248, 0.16), transparent 36%),
    linear-gradient(140deg, #071126 0%, #0b1f3a 58%, #112a4c 100%);
  position: relative;
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 64px rgba(2, 8, 20, 0.42);
  backdrop-filter: blur(10px);
}

.header {
  background: linear-gradient(135deg, #0a1b34 0%, #0d3159 100%);
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.subtitle {
  color: rgba(255, 255, 255, 0.74);
}

input {
  border-radius: 12px;
  background: #f4f8fd;
}

input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

button {
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28);
}

button:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 14px 28px rgba(3, 105, 161, 0.34);
}

.footer {
  background: #f4f8fd;
}
