@import url("/assets/fonts.css");
/* Strixs visual identity (same as the landing page): monochrome, Geist, white pill buttons. */
:root {
  --bg: #0a0a0a;
  --card: #121212;
  --field: #0d0d0d;
  --text: #ffffff;
  --muted: #8c8c8c;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #ffffff;
  --brand-ink: #0a0a0a;
  --gradient: #ffffff;
  --ok-bg: rgba(134, 239, 172, 0.08);
  --ok: #86efac;
  --err-bg: rgba(248, 113, 113, 0.1);
  --err: #fca5a5;
  --display: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 15px/1.55 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.01em; -webkit-font-smoothing: antialiased; }
main { max-width: 440px; margin: 0 auto; padding: 48px 16px; }
main.wide { max-width: 720px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: 28px; margin: 0 0 4px; }
h2 { font-size: 19px; margin: 0 0 12px; }
p.lead { color: var(--muted); margin: 0 0 24px; }
/* Official horizontal logo (owl + STRIXS); the link text stays for screen readers. */
.brand { display: block; width: 107px; height: 24px; margin-bottom: 28px; background: url("/assets/brand/horizontal-branco.svg") left center / contain no-repeat; color: transparent; overflow: hidden; white-space: nowrap; text-decoration: none; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 16px;
}
label { display: block; font-size: 14px; font-weight: 500; margin: 14px 0 6px; }
input, select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); color: var(--text); font: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
input:focus, select:focus { outline: none; border-color: #5c5c5c; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
button { margin-top: 20px; width: 100%; padding: 12px; border: 0; border-radius: 999px; background: var(--gradient); color: var(--brand-ink); font: inherit; font-weight: 500; cursor: pointer; transition: transform 0.15s, background 0.2s; }
button:hover:not(:disabled) { transform: translateY(-1px); background: #e5e5e5; }
button.secondary { background: #1f1f1f; color: var(--text); border: 1px solid var(--line); }
button.secondary:hover:not(:disabled) { background: #2a2a2a; }
button:disabled { opacity: 0.6; cursor: wait; }
.links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 14px; }
a { color: var(--brand); }
.message { padding: 10px 12px; border-radius: 12px; margin-top: 16px; font-size: 14px; border: 1px solid transparent; }
.message.error { background: var(--err-bg); color: var(--err); border-color: rgba(248, 113, 113, 0.25); }
.message.ok { background: var(--ok-bg); color: var(--ok); border-color: rgba(134, 239, 172, 0.2); }
.hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; font-family: var(--mono); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
dl { display: grid; grid-template-columns: 160px 1fr; gap: 8px 12px; margin: 0; }
dt { color: var(--muted); }
dd { margin: 0; font-variant-numeric: tabular-nums; }
.qr { display: block; width: 200px; height: 200px; margin: 12px auto; background: #fff; border-radius: 8px; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; font-family: var(--mono); }
ul.devices { list-style: none; margin: 0; padding: 0; }
ul.devices li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
ul.devices button { width: auto; margin: 0; padding: 6px 14px; font-size: 13px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } dl { grid-template-columns: 1fr; } }
.field-error { color: var(--err); font-size: 13px; margin: 6px 0 0; }
.field-ok { color: var(--ok); font-size: 13px; margin: 6px 0 0; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--err); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 46px; }
.toggle-visibility { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 36px; height: 36px; margin: 0; padding: 0; display: grid; place-items: center; background: transparent; color: var(--muted); border-radius: 8px; }
.toggle-visibility:hover { color: var(--text); }
.toggle-visibility, .toggle-visibility:hover:not(:disabled) { box-shadow: none; transform: translateY(-50%); background: transparent; }
.checklist { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.checklist li::before { content: "○ "; }
.checklist li.met { color: var(--ok); }
.checklist li.met::before { content: "● "; }
/* Browser autofill paints its own background; keep every field in the theme colors. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--field) inset;
  caret-color: var(--text);
  transition: background-color 9999s ease-out 0s;
}
input:autofill { background-color: var(--field); color: var(--text); }
.balance { font: 400 34px var(--display); letter-spacing: -0.01em; margin: 0; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
table.history { width: 100%; border-collapse: collapse; font-size: 14px; }
table.history th { text-align: left; color: var(--muted); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 8px 8px 0; border-bottom: 1px solid var(--line); }
table.history td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.history td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.status.ok { color: var(--ok); background: var(--ok-bg); border-color: transparent; }
.status.err { color: var(--err); background: var(--err-bg); border-color: transparent; }
.asaas-footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.asaas-footer p { margin: 8px 0 0; }
.asaas-seal { display: inline-block; }
.asaas-seal img { display: inline-block; width: 160px; height: 48px; }
