.auth-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8f0f8 100%);
}

.auth-ecosystem-title {
  color: var(--brand-deep);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.auth-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 51, 102, 0.08), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.auth-card-logo {
  max-height: 11rem;
  max-width: min(100%, 640px);
  object-fit: contain;
}

@media (min-width: 640px) {
  .auth-card-logo {
    max-height: 13rem;
    max-width: 760px;
  }
}

.auth-user-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto;
  color: #475569;
}

.auth-brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
}

.auth-brand-title .brand-accent {
  color: var(--brand-hover);
}

.auth-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  outline: none;
  border-color: var(--brand-hover);
  box-shadow: 0 0 0 3px rgba(0, 85, 170, 0.15);
}

.auth-btn-primary {
  width: 100%;
  border-radius: 9999px;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  transition: background 0.2s;
}

.auth-btn-primary:hover:not(:disabled) {
  background: var(--brand-hover);
}

.auth-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.auth-btn-google {
  width: 100%;
  border-radius: 9999px;
  background: #db4437;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.7rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.auth-btn-google:hover {
  background: #c23321;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  font-size: 0.75rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-link {
  color: var(--brand-hover);
  font-weight: 600;
  font-size: 0.875rem;
}

.auth-link:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

.auth-alert {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.auth-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.auth-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}
