/* Tela de login e de troca de senha: faixa amarela da marca + card branco */

.auth-page {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--bg);
  overflow: hidden;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 46%;
  background: var(--mev-yellow);
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 36px 36px 30px;
}

.auth-card .brand { margin-bottom: 28px; }

.auth-card .brand-logo { height: 26px; }

.auth-card h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 4px;
}

.auth-card .subtitle { color: var(--text-muted); margin: 0 0 24px; }

.auth-card form { margin: 0; }

.auth-card .btn-block { margin-top: 8px; height: 46px; }

.auth-footer { position: relative; margin-top: 20px; font-size: 12px; color: var(--text-subtle); text-align: center; }

.auth-links { margin-top: 18px; text-align: center; font-size: 13px; }

.auth-links a,
.auth-links button {
  color: var(--mev-teal);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

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

@media (max-width: 480px) {
  .auth-card { padding: 28px 22px 22px; }
  .auth-page::before { height: 38%; }
}
