*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --accent: #14b8a6;
  --accent-bright: #2dd4bf;
  --bg: #050507;
  --card: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.08);
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', sans-serif;
  --display: 'Space Grotesk', var(--sans);
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: #e2e8f0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.auth-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #0d9488);
  display: flex; align-items: center; justify-content: center;
  color: #000;
  box-shadow: 0 2px 12px rgba(20,184,166,0.3);
}
.auth-logo span {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.auth-card h1 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.auth-sub {
  color: #64748b;
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.auth-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
  color: #ef4444;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}
form { display: flex; flex-direction: column; gap: 6px; }
label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}
input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.4);
  color: #e2e8f0;
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
input:focus {
  border-color: rgba(20,184,166,0.4);
  background: rgba(0,0,0,0.5);
}
input::placeholder { color: #334155; }
button[type="submit"] {
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #0d9488);
  color: #000;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(20,184,166,0.2);
}
button[type="submit"]:hover {
  box-shadow: 0 6px 24px rgba(20,184,166,0.35);
  transform: translateY(-1px);
}
button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.82rem;
  color: #64748b;
}
.auth-footer a {
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }
.hidden { display: none !important; }
