:root {
  --bg: #07080c;
  --card: #12141b;
  --borda: #232736;
  --text: #f5f6fa;
  --muted: #9aa0b2;
  --ambar: #5B8CFF;
  --degrade: linear-gradient(135deg, #5B8CFF 0%, #1E4FD8 100%);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  min-height: 100vh; background: radial-gradient(ellipse at 50% -10%, rgba(47, 107, 255, .16), transparent 55%), var(--bg);
  color: var(--text); font-family: "Inter", system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--ambar); text-decoration: none; }
a:hover { text-decoration: underline; }

.conta { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; gap: 24px; }
.conta__marca { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: -.5px; }
.conta__marca:hover { text-decoration: none; }
.conta__marca img { border-radius: 10px; }
.conta__marca b { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }

.conta__card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--borda); border-radius: 18px; padding: 32px 28px; }
.conta__form { display: flex; flex-direction: column; gap: 16px; }
.conta h1 { font-family: "Sora", sans-serif; font-size: 1.6rem; letter-spacing: -.5px; }
.conta__sub { color: var(--muted); margin-top: -10px; }
.conta label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--muted); }
.conta input {
  background: var(--bg); border: 1px solid var(--borda); border-radius: 10px; padding: 13px 14px;
  color: var(--text); font: inherit; font-size: 1rem; width: 100%;
}
.conta input:focus { outline: 2px solid var(--ambar); border-color: transparent; }
.conta__links { display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: .9rem; color: var(--muted); text-align: center; }
.conta__erro { margin-top: 16px; color: #ff7b72; font-size: .92rem; text-align: center; }
.conta__msg { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.conta__msg p { color: var(--muted); }
.conta__icone { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: rgba(91, 140, 255, .14); color: var(--ambar); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--degrade); color: #ffffff; font-weight: 600; font-size: 1rem; font-family: inherit;
  padding: 14px 24px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(47, 107, 255, .25); text-decoration: none; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--bloco { width: 100%; }
.btn--contorno { background: transparent; color: var(--text); border-color: var(--borda); }
.btn--contorno:hover { border-color: var(--ambar); box-shadow: none; }

/* ===================== TEMA CLARO ===================== */
:root { --bg: #ffffff; --card: #ffffff; --borda: #e2e6ef; --text: #0b1020; --muted: #5a6478; --ambar: #2F6BFF; color-scheme: light; }
body { background: radial-gradient(ellipse at 50% -10%, rgba(47, 107, 255, .1), transparent 55%), #f6f8fc; }
.conta__card { box-shadow: 0 16px 40px rgba(15, 23, 42, .08); }
.conta input { background: #f8f9fc; }
