/* Auth Screen Layout */
.auth-body {
  background: radial-gradient(circle at 50% 20%, #16243b 0%, #0d1424 60%, #070a12 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

/* Header Navbar */
.auth-nav {
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: rgba(11, 15, 23, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-nav .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.auth-id-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  background: rgba(0, 242, 254, 0.08);
  color: #00d2df;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 12px;
}

/* Auth Center Card */
.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(18, 26, 44, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.05);
}

.auth-heading {
  font-size: 1.55rem;
  font-weight: 700;
  color: #38bdf8;
  text-align: center;
  margin-bottom: 24px;
}

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form .form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 6px;
  display: block;
}

.password-input-wrapper {
  position: relative;
  width: 100%;
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  color: #f8fafc;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.auth-input:focus {
  border-color: #00d2df;
  box-shadow: 0 0 0 2px rgba(0, 210, 223, 0.2);
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.toggle-password:hover {
  color: #cbd5e1;
}

.form-aux {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
}

.auth-link {
  font-size: 0.78rem;
  color: #38bdf8;
  text-decoration: none;
}
.auth-link:hover {
  text-decoration: underline;
}

/* Primary Action Button */
.btn-auth-primary {
  width: 100%;
  padding: 13px;
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top: 4px;
}

.btn-auth-primary:hover {
  background: #0369a1;
}

.btn-auth-primary:active {
  transform: scale(0.99);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 6px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  padding: 0 10px;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

/* Google OAuth Button */
.btn-auth-google {
  width: 100%;
  padding: 11px;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-auth-google:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: #475569;
}

/* Card Bottom Link */
.auth-card-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.auth-link-bold {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

.auth-link-bold:hover {
  text-decoration: underline;
}

/* Alert Box */
.auth-alert {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  margin-bottom: 16px;
}
.auth-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}
.auth-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}
.hidden { display: none; }