/* Gerado por split de app/static/css/estilo_ph3a.css (fundação da reorganização de CSS, 03/08/2026). Ver app/utils/css_manifest.py pra ordem de carregamento. */

/* ============================================================
   LOGIN PAGE
   ============================================================ */

.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--ph3a-accent-dark) 0%, var(--ph3a-accent) 50%, var(--ph3a-accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  /* Bug 20/07/2026: `.login-card` usa `background: var(--ph3a-white)`, e essa
     variável vira azul-marinho escuro em dark mode (dark-mode.css) — o card
     ficava escuro sem querer (tela de login é INTENCIONALMENTE clara, ver
     comentário em dark-mode.css) e textos que dependiam dessas variáveis, ou
     que herdavam `color` do <body> (claro em dark mode), ficavam ilegíveis
     sobre o card. Fix: fixamos as variáveis ph3a-* + `color` pro valor claro
     dentro do escopo do login, restaurando a intenção original. */
  --ph3a-white:      #ffffff;
  --ph3a-bg-card:    #ffffff;
  --ph3a-card:       #ffffff;
  --ph3a-surface:    #ffffff;
  --ph3a-text:       #4b4b4b;
  --ph3a-text-light: #7a7a8c;
  --ph3a-border:     #e9eaec;
  color: #4b4b4b;
}

.login-page::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: rgba(255,81,27,0.12);
  border-radius: 50%;
}

.login-page::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.login-card {
  background: var(--ph3a-white);
  border-radius: 24px;
  padding: 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo .logo-icon {
  width: 72px;
  height: 72px;
  background: var(--ph3a-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  font-weight: 900;
  color: white;
  letter-spacing: -2px;
  position: relative;
}

.login-logo .logo-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--ph3a-accent);
  border-radius: 6px;
  border: 3px solid white;
}

.login-logo h1 {
  font-size: 28px;
  font-weight: 900;
  color: var(--ph3a-accent);
  letter-spacing: 2px;
  margin: 0;
}

.login-logo p {
  font-size: 13px;
  color: var(--ph3a-text-light);
  margin: 4px 0 0;
}

.login-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ph3a-text);
  margin-bottom: 6px;
}

.login-form-subtitle {
  font-size: 14px;
  color: var(--ph3a-text-light);
  margin-bottom: 28px;
}


