/* Solidus Bot WEB — entrada pela corretora e ajustes para navegador/celular (a tela é a do robô de computador) */

/* a entrada por e-mail + chave do robô de computador não é usada na web */
html.web #login { display: none !important; }

#webGate { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(circle at 70% 20%, rgba(255, 178, 30, .10), transparent 55%), #070b14; }
#webGate.hidden { display: none; }
#webGate .wg-card { width: 100%; max-width: 420px; background: #0f1724; border: 1px solid #22334a; border-radius: 20px; padding: 28px 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
#webGate .wg-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; color: #e8eef5; }
#webGate .wg-mark { display: block; width: 36px; height: 36px; border-radius: 10px; }
#webGate h1 { margin: 22px 0 8px; font-size: 24px; color: #e8eef5; }
#webGate .wg-sub { margin: 0 0 18px; color: #9aa3b2; line-height: 1.55; font-size: 14px; }
#webGate .wg-msg { margin: 0 0 16px; padding: 10px 12px; border-radius: 10px; background: rgba(77, 182, 255, .1); color: #8ccaff; font-size: 13.5px; line-height: 1.5; }
#webGate .wg-msg.err { background: rgba(246, 70, 93, .12); color: #ff8a9a; }
#webGate .wg-btn { width: 100%; height: 50px; border: 0; border-radius: 12px; background: #ffb21e; color: #111; font-weight: 800; font-size: 15px; cursor: pointer; }
#webGate .wg-btn:hover { filter: brightness(1.08); }
#webGate .wg-btn.ghost { background: #1b2636; color: #e8eef5; }
#webGate .wg-foot { margin: 14px 0 0; color: #6f7b8d; font-size: 12px; text-align: center; }

/* ---------------------------------------------------------------- celular */
@media (max-width: 820px) {
  /* no celular a página rola inteira (no computador a tela tem altura fixa e só o meio rola) */
  html.web, html.web body { height: auto; min-height: 100%; overflow-x: hidden; overflow-y: auto; }
  html.web #app { height: auto !important; }
  html.web main { height: auto !important; overflow: visible !important; }
  html.web .log { height: 260px; }
  html.web header { flex-wrap: wrap; gap: 8px !important; padding: 10px 12px !important; height: auto !important; }
  html.web header .spacer { display: none; }
  html.web .tabs { overflow-x: auto; white-space: nowrap; }
  html.web main { padding: 12px !important; }
  html.web .grid, html.web .cfg, html.web .dash { grid-template-columns: 1fr !important; }
  html.web .card[style*="grid-column"] { grid-column: auto !important; }
  html.web .row { flex-wrap: wrap; }
  html.web table { display: block; overflow-x: auto; }
  html.web .tpl-body { grid-template-columns: 1fr !important; }
}
