/* auth.css — premium navy/gold auth styles */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0f1a;
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Subtle geometric bg */
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(30,64,175,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(217,165,40,0.06) 0%, transparent 40%);
}

.auth-container {
  width: 100%;
  max-width: 460px;
  padding: 20px;
}

.auth-card {
  background: #0d1424;
  border: 1px solid #1e2d4a;
  border-radius: 16px;
  padding: 48px 44px;
  /* Premium shadow: layered navy glow */
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.08),
    0 4px 32px rgba(0,0,0,0.5),
    0 1px 0 rgba(255,255,255,0.03) inset;
}

.auth-logo {
  text-align: center;
  margin-bottom: 36px;
}

.auth-logo img {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  display: block;
  border-radius: 12px;
}

.auth-logo .tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d4af37; /* gold */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 8px 0 4px;
}

.auth-logo .subline {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
}

.auth-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 11px 14px;
  background: #111827;
  border: 1px solid #1e2d4a;
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.form-group input::placeholder {
  color: #475569;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1e3a6e, #1e40af);
  color: #e0e7ff;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(30,64,175,0.3), 0 1px 0 rgba(255,255,255,0.05) inset;
  min-height: 44px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e3a6e, #1d4ed8);
  box-shadow: 0 4px 16px rgba(30,64,175,0.45), 0 1px 0 rgba(255,255,255,0.05) inset;
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: #d4af37; /* gold */
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid #2a3a5a;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  letter-spacing: 0.01em;
  min-height: 44px;
}

.btn-secondary:hover {
  background: rgba(212,175,55,0.08);
  border-color: #d4af37;
}

.auth-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fca5a5;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.auth-success {
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 8px;
  padding: 12px 14px;
  color: #f0d680;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.auth-links {
  text-align: center;
  margin-top: 22px;
  font-size: 0.875rem;
  color: #64748b;
}

.auth-links a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover { text-decoration: underline; }

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: #334155;
  font-size: 0.8125rem;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1e2d4a;
}

.invite-banner {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 8px;
  padding: 12px 14px;
  color: #93c5fd;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.invite-banner strong { display: block; margin-bottom: 2px; }