/* Identidade visual G8ON (mesma paleta/tokens já portados em
   apps/proposals/templates/proposals/proposal_render.html) — dark green,
   Inter, cantos arredondados generosos. */
:root {
  --bg: #071C15; --bg2: #0A2A1E; --bg3: #0F3427;
  --panel: #0D2D22; --panel2: #10392B;
  --green: #35D885; --green2: #20B16C; --green3: #0F4D3A;
  --sage: #A7CBB3; --white: #F6F7F4; --muted: #B9C9C1; --dim: #7E948A;
  --line: #22463A; --amber: #FFC466; --error: #FF8474;
  --radius: 22px; --shadow: 0 28px 70px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 24px;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(53,216,133,.12), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(15,77,58,.35), transparent 50%);
}
a { color: var(--green); }

.login-wrap { width: 100%; max-width: 400px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .11em; margin-bottom: 30px; justify-content: center; }
.brand svg { width: 20px; height: 31px; flex-shrink: 0; }
.brand span { font-size: 15px; }

.eyebrow { color: var(--green); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; text-align: center; margin-bottom: 8px; }

.login-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 34px; box-shadow: var(--shadow);
}
.login-card h1 { font-size: 23px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 6px; text-align: center; }
.login-card .lead { color: var(--muted); font-size: 13px; margin: 0 0 26px; text-align: center; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); margin-bottom: 7px; font-weight: 700; }
.field input {
  width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; color: var(--white); font-size: 14px; font-family: inherit;
}
.field input::placeholder { color: var(--dim); }
.field input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }

.btn-login {
  width: 100%; border: none; border-radius: 999px; padding: 13px 16px;
  background: linear-gradient(135deg, var(--green), var(--green2)); color: #06150F;
  font-weight: 800; font-size: 14px; cursor: pointer; margin-top: 6px;
}
.btn-login:hover { filter: brightness(1.05); }
.btn-login:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

.flash-error {
  background: rgba(255,132,116,.12); border: 1px solid rgba(255,132,116,.4); color: #FFB3A6;
  border-radius: 10px; padding: 11px 14px; font-size: 12.5px; margin-bottom: 20px;
}

.login-footer { text-align: center; margin-top: 22px; color: var(--dim); font-size: 11.5px; }

@media (max-width: 420px) {
  .login-card { padding: 28px 22px; }
}
