/* Painel do Bizu Play: escuro, vidro fosco, acento #3B82F6 (como o app). Sem estilo inline (CSP). */
:root {
  --fundo: #070a12;
  --fundo-2: #0d1424;
  --vidro: rgba(255, 255, 255, 0.06);
  --vidro-forte: rgba(255, 255, 255, 0.10);
  --borda: rgba(255, 255, 255, 0.12);
  --texto: #e6e9f2;
  --apoio: #9aa3b8;
  --acento: #3b82f6;
  --acento-forte: #2563eb;
  --ok: #22c55e;
  --erro: #f87171;
  --alerta: #fbbf24;
  --raio: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: radial-gradient(1200px 600px at 10% -10%, #1e3a8a55, transparent),
              radial-gradient(900px 500px at 110% 10%, #3b82f633, transparent),
              linear-gradient(180deg, var(--fundo-2), var(--fundo));
  background-attachment: fixed;
  color: var(--texto);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--acento); }
h1 { font-size: 1.5rem; margin: 0 0 16px; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
code, .codigo { font-family: ui-monospace, "DejaVu Sans Mono", monospace; letter-spacing: .03em; }
.apoio, small { color: var(--apoio); }
.grande { font-size: 1.4rem; font-weight: 600; margin: 0 0 8px; }

.layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.lateral {
  position: sticky; top: 0; height: 100vh; padding: 20px 14px; overflow-y: auto;
  background: var(--vidro); border-right: 1px solid var(--borda); backdrop-filter: blur(18px);
}
.topo { display: none; }
.conteudo { padding: 28px; max-width: 1100px; width: 100%; }
.sozinho { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.marca { display: flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font-weight: 700;
  margin-bottom: 18px; }
.marca-b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--acento); color: #fff; font-weight: 800; }
.menu { display: flex; flex-direction: column; gap: 2px; }
.menu a { color: var(--texto); text-decoration: none; padding: 9px 12px; border-radius: 10px; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--vidro-forte); }
.menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--acento); }
.menu .sair { margin-top: 12px; }

.cartao {
  background: var(--vidro); border: 1px solid var(--borda); border-radius: var(--raio);
  backdrop-filter: blur(18px); padding: 18px; margin-bottom: 18px;
}
.entrar { width: 100%; max-width: 380px; }
.entrar h1 { display: flex; align-items: center; gap: 10px; }
.numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 18px; }
.numero { display: flex; flex-direction: column; text-decoration: none; color: var(--texto); margin: 0; }
.numero strong { font-size: 2rem; }
.numero span { color: var(--apoio); }

.campo { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.campo > span { font-size: .9rem; color: var(--apoio); }
input, select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--borda);
  background: rgba(0, 0, 0, .25); color: var(--texto); font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--acento); outline-offset: 2px;
}
.caixa { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.caixa input { width: auto; }
.linha { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.linha > * { flex: 1 1 180px; }
.linha > .botao, .linha > button { flex: 0 0 auto; }
.senha { display: flex; gap: 8px; }
.senha input { flex: 1; }

.botao, button {
  display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1px solid transparent;
  background: var(--acento); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.botao:hover, button:hover { background: var(--acento-forte); }
.fantasma { background: transparent; border-color: var(--borda); color: var(--texto); }
.fantasma:hover { background: var(--vidro-forte); }
.perigo { background: #b91c1c; }
.perigo:hover { background: #991b1b; }
.pequeno { padding: 6px 10px; font-size: .9rem; }
.acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.acoes form { margin: 0; }

.aviso { padding: 12px 14px; border-radius: 10px; margin: 0 0 16px; border: 1px solid var(--borda); }
.aviso.ok { background: #14532d66; border-color: #22c55e66; }
.aviso.erro { background: #7f1d1d66; border-color: #f8717166; }
.aviso.alerta { background: #78350f66; border-color: #fbbf2466; }

.tabela { width: 100%; border-collapse: collapse; }
.tabela th, .tabela td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--borda); vertical-align: top; }
.tabela th { color: var(--apoio); font-weight: 500; font-size: .9rem; }
.rolagem { overflow-x: auto; }
.selo { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .8rem; background: var(--vidro-forte); }
.selo.active { background: #14532d; }
.selo.pending { background: #78350f; }
.selo.blocked { background: #7f1d1d; }
.paginas { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.lista-simples { margin: 0; padding-left: 18px; }

.barra { width: 100%; height: 14px; appearance: none; border: 0; border-radius: 999px; overflow: hidden;
  background: var(--vidro-forte); }
.barra::-webkit-progress-bar { background: var(--vidro-forte); }
.barra::-webkit-progress-value { background: var(--acento); }
.barra::-moz-progress-bar { background: var(--acento); }

.previa { max-width: 420px; }
.previa img { max-width: 100%; border-radius: 10px; margin-bottom: 8px; }
.previa .mensagem { white-space: pre-line; }
.politica { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
.politica h2 { color: var(--acento); margin-top: 28px; }
.escudo { width: 24px; height: 24px; object-fit: contain; vertical-align: middle; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .lateral { display: none; }
  .topo {
    display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2;
    padding: 10px 14px; background: rgba(7, 10, 18, .85); border-bottom: 1px solid var(--borda);
    backdrop-filter: blur(18px);
  }
  .topo .marca { margin: 0; }
  .menu-celular summary { cursor: pointer; padding: 8px 12px; border: 1px solid var(--borda); border-radius: 10px;
    list-style: none; }
  .menu-celular[open] .menu {
    position: absolute; right: 14px; top: 56px; min-width: 220px; padding: 10px; border-radius: var(--raio);
    background: #0d1424f2; border: 1px solid var(--borda);
  }
  .conteudo { padding: 16px; }
  .tabela .some-no-celular { display: none; }
}
