/* ==========================================================================
   BACKUP FTP — Componentes da aplicacao (autenticacao, painel e admin)

   Reaproveita as variaveis, botoes e tipografia da landing page (site.css).
   Carregado depois de site.css em todas as paginas.
   ========================================================================== */

/* ============ 1. BOTOES COMPLEMENTARES ============ */
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }

.btn-perigo {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}
.btn-perigo:hover { background: rgba(239, 68, 68, 0.24); color: #fff; transform: translateY(-1px); }

.btn:disabled,
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.link-destaque { color: var(--sky-400); font-weight: 600; }
.link-destaque:hover { text-decoration: underline; }

.texto-suave { color: var(--text-muted); font-size: 14px; }
.subtitulo {
  font-family: var(--font-heading);
  font-size: 15px;
  margin: 22px 0 12px;
  color: var(--text);
}
.divisor { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }

/* ============ 2. MENSAGENS FLASH ============ */
.alertas { display: grid; gap: 10px; margin: 0 0 22px; }

.alerta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.5;
}
.alerta i { margin-top: 2px; }
.alerta span { flex: 1; }

.alerta-sucesso { border-color: rgba(16, 185, 129, 0.45); background: rgba(16, 185, 129, 0.12); }
.alerta-sucesso i { color: var(--accent); }
.alerta-erro { border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.12); }
.alerta-erro i { color: #f87171; }
.alerta-aviso { border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.12); }
.alerta-aviso i { color: #fbbf24; }
.alerta-info i { color: var(--sky-400); }

.alerta-fechar {
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  padding: 0 2px;
}
.alerta-fechar:hover { color: var(--text); }

/* ============ 2b. NOTIFICACOES (toasts) ============ */
.notificacoes {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 36px));
  pointer-events: none;
}

.notificacao {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--navy-800);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.55);
  font-size: 14px;
  line-height: 1.45;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity var(--transition), transform var(--transition);
}
.notificacao.visivel { opacity: 1; transform: translateX(0); }
.notificacao i { margin-top: 2px; }
.notificacao-texto { flex: 1; word-break: break-word; }

.notificacao-sucesso { border-color: rgba(16, 185, 129, 0.5); }
.notificacao-sucesso i { color: var(--accent); }
.notificacao-erro { border-color: rgba(239, 68, 68, 0.5); }
.notificacao-erro i { color: #f87171; }
.notificacao-aviso { border-color: rgba(245, 158, 11, 0.5); }
.notificacao-aviso i { color: #fbbf24; }
.notificacao-info i { color: var(--sky-400); }

.notificacao-fechar {
  font-size: 19px;
  line-height: 1;
  color: var(--text-muted);
  padding: 0 2px;
}
.notificacao-fechar:hover { color: var(--text); }

/* ============ 2c. MODAL DE CONFIRMACAO ============ */
.modal-fundo {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 8, 23, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--transition);
}
.modal-fundo.visivel { opacity: 1; }

.modal-caixa {
  width: min(440px, 100%);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--navy-900);
  box-shadow: 0 30px 70px rgba(2, 8, 23, 0.7);
  transform: translateY(10px) scale(0.98);
  transition: transform var(--transition);
}
.modal-fundo.visivel .modal-caixa { transform: translateY(0) scale(1); }

.modal-titulo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.modal-texto { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0; }

