/* Identidade VertexHub (25/10/2026) — carregado DEPOIS de styles.css.
   Troca o tema violeta pelos tokens do site (src/app.css): navy, ciano,
   Sora nos títulos e Inter no corpo. Sobrescreve variáveis e os poucos
   componentes que tinham cor fixa; não reescreve a estrutura. */

:root {
    --vh-void: #060b18;
    --vh-dark: #0a0e1a;
    --vh-soft: #0f1526;
    --vh-surface: #141b2d;
    --vh-line: #1e293b;
    --vh-accent: #00d4ff;
    --vh-accent-hover: #00b8e6;
    --vh-teal: #14b8a6;
    --vh-text: #f1f5f9;
    --vh-muted: #94a3b8;

    --color-bg-deep: var(--vh-dark);
    --color-bg-card: var(--vh-surface);
    --color-bg-card-hover: #19223a;
    --color-border: var(--vh-line);
    --color-border-light: rgba(30, 41, 59, 0.6);
    --color-border-hover: rgba(0, 212, 255, 0.35);
    --color-text-primary: var(--vh-text);
    --color-text-secondary: var(--vh-muted);
    --color-accent-primary: var(--vh-accent);
    --color-accent-secondary: var(--vh-teal);
    --color-accent-gradient: var(--vh-accent);
    --color-accent-gradient-hover: var(--vh-accent-hover);
    --color-accent-glow: rgba(0, 212, 255, 0.22);
    --color-info: var(--vh-accent);
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-sm: none;
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: none;
    --shadow-glass: none;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Sora', 'Inter', system-ui, sans-serif;
}

body { background: var(--vh-dark); }
h1, h2, h3, .text-display, .text-headline, .text-title, .stat-value { font-family: var(--font-display); letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--vh-accent); outline-offset: 2px; }

/* ── Menu lateral: mais leve, com o logotipo ───────────────────────────── */
.sidebar { background: var(--vh-void); backdrop-filter: none; padding: 1.75rem 1rem; width: 248px; }
.main-content { margin-left: 248px; }
.sidebar-brand { margin-bottom: 2rem; padding: 0 0.5rem; gap: 0.5rem; }
.sidebar-brand img { height: 28px; width: auto; display: block; }
.sidebar-brand .selo { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--vh-muted); }
.sidebar-nav { gap: 0.25rem; }
.nav-item { padding: 0.7rem 0.9rem; gap: 0.75rem; font-size: 0.925rem; border-radius: 10px; }
.nav-item:hover { background: rgba(0, 212, 255, 0.05); border-color: transparent; }
.nav-item.active { background: rgba(0, 212, 255, 0.10); border-color: transparent; box-shadow: inset 3px 0 0 var(--vh-accent); color: var(--vh-text); }
.nav-item.active .icon { color: var(--vh-accent); }

.topbar { background: rgba(10, 14, 26, 0.85); height: 64px; padding: 0 1.75rem; }
.topbar .perfil { border: 1px solid var(--vh-line) !important; background: var(--vh-soft); }
.topbar .perfil .avatar { background: var(--vh-accent) !important; color: var(--vh-void); }
.content-wrapper { padding: 2rem 1.75rem; background: transparent; }

/* ── Cartões: planos, sem elevação ao passar o mouse ───────────────────── */
.card, .stat-card { backdrop-filter: none; box-shadow: none; padding: 1.5rem; }
.card:hover, .stat-card:hover { transform: none; box-shadow: none; background: var(--vh-surface); border-color: rgba(0, 212, 255, 0.28); }
.stat-icon { background: rgba(0, 212, 255, 0.08); border-color: rgba(0, 212, 255, 0.18); color: var(--vh-accent); }
.stat-card:hover .stat-icon { transform: none; }

/* ── Botões e campos ───────────────────────────────────────────────────── */
.btn-primary { background: var(--vh-accent); color: var(--vh-void); box-shadow: none; font-weight: 700; }
.btn-primary:hover { background: var(--vh-accent-hover); box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15); transform: none; }
.btn-secondary { background: transparent; border-color: var(--vh-line); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(0, 212, 255, 0.35); }
.form-input { background: var(--vh-soft); border-color: var(--vh-line); }
.form-input:focus { border-color: var(--vh-accent); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.16); outline: none; }
.auth-notice { background: rgba(0, 212, 255, 0.08); border-color: rgba(0, 212, 255, 0.3); color: #7be6ff; }
a { color: var(--vh-accent); }
::-webkit-scrollbar-thumb:hover { background: var(--vh-accent); }

/* ── Entrar / cadastrar: painel de marca + formulário ──────────────────── */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); background:
    radial-gradient(900px 480px at 8% -10%, rgba(0, 212, 255, 0.14), transparent 60%),
    radial-gradient(700px 420px at 100% 110%, rgba(20, 184, 166, 0.10), transparent 60%),
    var(--vh-dark); }
