/* Bot Trend IA (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%), #070707; }
#webGate.hidden { display: none; }
#webGate .wg-card { width: 100%; max-width: 420px; background: #131313; border: 1px solid #2a2a2a; 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: #f2f2f2; }
#webGate .wg-mark { display: block; width: 36px; height: 36px; border-radius: 10px; }
#webGate h1 { margin: 22px 0 8px; font-size: 24px; color: #f2f2f2; }
#webGate .wg-sub { margin: 0 0 18px; color: #a3a3a3; 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; font-family: inherit; cursor: pointer; }
#webGate .wg-btn:hover { filter: brightness(1.08); }
#webGate .wg-btn.ghost { background: #1f1f1f; color: #f2f2f2; margin-top: 10px; }
#webGate .wg-btn.as-link { display: grid; place-items: center; text-decoration: none; }
#webGate .wg-foot a { color: #a3a3a3; }
#webGate .wg-field { display: block; margin: 0 0 12px; }
#webGate .wg-claim { margin-top: 14px; border-top: 1px solid #2a2a2a; padding-top: 12px; }
#webGate .wg-claim summary { cursor: pointer; color: #8ccaff; font-size: 14px; font-weight: 700; }
#webGate .wg-claim[open] summary { margin-bottom: 10px; }
#webGate .hidden { display: none; }
#webGate .wg-field span { display: block; margin-bottom: 6px; color: #a3a3a3; font-size: 12px; }
#webGate .wg-field input { width: 100%; height: 42px; box-sizing: border-box; border-radius: 10px; border: 1px solid #2a2a2a; background: #0f0f0f; color: #f2f2f2; padding: 0 12px; font: inherit; font-size: 14px; outline: none; }
#webGate .wg-field input:focus { border-color: #2aabee; }
/* entrada própria: abas Entrar / Criar conta */
#webGate .wg-tabs { display: flex; gap: 6px; margin: 0 0 16px; padding: 4px; border-radius: 12px; background: #0f0f0f; border: 1px solid #222; }
#webGate .wg-tabs button { flex: 1; height: 38px; border: 0; border-radius: 9px; background: transparent; color: #a3a3a3; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
#webGate .wg-tabs button.on { background: #ffb21e; color: #111; }
#webGate .wg-google { display: flex; justify-content: center; min-height: 44px; margin: 0 0 4px; }
#webGate .wg-or { display: flex; align-items: center; gap: 10px; margin: 12px 0 14px; color: #737373; font-size: 12px; }
#webGate .wg-or::before, #webGate .wg-or::after { content: ""; flex: 1; height: 1px; background: #262626; }
#webGate #wgForm .wg-btn { margin-top: 4px; }
#webGate .hidden { display: none !important; }

/* botão flutuante do grupo VIP (Telegram) */
#vipFab { position: fixed; left: 18px; bottom: 18px; z-index: 9000; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px;
  border-radius: 999px; background: #229ED9; color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; box-shadow: 0 10px 30px rgba(34, 158, 217, .35); transition: transform .15s, filter .15s; }
#vipFab:hover { transform: translateY(-2px); filter: brightness(1.08); }
@media (max-width: 820px) { #vipFab { left: 12px; bottom: 12px; height: 48px; width: 48px; padding: 0; justify-content: center; } #vipFab span { display: none; } }
#webGate .wg-foot { margin: 14px 0 0; color: #6b6b6b; 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; }
}
