/* Tokens visuais herdados do site (Home.dc.html): azul #3B82F6, fundo #f6f8fb,
   texto #0a0d14, Space Grotesk nos títulos e Manrope no corpo.
   As fontes são locais, não do Google Fonts, para a CSP poder ser 'self'. */

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #f6f8fb;
  color: #0a0d14;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
}

.brasao {
  display: block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.02em;
  color: #0a0d14;
  text-decoration: none;
  margin-bottom: 28px;
}
.brasao span { color: #3B82F6; }

.cartao {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  padding: 36px 34px;
  box-shadow: 0 24px 60px rgba(20, 34, 64, 0.09);
}

h1 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}

.apoio {
  color: #5a6273;
  margin: 0 0 26px;
}

label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #4a5160;
  margin-bottom: 7px;
}

input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 11px;
  background: #fff;
  color: #0a0d14;
  font-family: inherit;
  font-size: 16px;
}
input:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

input.codigo {
  text-align: center;
  font-family: 'Space Grotesk', ui-monospace, monospace;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}

button {
  width: 100%;
  height: 50px;
  margin-top: 18px;
  border: 0;
  border-radius: 11px;
  background: #3B82F6;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.28);
}
button:hover { background: #2b6fd6; }

.aviso {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fdecec;
  border: 1px solid #f5c6c6;
  color: #a12b2b;
  font-size: 14px;
}

.nota {
  margin: 22px 0 0;
  color: #7a8291;
  font-size: 13.5px;
  text-align: center;
}
.nota a { color: #3B82F6; text-decoration: none; }

.rodape {
  margin-top: 22px;
  text-align: center;
  color: #7a8291;
  font-size: 12.5px;
}

/* ---- painel ---- */

.painel { max-width: 520px; }

.linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.linha:first-of-type { border-top: 0; }
.linha dt { color: #5a6273; font-size: 14px; margin: 0; }
.linha dd { margin: 0; font-weight: 700; font-size: 15px; }

dl { margin: 6px 0 0; }

.selo {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.selo-ativo { background: #e6f6ec; color: #1c7a43; }
.selo-inativo { background: #fdecec; color: #a12b2b; }

.sair {
  margin-top: 26px;
  background: transparent;
  color: #5a6273;
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: none;
  font-weight: 600;
}
.sair:hover { background: #f6f8fb; color: #0a0d14; }

h2 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 30px 0 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.espaco { margin-top: 16px; }

.ok {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #e6f6ec;
  border: 1px solid #b9e3c9;
  color: #1c7a43;
  font-size: 14px;
}

/* Escolha de plano no cadastro. O rádio fica escondido e o próprio cartão vira
   o alvo do clique — área maior, e no celular acertar um rádio de 13px é ruim. */
.planos { border: 0; padding: 0; margin: 22px 0 6px; }
.planos legend { font-size: .9rem; font-weight: 600; padding: 0 0 8px; }

.plano {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 10px;
  cursor: pointer;
}
.plano:has(input:checked) { border-color: #3B82F6; box-shadow: 0 0 0 1px #3B82F6; }
/* Teclado: sem isto, navegar por Tab não mostra onde você está. */
.plano:has(input:focus-visible) { outline: 2px solid #3B82F6; outline-offset: 2px; }

.plano input { grid-area: 1 / 1; width: 0; height: 0; opacity: 0; margin: 0; }
.plano-nome  { grid-area: 1 / 1; font-weight: 700; }
.plano-preco { grid-area: 1 / 2; font-weight: 700; white-space: nowrap; }
.plano-preco small { font-weight: 500; opacity: .6; }
.plano-desc  { grid-area: 2 / 1 / 3 / 3; font-size: .85rem; opacity: .7; }

.instalar-extensao{margin-top:26px;padding-top:22px;border-top:1px solid #e7ebf2;text-align:center}.instalar-extensao p{font-size:13px;color:#667085;margin:0 0 12px}.instalar-extensao a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 12px;border:1px solid #cad8f0;border-radius:10px;background:#f2f6ff;color:#285bb2;font-size:13px;font-weight:700;text-decoration:none}.instalar-extensao a:focus-visible{outline:3px solid #8bacf8;outline-offset:3px}.instalar-extensao small{display:block;margin-top:9px;font-size:11px;color:#7a8291}

.salvar-acesso{display:flex;align-items:center;gap:10px;margin:18px 0 5px;cursor:pointer;font-size:12px;line-height:1.5}.salvar-acesso input{width:17px;height:17px;padding:0;margin:0;flex-shrink:0;accent-color:#3b82f6}.salvar-acesso:has(input:disabled){cursor:default;color:#7a8291}.salvar-acesso-ajuda{font-size:11px;line-height:1.5;color:#7a8291;margin:0 0 0 27px}#login-feedback[hidden]{display:none}#login-form[aria-busy="true"] button{opacity:.7;cursor:wait}