body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: radial-gradient(circle at 30% 20%, #1A2050 0%, #0C1024 55%);
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.auth-logo {
  width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.auth-title {
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
}

.auth-sub {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0 0 24px;
}

.auth-form { display: flex; flex-direction: column; gap: 14px; }

.auth-form label {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form input {
  background: var(--ink);
  border: 1px solid var(--panel-line);
  color: var(--paper);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--blue);
}

.pin-input {
  text-align: center;
  letter-spacing: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
}

.auth-btn {
  margin-top: 4px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.auth-btn:active { transform: scale(0.98); }
.auth-btn:disabled { opacity: 0.6; cursor: default; }

.auth-links {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
}
.auth-links a { color: var(--muted); text-decoration: none; }
.auth-links a:hover { color: var(--paper); }

.auth-message {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: none;
}
.auth-message.show { display: block; }
.auth-message.error { background: rgba(229,72,77,0.12); color: #FF8A8E; }
.auth-message.success { background: rgba(63,182,139,0.12); color: #6EE7B7; }

.auth-footnote {
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
