.auth-page {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%);
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  top: -200px; right: -100px;
  border-radius: 50%;
}

.auth-page::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  border-radius: 50%;
}

.auth-container {
  display: flex;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  gap: 60px;
  align-items: center;
}

.auth-brand {
  flex: 1;
  color: #fff;
  display: none;
}

@media (min-width: 900px) {
  .auth-brand { display: block; }
}

.auth-brand h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.auth-brand p {
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 32px;
}

.auth-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  opacity: 0.9;
}

.auth-features li::before {
  content: '✓';
  width: 24px; height: 24px;
  background: rgba(16,185,129,0.2);
  color: #10b981;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  animation: fadeInUp 0.6s ease;
}

.auth-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.auth-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.auth-card .subtitle {
  font-size: 14px;
  color: #64748b;
}

.auth-form .form-group { margin-bottom: 20px; }
.auth-form .form-group label { color: #475569; }

.auth-form .form-control {
  background: #f8fafc;
  border-color: #e2e8f0;
  padding: 12px 14px;
}

.auth-form .form-control:focus {
  background: #fff;
  border-color: #2563eb;
}

.auth-form .btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  margin-top: 8px;
  border-radius: 8px;
}

.auth-links {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: #64748b;
}

.auth-links a {
  color: #2563eb;
  font-weight: 500;
}

.auth-links a:hover { text-decoration: underline; }

.auth-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.auth-error.show { display: block; }

.auth-success {
  background: #f0fdf4;
  color: #16a34a;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.auth-success.show { display: block; }

.password-toggle {
  position: relative;
}

.password-toggle .toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}
