/* Wolfs LTDA Investimentos: tema escuro com vermelho e prata (site e painel) */
:root {
  --bg: #07070a; --panel: #111116; --panel2: #18181f; --line: #262630;
  --fg: #f4f4f6; --muted: #a0a1ab; --faint: #6b6c76;
  --red: #ff3b3b; --red-soft: rgba(255,59,59,.12);
  --silver: #d7d9de; --ok: #4fd18b; --warn: #f5b84a; --bad: #ff6b63; --info: #8fb6ff;
  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --r: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font-family: var(--f-body); font-size: 15px; line-height: 1.5; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1180px; margin-inline: auto; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
button { font: inherit; cursor: pointer; color: var(--fg); }
button:disabled { opacity: .5; cursor: not-allowed; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

.top { position: sticky; top: 0; z-index: 5; background: rgba(7,7,10,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top .inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.brand img { width: 52px; height: 36px; object-fit: cover; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,59,59,.4); flex: none; }
.brand b { font-family: var(--f-display); font-weight: 700; letter-spacing: .04em; font-size: 1.05rem; display: block; }
.brand small { color: var(--muted); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.pill-link { font-weight: 600; font-size: .84rem; color: var(--fg); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; white-space: nowrap; background: transparent; }

.navtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.navtabs button { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: .92rem; padding: 12px 16px; border-bottom: 2px solid transparent; white-space: nowrap; }
.navtabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--red); }
.count { font-family: var(--f-mono); font-size: .7rem; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); padding: 1px 7px; border-radius: 999px; margin-left: 6px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 16px; min-width: 0; }
.card h2 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; margin: 0; }
.lead { color: var(--muted); font-size: .88rem; margin: -8px 0 0; }
.fine { color: var(--faint); font-size: .76rem; margin: 0; }
.sect { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-weight: 700; margin: 6px 0 -2px; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.fields .full { grid-column: 1 / -1; }
label.f { display: grid; gap: 5px; font-size: .76rem; color: var(--muted); font-weight: 600; }
input[type=text], input[type=tel], input[type=number], input[type=password], input[type=search], select, textarea {
  font: inherit; font-size: .92rem; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; min-width: 0;
}
textarea { min-height: 70px; resize: vertical; }
select option { background: #141416; }
input[type=range] { width: 100%; accent-color: var(--red); }
.consent { display: flex; gap: 8px; align-items: start; font-size: .78rem; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--red); }
.cta { border: 0; border-radius: 12px; padding: 13px 16px; font-weight: 700; font-size: .95rem; background: linear-gradient(180deg, #ff4b4b, #d61f1f); color: #fff; box-shadow: 0 10px 26px -12px rgba(255,59,59,.8); }
.btn { border: 1px solid var(--line); background: var(--panel2); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: .85rem; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 5px 10px; font-size: .78rem; border-radius: 8px; }
.err { color: var(--bad); font-size: .84rem; margin: 0; }
.wa { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: #fff; background: #1f9d55; border-radius: 12px; padding: 11px 16px; }
.badge-ok { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--ok); background: rgba(79,209,139,.1); border: 1px solid rgba(79,209,139,.3); padding: 3px 9px; border-radius: 999px; }
.aviso-ok { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: rgba(79,209,139,.1); border: 1px solid rgba(79,209,139,.35); }
.aviso-ok b { font-family: var(--f-display); font-size: 1.1rem; color: var(--ok); }
.aviso-ok span { color: var(--fg); font-size: .92rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--panel2); border: 1px solid var(--line); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.p-novo { color: var(--info); } .p-em_analise { color: var(--warn); } .p-aprovado { color: var(--ok); } .p-concluido { color: var(--silver); } .p-recusado, .p-cancelado { color: var(--bad); }
.tbox { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
th.r { font-family: var(--f-body); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 30; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: .86rem; }
footer { border-top: 1px solid var(--line); color: var(--faint); font-size: .78rem; padding-block: 20px 30px; }
footer .inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
