* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background: #080c16;
  color: #f8fafc;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: min(440px, 100%);
  padding: 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: #121827;
  box-shadow: 0 24px 70px rgba(0,0,0,0.34);
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo i { color: #6366f1; font-size: 2rem; }
.auth-logo h1 { margin: 12px 0 6px; font-size: 1.7rem; }
.auth-logo p { margin: 0; color: #94a3b8; }
label {
  display: block;
  margin: 14px 0 7px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 700;
}
.auth-input { position: relative; }
.auth-input input {
  width: 100%;
  height: 46px;
  padding: 0 44px 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 6px;
  background: #0b1020;
  color: #f8fafc;
  outline: none;
}
.auth-input i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}
.auth-button {
  width: 100%;
  height: 46px;
  margin-top: 22px;
  border: 0;
  border-radius: 6px;
  background: #6366f1;
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.auth-button:disabled { opacity: 0.65; cursor: wait; }
.auth-message {
  display: none;
  margin-top: 16px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: rgba(99, 102, 241, 0.1);
  color: #c7d2fe;
  font-size: 0.88rem;
  line-height: 1.4;
}
.auth-message.visible { display: block; }
.auth-message.error {
  border-color: rgba(239, 68, 68, 0.26);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}
.auth-link {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: #818cf8;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.auth-link.danger { color: #f87171; }
