:root {
  --bg: #0b0f19;
  --card: #141a29;
  --linha: #232c42;
  --texto: #eef2ff;
  --suave: #97a3c0;
  --acento: #22d3a5;
  --acento-esc: #0f9e7b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1000px 500px at 50% -20%, #16233a, transparent), var(--bg);
  background-color: var(--bg);
  color: var(--texto);
  min-height: 100vh;
}
.wrap { max-width: 460px; margin: 0 auto; padding: 28px 18px 48px; }
.hero { text-align: center; margin-bottom: 22px; }
.hero h1 { font-size: 26px; margin: 10px 0 6px; }
.hero p { color: var(--suave); font-size: 14px; margin: 0; }
.sinal {
  width: 54px; height: 54px; margin: 0 auto; border-radius: 50%;
  background: linear-gradient(135deg, var(--acento), var(--acento-esc));
  box-shadow: 0 0 0 10px rgba(34, 211, 165, .08);
}
.card {
  background: var(--card);
  border: 1px solid var(--linha);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}
.card h2 { font-size: 15px; margin: 0 0 14px; color: var(--suave); text-transform: uppercase; letter-spacing: .08em; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plano {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 1.5px solid var(--linha); border-radius: 12px; padding: 14px 8px; cursor: pointer;
}
.plano input { display: none; }
.plano .h { font-size: 22px; font-weight: 700; }
.plano .v { font-size: 13px; color: var(--suave); }
.plano:has(input:checked) { border-color: var(--acento); background: rgba(34, 211, 165, .08); }
.extra { margin-top: 14px; color: var(--suave); font-size: 13px; }
.extra summary { cursor: pointer; }
.linha { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; }
.linha input[type="number"] { width: 70px; }
input[type="text"], input[type="password"], input[type="number"], textarea {
  background: #0d1220; border: 1px solid var(--linha); border-radius: 10px;
  color: var(--texto); padding: 12px; font-size: 15px; width: 100%; font-family: inherit;
}
.btn {
  display: block; width: 100%; margin-top: 14px; padding: 14px;
  border: 0; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer;
  background: linear-gradient(135deg, var(--acento), var(--acento-esc)); color: #04231b;
  text-align: center; text-decoration: none;
}
.btn.secundario { background: transparent; border: 1.5px solid var(--linha); color: var(--texto); }
.login input { margin-bottom: 10px; }
.alerta { background: #3a1620; border: 1px solid #7d2c40; padding: 12px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
.qr { display: block; width: 220px; margin: 0 auto 12px; border-radius: 12px; background: #fff; }
.dica, .status { color: var(--suave); font-size: 13px; text-align: center; }
.cred { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--linha); }
.cred span { color: var(--suave); }
.cred strong { font-family: ui-monospace, monospace; font-size: 18px; letter-spacing: .05em; }
.rodape { text-align: center; color: var(--suave); font-size: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--linha); }
th { color: var(--suave); font-weight: 500; }

/* Etapas do acompanhamento do acesso */
.etapas { list-style: none; margin: 0; padding: 0; }
.etapas li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--linha); font-size: 14px; color: var(--suave);
}
.etapas li:last-child { border-bottom: 0; }
.etapas li em { margin-left: auto; font-style: normal; font-size: 12px; }
.etapas .bolinha {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--linha); background: transparent; flex: none;
}
.etapas li.ok { color: var(--texto); }
.etapas li.ok .bolinha { background: var(--acento); border-color: var(--acento); }
.etapas li.espera .bolinha { border-color: var(--acento); animation: pulsa 1.2s infinite; }
@keyframes pulsa { 50% { opacity: .3; } }
.rodape a { color: var(--acento); text-decoration: none; }
select { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--linha); background: var(--bg); color: var(--texto); }
