/* ═══════════════════════════════════════════
   DASHBOARD.CSS
   Ecrã de dashboard (#screen-dashboard):
   cabeçalho com ações, tabela de dados,
   overlay de contagem decrescente e
   media queries de responsividade.
═══════════════════════════════════════════ */

#screen-dashboard { align-items: center; padding: 40px 20px; gap: 22px; }

/* ── Cabeçalho do dashboard ─────────────────── */
.dash-head    { display: flex; align-items: center; justify-content: space-between;
                width: 100%; max-width: 960px; flex-wrap: wrap; gap: 12px; }
.dash-head h2 { font-size: clamp(2rem, 6vw, 3.5rem); color: var(--accent); font-family: 'Bebas Neue', sans-serif; }
.dash-acts    { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Tabela de dados ────────────────────────── */
.table-wrap { width: 100%; max-width: 960px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }

table            { width: 100%; border-collapse: collapse; font-size: 11px; background: transparent; }
th               { text-align: left; padding: 12px 14px; font-size: 10px; letter-spacing: 1px;
                   text-transform: uppercase; color: var(--muted);
                   border-bottom: 1px solid var(--border); background: var(--surface); white-space: nowrap; }
td               { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td      { background: rgba(129,140,248,.04); }
.empty           { text-align: center; padding: 36px; color: var(--muted); font-size: 12px; }

/* ── Overlay de contagem decrescente ───────── */
.cdown-ov        { position: fixed; inset: 0; z-index: 500; background: rgba(12,14,20,.95); backdrop-filter: blur(5px);
                   display: flex; flex-direction: column;
                   align-items: center; justify-content: center; gap: 10px; }
.cdown-ov.hidden { display: none; }
.cdown-ov .cn    { font-family: 'Bebas Neue', sans-serif; font-size: 16rem; line-height: .85; color: var(--accent); text-shadow: 0 0 40px rgba(129,140,248,.3); }
.cdown-ov .cl    { font-size: 14px; letter-spacing: 5px; text-transform: uppercase;
                   color: var(--muted); }

/* ── Responsividade ─────────────────────────── */
@media (max-width: 480px) {
  .answer-zone { flex-direction: column; }
  .admin-cols  { flex-direction: column; }
}
