/* Action chatbot — telas de entrada (login, sair, cadastro fechado, senha).
   Mesmo visual do painel do eBook (static/css/ebook.css): fundo #090909, limão #abf43f e ciano #3ff4e5.
   Só é carregado por partials/_action_auth_head.html, ou seja, só nas telas de conta; por isso
   pode redefinir os tokens do design system no body sem afetar o resto do produto. */
:root { color-scheme: dark; }

body {
  --font-body: 'Segoe UI', Arial, sans-serif;
  --surface-page: #090909;
  --surface-0: #1a1a1a;
  --surface-1: #090909;
  --surface-2: #202020;
  --border: #ffffff12;
  --border-strong: #ffffff1f;
  --text-primary: #f6f6f6;
  --text-secondary: #a3a3a3;
  --text-inverse: #111111;
  --primary: #abf43f;
  --primary-hover: #bcf95e;
  --primary-ring: #abf43f33;
  --shadow-primary: 0 10px 30px -12px #abf43f66;
  --shadow-lg: 0 30px 70px -35px #000000;
}

.auth-bg {
  background-color: #090909;
  background-image:
    radial-gradient(ellipse 70% 45% at 12% -10%, #abf43f14, transparent 70%),
    radial-gradient(ellipse 55% 40% at 100% 105%, #3ff4e512, transparent 70%);
}

.aa-wrap { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: stretch; gap: 18px; }

.auth-bg .aa-card {
  background: #141414;
  border: 1px solid #ffffff12;
  border-radius: 16px;
  padding: 36px 32px 28px;
  color: #f6f6f6;
}

/* Marca: só o nome, sem ícone (pedido do Dário, 30/09/2026) */
.aa-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 28px; font-size: 1.3rem; letter-spacing: -0.04em; }
.aa-brand-name span { color: #a3a3a3; }
.aa-eyebrow { text-align: center; font-size: 0.64rem; letter-spacing: 0.15em; color: #3ff4e5; margin: 0 0 10px; text-transform: uppercase; }
.aa-title { text-align: center; font-size: 1.55rem; font-weight: 400; letter-spacing: -0.03em; margin: 0 0 8px; color: #f6f6f6; }
.aa-sub { text-align: center; font-size: 0.85rem; color: #a3a3a3; margin: 0 0 26px; line-height: 1.6; }

/* Campos */
.aa-card .field-label { color: #e0e0e0; font-weight: 500; }
.aa-card .field-hint { color: #8f8f8f; }
.aa-card .field-error { color: #ffb4a1; }
.auth-card.aa-card input[type="text"],
.auth-card.aa-card input[type="email"],
.auth-card.aa-card input[type="password"],
.auth-card.aa-card input[type="url"],
.auth-card.aa-card input[type="tel"],
.auth-card.aa-card select,
.auth-card.aa-card textarea {
  background: #1a1a1a;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  color: #eeeeee;
  font-size: 16px;
  padding: 12px 13px;
}
.auth-card.aa-card input::placeholder { color: #7d7d7d; }
.auth-card.aa-card input:focus,
.auth-card.aa-card select:focus,
.auth-card.aa-card textarea:focus {
  border-color: #abf43f;
  box-shadow: 0 0 0 3px #abf43f26;
}
.auth-card.aa-card input[type="checkbox"] { accent-color: #abf43f; }
.aa-card .field-check { margin-top: 18px; }

/* Botões */
.aa-card .btn-brand { border-radius: 8px; min-height: 46px; margin-top: 24px; font-weight: 600; font-size: 0.9rem; }
.aa-card .btn-brand:hover { transform: none; }
.aa-card .btn-brand:focus-visible,
.aa-card a:focus-visible { outline: 2px solid #3ff4e5; outline-offset: 3px; }
.aa-card .btn-social { background: #1c1c1c; border: 1px solid #ffffff16; color: #eeeeee; }
.aa-card .divider-text { color: #7d7d7d; }

/* Avisos */
.aa-card .alert-error { background: #301a16; color: #ffc0af; border: 1px solid #f07e4360; border-radius: 10px; }
.aa-card .alert-info,
.aa-card .alert-success { background: #1b2416; color: #d5edba; border: 1px solid #abf43f30; border-radius: 10px; }

/* Textos das páginas do allauth (sair, cadastro fechado, senha) */
.aa-card .auth-prose { color: #bdbdbd; text-align: center; }
.aa-card .auth-prose h1,
.aa-card .auth-prose h2 { color: #f6f6f6; font-weight: 400; letter-spacing: -0.02em; }
.aa-card .auth-prose a { color: #abf43f; }
.aa-card .auth-prose button,
.aa-card .auth-prose [type="submit"] {
  width: 100%; min-height: 44px; margin-top: 8px; border: 0; border-radius: 8px;
  background: #abf43f; color: #111111; font-weight: 600; cursor: pointer;
}

.aa-foot { text-align: center; font-size: 0.78rem; color: #8f8f8f; margin: 22px 0 0; }
.aa-legal { text-align: center; font-size: 0.72rem; color: #6f6f6f; margin: 0; }

@media (max-width: 480px) {
  .auth-bg .aa-card { padding: 30px 20px 24px; border-radius: 14px; border: 1px solid #ffffff12; }
  .aa-title { font-size: 1.4rem; }
}