.auth-aside { display: none; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1.25rem; gap: 1.5rem; }
.auth-main .auth-logo { height: 30px; width: auto; }
.auth-container { min-height: 0; padding: 0; width: 100%; display: block; background: none; }
.auth-card { margin: 0 auto; max-width: 440px; width: 100%; backdrop-filter: none; background: var(--vh-surface); border: 1px solid var(--vh-line); box-shadow: var(--shadow-md); border-radius: 16px; padding: 2rem; }
.auth-card .text-title { font-family: var(--font-display); }
.auth-brand { display: none; }
.auth-legal { font-size: 12px; color: var(--vh-muted); text-align: center; max-width: 440px; }

@media (min-width: 960px) {
    .auth-shell { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
    .auth-aside { display: flex; flex-direction: column; justify-content: space-between; padding: 3rem 3.5rem; border-right: 1px solid var(--vh-line); background: linear-gradient(180deg, rgba(15, 21, 38, 0.6), rgba(6, 11, 24, 0.9)); }
    .auth-aside img { height: 34px; width: auto; }
    .auth-aside h1 { font-family: var(--font-display); font-size: 2.35rem; line-height: 1.15; font-weight: 700; margin: 0 0 1rem; color: var(--vh-text); }
    .auth-aside h1 em { font-style: normal; color: var(--vh-accent); }
    .auth-aside p { color: var(--vh-muted); font-size: 1rem; line-height: 1.6; max-width: 30rem; }
    .auth-points { list-style: none; display: grid; gap: 1rem; margin-top: 2.25rem; }
    .auth-points li { display: flex; gap: .85rem; align-items: flex-start; color: var(--vh-text); font-size: .95rem; line-height: 1.45; }
    .auth-points svg { flex: none; width: 22px; height: 22px; color: var(--vh-accent); margin-top: 1px; }
    .auth-points span { color: var(--vh-muted); display: block; font-size: .85rem; }
    .auth-aside small { color: var(--vh-muted); font-size: 12px; }
    .auth-main .auth-logo { display: none; }
}

/* ── Celular: navegação por barra inferior, menu lateral some ──────────── */
@media (max-width: 768px) {
    .main-content { margin-left: 0; padding-bottom: 72px; }
    .topbar { padding: 0 1rem; }
    .content-wrapper { padding: 1.25rem 1rem; }
    .tabbar { display: grid; }
}
.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; grid-template-columns: repeat(4, 1fr); background: var(--vh-void); border-top: 1px solid var(--vh-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font-size: 11px; color: var(--vh-muted); text-decoration: none; border-radius: 8px; }
.tabbar a.active { color: var(--vh-accent); }
.tabbar svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Formulário mais compacto: a tela de cadastro tem sete campos. */
.auth-form { gap: 0; }
.form-group { margin-bottom: 0.95rem; gap: 0.35rem; }
.auth-aside img { align-self: flex-start; }
.auth-card { padding: 1.75rem 2rem; }

/* Tipo da chave PIX detectado enquanto digita. */
.tipo-pix { min-height: 1.1em; font-size: 0.8rem; color: var(--vh-muted); }
.tipo-pix[data-tipo]:not([data-tipo=""]) { color: var(--vh-accent); font-weight: 600; }

/* O link pessoal e o botão Desativar usavam classes utilitárias que a folha de
   estilo nunca definiu: o campo ficava branco com texto branco (invisível). */
input[readonly] { background: var(--vh-soft); color: var(--vh-text); border: 1px solid var(--vh-line); border-radius: 8px; padding: 0.55rem 0.75rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }
input[readonly]:focus { outline: 2px solid var(--vh-accent); outline-offset: 1px; }
.card button.text-danger-500 { background: transparent; color: #f87171; border: 1px solid rgba(248, 113, 113, 0.35); border-radius: 8px; padding: 0.4rem 0.9rem; font-weight: 600; cursor: pointer; }
.card button.text-danger-500:hover { background: rgba(248, 113, 113, 0.12); color: #fca5a5; }
.card .text-primary.font-bold { color: var(--vh-accent); }
.card .bg-accent\/20, .card .bg-danger-500\/20 { padding: 0.15rem 0.5rem; border-radius: 6px; }
.card .bg-accent\/20 { background: rgba(0, 212, 255, 0.14); color: var(--vh-accent); }
