/* Tema compartilhado Vila Moraes — dark com lime + violeta (padrão dos apps do Renan). */
:root {
  --bg: #07070c;
  --bg2: #0e0e16;
  --card: #12121c;
  --card2: #181826;
  --line: #23233340;
  --line2: #2a2a3c;
  --text: #e8e9f0;
  --muted: #9aa1b4;
  --lime: #b8ff3a;
  --violet: #7c5cff;
  --green: #38e08a;
  --amber: #ffce4d;
  --red: #ff5c6c;
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .22; }
.blob.b1 { width: 460px; height: 460px; background: var(--lime); top: -160px; right: -120px; }
.blob.b2 { width: 420px; height: 420px; background: var(--violet); bottom: -160px; left: -120px; }
a { color: var(--lime); }
.muted { color: var(--muted); }
.sm { font-size: 13px; }
.hidden { display: none !important; }

/* ---- botões ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--lime); color: #0a0a0f; border: none; border-radius: 12px;
  padding: 12px 18px; font-weight: 700; font-size: 15px; cursor: pointer;
  font-family: var(--font); transition: transform .06s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line2); }
.btn-violet { background: var(--violet); color: #fff; }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- inputs ---- */
label.field, .field { display: block; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
input, select, textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; font-size: 15px;
  background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px;
  color: var(--text); font-family: var(--font); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--lime); }
.err { color: var(--red); font-size: 13px; min-height: 18px; }

/* ---- cards / paineis ---- */
.card, .panel {
  background: var(--card); border: 1px solid var(--line2); border-radius: var(--radius);
  padding: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lime), var(--violet)); color: #0a0a0f;
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 18px; }

/* ---- toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: var(--card2); border: 1px solid var(--line2); color: var(--text);
  padding: 12px 18px; border-radius: 12px; font-size: 14px; z-index: 100;
  box-shadow: 0 12px 40px #0008;
}
.toast.bad { border-color: var(--red); }
.toast.ok { border-color: var(--green); }