.modal-acoes {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* ============ 3. FORMULARIOS ============ */
.formulario { display: grid; gap: 16px; }

.formulario-linha {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: end;
}

.formulario-inline {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
}

.campo { display: grid; gap: 6px; min-width: 0; }
.campo-duplo { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.campo-acao { align-self: end; display: grid; gap: 10px; }

.campo > label,
.formulario-inline label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.campo-opcional { font-weight: 400; color: var(--text-muted); }

.campo input[type="text"],
.campo input[type="email"],
.campo input[type="password"],
.campo input[type="tel"],
.campo input[type="number"],
.campo input[type="date"],
.campo input[type="search"],
.campo select,
.campo textarea,
.formulario-inline input,
.formulario-inline select {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(5, 13, 31, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.campo input::placeholder { color: rgba(148, 163, 184, 0.7); }

.campo input:focus,
.campo select:focus,
.campo textarea:focus,
.formulario-inline input:focus,
.formulario-inline select:focus {
  outline: none;
  border-color: var(--sky-400);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.campo select { appearance: none; background-image: none; cursor: pointer; }
.campo select option { background: var(--navy-900); color: var(--text); }

.campo-ajuda { font-size: 12px; color: var(--text-muted); }
.campo-msg { font-size: 12px; color: #fca5a5; }

.campo-invalido input,
.campo-invalido select { border-color: rgba(239, 68, 68, 0.6); }

.campo-senha { position: relative; display: flex; }
.campo-senha input { padding-right: 46px; }
.btn-olho {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--text-muted);
}
.btn-olho:hover { color: var(--text); background: rgba(96, 165, 250, 0.12); }

.campo-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}
.campo-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }
.campo-checkbox span { flex: 1; }

.filtros {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: end;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* ============ 4. TELAS DE ACESSO ============ */
.pagina-auth { display: flex; min-height: 100vh; }

.auth-wrap {
  width: 100%;
  max-width: 520px;
  margin: auto;
  padding: 40px 20px;
  display: grid;
  gap: 18px;
  align-content: center;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  padding: 34px 30px;
}

.auth-logo { justify-content: center; margin-bottom: 24px; }
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head h1 { font-size: 1.6rem; margin-bottom: 8px; }
.auth-head p { color: var(--text-muted); font-size: 14px; }

.auth-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-rodape {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 6px;
}
.auth-rodape a:hover { color: var(--text); }

.erro-card { text-align: center; }
.erro-codigo {
  display: block;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(100deg, var(--sky-400), var(--royal-500) 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.erro-card .acoes { justify-content: center; margin-top: 24px; }

/* ============ 5. SHELL DO PAINEL ============ */
.pagina-painel { min-height: 100vh; }

.painel {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 100vh;
}

.painel-lateral {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 20px;
  background: rgba(10, 26, 58, 0.75);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow-y: auto;
  z-index: 20;
}

.painel-logo { margin-bottom: 6px; }
.painel-nav { display: grid; gap: 4px; flex: 1; align-content: start; }

.painel-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.painel-nav-item i { width: 18px; text-align: center; }
.painel-nav-item:hover { color: var(--text); background: rgba(96, 165, 250, 0.08); }
.painel-nav-item.ativo {
  color: var(--text);
  background: rgba(37, 99, 235, 0.22);
  border-color: var(--border-strong);
}
.painel-nav-admin { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 16px; border-radius: 0; }

.painel-usuario {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
}
.painel-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  background: linear-gradient(135deg, var(--royal-600), var(--sky-400));
  color: #fff;
}
.painel-usuario-dados { display: grid; gap: 2px; min-width: 0; }
.painel-usuario-dados strong { font-size: 14px; }
.painel-usuario-dados span { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; }
.painel-usuario-dados .badge { justify-self: start; margin-top: 4px; }

.painel-corpo { display: flex; flex-direction: column; min-width: 0; padding: 26px clamp(18px, 3vw, 38px) 60px; }

.painel-topo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.painel-topo-texto { flex: 1; min-width: 220px; }
.painel-topo-texto h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.painel-topo-texto p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.painel-topo-acoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.painel-menu {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface-glass);
}

.painel-main { display: grid; gap: 22px; align-content: start; }

/* ============ 6. CARTOES E GRADES ============ */
.cartao {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.cartao > * + * { margin-top: 14px; }

.cartao-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cartao-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}
.cartao-titulo i { color: var(--sky-400); }

.cartao-destaque { border-color: var(--border-strong); background: linear-gradient(140deg, rgba(37, 99, 235, 0.16), var(--surface)); }

.grade { display: grid; gap: 18px; }
.grade-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grade-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grade-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ============ 7. METRICAS ============ */
.metrica {
  position: relative;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  gap: 6px;
  align-content: start;
}
.metrica-icone {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 6px;
  color: var(--sky-400);
  background: rgba(37, 99, 235, 0.16);
}
.metrica-valor { font-family: var(--font-heading); font-size: 1.55rem; line-height: 1.1; }
.metrica-valor small { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.metrica-rotulo { font-size: 13px; color: var(--text-muted); }
.metrica-alerta { border-color: rgba(245, 158, 11, 0.45); }

/* ============ 8. TABELAS ============ */
.tabela-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }

.tabela { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.tabela-caption { caption-side: top; text-align: left; padding: 12px 14px; color: var(--text-muted); font-size: 13px; }

.tabela th,
.tabela td { padding: 12px 14px; text-align: left; vertical-align: top; }

.tabela thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(5, 13, 31, 0.55);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.tabela tbody tr + tr { border-top: 1px solid rgba(96, 165, 250, 0.09); }
.tabela tbody tr:hover { background: rgba(96, 165, 250, 0.05); }
.tabela td span.texto-suave { display: block; font-size: 12px; }

.linha-inativa { opacity: 0.6; }
.celula-acoes { white-space: nowrap; }
.celula-detalhes { max-width: 260px; }

/* ============ 9. BADGES, TAGS E BARRAS ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface-glass);
  color: var(--text-muted);
  white-space: nowrap;
}
.badge-ok { color: #6ee7b7; border-color: rgba(16, 185, 129, 0.45); background: rgba(16, 185, 129, 0.12); }
.badge-alerta { color: #fcd34d; border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.12); }
.badge-erro { color: #fca5a5; border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.12); }
.badge-neutro { color: var(--text-muted); }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sky-400);
  background: rgba(37, 99, 235, 0.16);
}
.tag-ok { color: #6ee7b7; background: rgba(16, 185, 129, 0.16); }
.tag-alerta { color: #fcd34d; background: rgba(245, 158, 11, 0.16); }
.tag-erro { color: #fca5a5; background: rgba(239, 68, 68, 0.16); }

.barra-bloco { display: grid; gap: 8px; margin-top: 16px; }
.barra-topo { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.barra { height: 8px; border-radius: 999px; background: rgba(5, 13, 31, 0.7); overflow: hidden; }
.barra-preenchida {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--royal-600), var(--sky-400));
}

/* ============ 10. LISTAS E DADOS ============ */
.dados-lista { display: grid; gap: 12px; }
.dados-lista > div { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: 12px; align-items: baseline; }
.dados-lista dt { font-size: 13px; color: var(--text-muted); }
.dados-lista dd { font-size: 14px; word-break: break-word; }
.dados-lista-compacta > div { grid-template-columns: minmax(100px, 140px) minmax(0, 1fr); }

.lista-simples { display: grid; gap: 2px; }
.lista-simples li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid rgba(96, 165, 250, 0.09);
  font-size: 14px;
}
.lista-simples li:last-child { border-bottom: 0; }
.lista-simples li > div:first-child { display: grid; gap: 2px; min-width: 0; }
.lista-simples-fim { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.lista-marcada { display: grid; gap: 8px; font-size: 14px; color: var(--text-muted); }
.lista-marcada li { padding-left: 20px; position: relative; }
.lista-marcada li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-400);
}

.vazio {
  padding: 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.aviso-caixa {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
  font-size: 14px;
  line-height: 1.5;
}
.aviso-caixa i { color: #fbbf24; margin-top: 3px; }
.aviso-ok { border-color: rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.1); }
.aviso-ok i { color: var(--accent); }
.aviso-erro { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.1); }
.aviso-erro i { color: #f87171; }

/* ============ 11. CODIGO E COPIA ============ */
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(5, 13, 31, 0.65);
  border: 1px solid var(--border);
}

.bloco-codigo {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(5, 13, 31, 0.75);
  border: 1px solid var(--border);
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}
.bloco-codigo code { background: none; border: 0; padding: 0; }

.copiavel { cursor: pointer; transition: border-color var(--transition), color var(--transition); }
.copiavel:hover { border-color: var(--sky-400); color: var(--sky-400); }
.copiavel.copiado { border-color: var(--accent); color: var(--accent); }

.bloco-token { display: block; padding: 12px 14px; word-break: break-all; line-height: 1.5; }

.credencial { border-color: var(--border-strong); background: linear-gradient(140deg, rgba(16, 185, 129, 0.12), var(--surface)); }

/* ============ 12. CONTAS FTP ============ */
.lista-contas { display: grid; gap: 16px; }

.conta-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  background: var(--surface-glass);
  display: grid;
  gap: 14px;
}
.conta-bloqueada { border-color: rgba(239, 68, 68, 0.3); }

.conta-topo { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.conta-topo h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1rem; }

.conta-limites { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.conta-limites i { color: var(--sky-400); margin-right: 4px; }

.conta-acoes summary,
.menu-acoes summary { cursor: pointer; font-size: 14px; color: var(--sky-400); }
.conta-acoes summary { list-style: none; padding: 8px 0; }
.conta-acoes[open] summary { margin-bottom: 8px; }

.conta-acoes-grade {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}

.acoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.menu-acoes { position: relative; }
.menu-acoes summary { list-style: none; display: inline-flex; }
.menu-acoes summary::-webkit-details-marker { display: none; }
.menu-acoes-corpo {
  position: absolute;
  right: 0;
  z-index: 15;
  width: 280px;
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  box-shadow: var(--shadow-card);
  white-space: normal;
}

/* ============ 13. PLANOS NO PAINEL ============ */
.plano-card { display: grid; gap: 12px; align-content: start; }
.plano-card .tag { justify-self: start; }
.plano-atual { border-color: var(--border-strong); }
.plano-destacado { box-shadow: var(--shadow-glow); border-color: var(--sky-400); }
.plano-nome { font-size: 1.2rem; }
.plano-preco { font-family: var(--font-heading); font-size: 1.7rem; }
.plano-preco small { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.plano-mini {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
}
.plano-mini h3 { font-size: 1rem; }
.plano-mini-preco { font-family: var(--font-heading); font-size: 1.3rem; }
.plano-mini-preco small { font-size: 0.8rem; color: var(--text-muted); }
.plano-mini ul { display: grid; gap: 4px; font-size: 13px; color: var(--text-muted); }

/* ============ 13b. PAGAMENTO DA FATURA (Pix e cartao) ============ */
.pagamento-opcoes { display: grid; gap: 12px; }

.pagamento-opcao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
  transition: border-color var(--transition);
}
.pagamento-opcao:hover { border-color: var(--border-strong); }

.pagamento-opcao-info { display: grid; gap: 2px; }
.pagamento-opcao-info strong { display: flex; align-items: center; gap: 8px; }
.pagamento-opcao-info i { color: var(--sky-400); }

.pix-bloco { align-items: start; }

.pix-qr {
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #fff;
}
.pix-qr img { width: 100%; max-width: 240px; height: auto; display: block; }

.bloco-titulo { font-size: 0.95rem; margin-bottom: 8px; }

.lista-passos {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding-left: 20px;
  list-style: decimal;
  font-size: 14px;
  color: var(--text-muted);
}
.lista-passos strong { color: var(--text); }

/* ============ 14. PAGINACAO ============ */
.paginacao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.pagina-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
}
.pagina-link:hover { border-color: var(--sky-400); background: rgba(96, 165, 250, 0.1); }

/* ============ 15. RESPONSIVO ============ */
@media (max-width: 1024px) {
  .painel { grid-template-columns: 1fr; }

  .painel-lateral {
    position: fixed;
    inset: 0 auto 0 0;
    width: 280px;
    transform: translateX(-102%);
    transition: transform var(--transition);
    box-shadow: 0 0 40px rgba(2, 8, 23, 0.6);
  }
  .painel-lateral.aberta { transform: translateX(0); }

  .painel-menu { display: grid; place-items: center; }
  .painel-corpo { padding-top: 20px; }

  .painel-sobreposicao {
    position: fixed;
    inset: 0;
    z-index: 15;
    background: rgba(2, 8, 23, 0.6);
    backdrop-filter: blur(2px);
  }
}

@media (max-width: 640px) {
  .cartao { padding: 18px 16px; }
  .dados-lista > div,
  .dados-lista-compacta > div { grid-template-columns: 1fr; gap: 2px; }
  .auth-card { padding: 26px 20px; }
  .metrica-valor { font-size: 1.35rem; }
  .menu-acoes-corpo { position: static; width: auto; }
}
