/* ============================================================
   VeriCom — style.css (Dashboard)
   Paleta: Navy Profundo + Gold Âmbar + Ice White
   Estética: Premium Law Firm · Dark Sidebar · Clean Content
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── Tokens de Design ────────────────────────────────────── */
:root {
  /* Navy */
  --navy-950:    #0e1c2f;
  --navy-900:    #1a2b45;
  --navy-800:    #213453;
  --navy-700:    #2e5080;
  --navy-600:    #3a6498;

  /* Gold */
  --gold-500:    #c9973a;
  --gold-400:    #d9aa52;
  --gold-300:    #e8c27a;
  --gold-100:    #fdf3e0;
  --gold-glow:   rgba(201,151,58,.22);
  --gold-glow-lg:rgba(201,151,58,.14);

  /* Ice */
  --ice-50:      #f7f9fc;
  --ice-100:     #eef2f8;
  --ice-200:     #dce5f0;
  --ice-300:     #9fb4cc;

  /* Texto */
  --text-title:  #1a2b45;
  --text-mid:    #4a617e;
  --text-light:  #7a94ae;
  --text-xlight: #a8bdd0;

  /* Semânticas */
  --success:       #2ea86e;
  --success-bg:    rgba(46,168,110,.10);
  --warning:       #d9873a;
  --warning-bg:    rgba(217,135,58,.10);
  --danger:        #d94f4f;
  --danger-bg:     rgba(217,79,79,.10);
  --info:          #3a7fd9;
  --info-bg:       rgba(58,127,217,.10);

  /* Sidebar */
  --sidebar-w:     256px;
  --sidebar-w-col: 72px;

  /* Miscelânea */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --transition:  0.28s cubic-bezier(.4,0,.2,1);
  --shadow-sm:   0 1px 4px rgba(26,43,69,.07), 0 2px 8px rgba(26,43,69,.05);
  --shadow-md:   0 4px 16px rgba(26,43,69,.10), 0 1px 4px rgba(26,43,69,.07);
  --shadow-lg:   0 8px 32px rgba(26,43,69,.13), 0 2px 8px rgba(26,43,69,.08);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--ice-50);
  color: var(--text-title);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ════════════════════════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-w);
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(201,151,58,.14);
  z-index: 200;
  transition: transform var(--transition), width var(--transition);
  overflow: hidden;
}

/* Efeito de brilho sutil no topo */
.sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: .7;
}

/* ── Logo ─────────────────────────────────────────────────── */
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 26px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--navy-950);
  flex-shrink: 0;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  white-space: nowrap;
}

.logo-text span { color: var(--gold-400); }

/* ── Nav ──────────────────────────────────────────────────── */
.sidebar-nav {
  flex: 1;
  padding: 20px 12px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-nav::-webkit-scrollbar { width: 3px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 99px; }

.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  padding: 0 12px;
  margin: 20px 0 8px;
}

.nav-section-label:first-child { margin-top: 0; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.55);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  position: relative;
  white-space: nowrap;
  margin-bottom: 2px;
}

.nav-item i {
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  transition: color var(--transition);
}

.nav-item:hover {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
}

.nav-item.active {
  background: rgba(201,151,58,.14);
  color: var(--gold-400);
}

.nav-item.active i { color: var(--gold-400); }

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--gold-500);
}

/* Badge de contagem */
.nav-badge {
  margin-left: auto;
  background: rgba(201,151,58,.22);
  color: var(--gold-400);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  flex-shrink: 0;
}

/* ── Footer da Sidebar ────────────────────────────────────── */
.sidebar-footer {
  padding: 16px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 14px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border: 2px solid rgba(201,151,58,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-300);
  flex-shrink: 0;
  letter-spacing: .02em;
}

.user-info { overflow: hidden; flex: 1; min-width: 0; }

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 11px;
  color: rgba(255,255,255,.32);
  white-space: nowrap;
}

.btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(217,79,79,.25);
  background: rgba(217,79,79,.06);
  color: rgba(217,79,79,.75);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-logout:hover {
  background: rgba(217,79,79,.14);
  color: var(--danger);
  border-color: rgba(217,79,79,.45);
}

/* ════════════════════════════════════════════════════════════
   MAIN WRAPPER
════════════════════════════════════════════════════════════ */
.main-wrapper {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left var(--transition);
}

/* ════════════════════════════════════════════════════════════
   HEADER TOPBAR
════════════════════════════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,249,252,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ice-200);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.topbar-greeting {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.2;
}

.topbar-greeting span { color: var(--gold-500); }

.topbar-tenant {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 5px;
}

.topbar-tenant i { font-size: 10px; color: var(--gold-500); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Botão hamburguer — oculto no desktop, visível via media query */
#menuToggle { display: none; }

/* Botão de notificação */
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ice-200);
  background: var(--white, #fff);
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  position: relative;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn-icon:hover {
  background: var(--ice-100);
  border-color: var(--ice-200);
  color: var(--text-title);
}

.btn-icon .notif-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 2px solid var(--ice-50);
}

/* Data/hora pill */
.topbar-date {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ice-200);
  background: var(--white, #fff);
  font-size: 12.5px;
  color: var(--text-mid);
  font-weight: 500;
  white-space: nowrap;
}

.topbar-date i { color: var(--gold-500); font-size: 12px; }

/* ════════════════════════════════════════════════════════════
   CONTEÚDO PRINCIPAL
════════════════════════════════════════════════════════════ */
.content {
  padding: 36px 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

/* ── Card Base ────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ice-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════
   HERO CARD — Gerar Novo Link
════════════════════════════════════════════════════════════ */
.hero-card {
  background: var(--navy-900);
  border: 1px solid rgba(201,151,58,.18);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Textura de grade no hero */
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,151,58,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,151,58,.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Brilho dourado no canto */
.hero-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow-lg) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}

.hero-eyebrow i { font-size: 10px; }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  font-weight: 300;
  max-width: 400px;
  line-height: 1.65;
}

.hero-action { position: relative; z-index: 1; flex-shrink: 0; }

/* ── Botão Primário ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  height: 52px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-300) 100%);
  color: var(--navy-950);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 6px 24px var(--gold-glow), 0 2px 8px rgba(26,43,69,.15);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.3) 0%, transparent 55%);
  transform: translateX(-100%);
  transition: transform .42s cubic-bezier(.4,0,.2,1);
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,151,58,.38), 0 4px 12px rgba(26,43,69,.12);
  filter: brightness(1.05);
}

.btn-primary:active { transform: translateY(0); filter: brightness(.96); }

/* Botão Secundário */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ice-200);
  background: #fff;
  color: var(--text-mid);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn-secondary:hover {
  background: var(--ice-50);
  border-color: var(--ice-300);
  color: var(--text-title);
  box-shadow: var(--shadow-sm);
}

/* Botão Ghost */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.btn-ghost:hover { background: var(--ice-100); color: var(--text-title); }

/* ════════════════════════════════════════════════════════════
   GRID DE MÉTRICAS
════════════════════════════════════════════════════════════ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.metric-card {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-light);
}

.metric-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.metric-icon.gold  { background: var(--gold-100); color: var(--gold-500); }
.metric-icon.green { background: var(--success-bg); color: var(--success); }
.metric-icon.blue  { background: var(--info-bg); color: var(--info); }
.metric-icon.red   { background: var(--danger-bg); color: var(--danger); }

.metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1;
}

.metric-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-light);
}

.metric-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
}

.metric-delta.up   { background: var(--success-bg); color: var(--success); }
.metric-delta.down { background: var(--danger-bg);  color: var(--danger); }
.metric-delta.flat { background: var(--info-bg);    color: var(--info); }

/* ════════════════════════════════════════════════════════════
   TABELA DE ÚLTIMAS VERIFICAÇÕES
════════════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--ice-200);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-title);
}

.section-title i {
  font-size: 14px;
  color: var(--gold-500);
}

.section-count {
  font-size: 11px;
  font-weight: 700;
  background: var(--ice-100);
  color: var(--text-mid);
  padding: 2px 9px;
  border-radius: 99px;
  border: 1px solid var(--ice-200);
}

/* Tabela */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  background: var(--ice-50);
  border-bottom: 1px solid var(--ice-200);
}

thead th {
  padding: 12px 28px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--ice-100);
  transition: background var(--transition);
}

tbody tr:last-child { border-bottom: none; }

tbody tr:hover { background: var(--ice-50); }

tbody td {
  padding: 16px 28px;
  font-size: 14px;
  color: var(--text-title);
  vertical-align: middle;
}

/* Célula de cliente */
.td-client {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ice-100);
  border: 1.5px solid var(--ice-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  flex-shrink: 0;
}

.client-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-title);
}

.client-info span {
  font-size: 12px;
  color: var(--text-light);
}

/* Tipo de verificação */
.td-type {
  font-size: 12.5px;
  color: var(--text-mid);
}

/* Data */
.td-date {
  font-size: 13px;
  color: var(--text-mid);
  white-space: nowrap;
}

.td-date span {
  display: block;
  font-size: 11px;
  color: var(--text-light);
}

/* ── Status Badge ─────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-badge.concluido {
  background: var(--success-bg);
  color: var(--success);
}

.status-badge.concluido::before { background: var(--success); }

.status-badge.pendente {
  background: var(--warning-bg);
  color: var(--warning);
}

.status-badge.pendente::before { background: var(--warning); }

.status-badge.expirado {
  background: var(--danger-bg);
  color: var(--danger);
}

.status-badge.expirado::before { background: var(--danger); }

.status-badge.enviado {
  background: var(--info-bg);
  color: var(--info);
}

.status-badge.enviado::before { background: var(--info); }

/* Botão Ver */
.btn-ver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ice-200);
  background: #fff;
  color: var(--text-mid);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-ver:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
  background: var(--gold-100);
}

/* ════════════════════════════════════════════════════════════
   LINHA INFERIOR: Atividade Recente + Acesso Rápido
════════════════════════════════════════════════════════════ */
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

/* ── Feed de atividade ────────────────────────────────────── */
.activity-list {
  padding: 8px 0;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--ice-100);
  transition: background var(--transition);
}

.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: var(--ice-50); }

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.activity-dot.success { background: var(--success); box-shadow: 0 0 0 3px var(--success-bg); }
.activity-dot.warning { background: var(--warning); box-shadow: 0 0 0 3px var(--warning-bg); }
.activity-dot.info    { background: var(--info);    box-shadow: 0 0 0 3px var(--info-bg); }
.activity-dot.danger  { background: var(--danger);  box-shadow: 0 0 0 3px var(--danger-bg); }

.activity-body { flex: 1; min-width: 0; }

.activity-text {
  font-size: 13.5px;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 3px;
}

.activity-text strong { font-weight: 600; }

.activity-time {
  font-size: 11.5px;
  color: var(--text-light);
}

/* ── Acesso Rápido ────────────────────────────────────────── */
.quick-list {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
  color: var(--text-title);
}

.quick-item:hover {
  background: var(--ice-50);
  border-color: var(--ice-200);
}

.quick-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--ice-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-mid);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.quick-item:hover .quick-item-icon {
  background: var(--gold-100);
  color: var(--gold-500);
}

.quick-item-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-title);
}

.quick-item-text span {
  font-size: 11.5px;
  color: var(--text-light);
}

.quick-item-arrow {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-xlight);
  transition: transform var(--transition), color var(--transition);
}

.quick-item:hover .quick-item-arrow {
  transform: translateX(3px);
  color: var(--gold-500);
}

/* ════════════════════════════════════════════════════════════
   OVERLAY SIDEBAR MOBILE
════════════════════════════════════════════════════════════ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14,28,47,.55);
  z-index: 190;
  backdrop-filter: blur(3px);
}

/* ════════════════════════════════════════════════════════════
   ANIMAÇÕES DE ENTRADA
════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-card      { animation: fadeUp .55s .05s both; }
.metrics-grid   { animation: fadeUp .55s .15s both; }
.card.table-card{ animation: fadeUp .55s .25s both; }
.bottom-grid    { animation: fadeUp .55s .35s both; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVIDADE
════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .bottom-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Abaixo de 800px: sidebar vira drawer, botão hamburguer aparece ── */
@media (max-width: 800px) {

  /* Garante que o grid do formulário de edição vire uma coluna só */
    #formEditarCliente > div {
        grid-template-columns: 1fr !important;
    }

    /* Força a exibição de colunas que ocupavam 2 espaços */
    #formEditarCliente .form-group {
        grid-column: span 1 !important;
    }

    /* Se houver algum conflito de herança ocultando inputs, forçamos a visibilidade */
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        display: block !important;
        width: 100% !important;
    }
    
  /* Zera a variável para o main-wrapper não recuar */
  :root { --sidebar-w: 0px; }

  /* Sidebar sai da tela por padrão */
  .sidebar {
    transform: translateX(-100%);
    width: 256px;
  }

  /* Sidebar aberta via JS (.open) */
  .sidebar.open {
    transform: translateX(0);
  }

  /* Overlay visível quando sidebar está aberta */
  .sidebar-overlay.visible {
    display: block;
  }

  /* Conteúdo ocupa largura total */
  .main-wrapper { margin-left: 0; }

  /* Topbar: padding reduzido e botão hamburguer visível */
  .topbar { padding: 0 20px; }
  #menuToggle { display: flex !important; }

  /* Pill de data some para ganhar espaço */
  .topbar-date { display: none; }

  /* Conteúdo com padding menor */
  .content { padding: 24px 20px 48px; }

  /* Hero card empilha verticalmente */
  .hero-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .hero-action { width: 100%; }
  .btn-primary { width: 100%; justify-content: center; }

  /* Métricas: 2 colunas */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Abaixo de 480px: métricas em coluna única, tabela simplificada ── */
@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  thead th:nth-child(3),
  tbody td:nth-child(3) { display: none; }
}

/* ── Scrollbar global ─────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--ice-100); }
::-webkit-scrollbar-thumb { background: var(--ice-300); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-xlight); }


/* ── Alertas Inline ──────────────────────────────────────── */
.vc-alert {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    animation: fadeInDown 0.4s ease-out;
    border-width: 1px;
    border-style: solid;
}

.vc-alert--success {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.vc-alert--error {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.vc-alert__icon {
    margin-right: 12px;
    font-size: 18px;
}

.vc-alert__text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.vc-alert__close {
    background: transparent;
    border: none;
    color: currentColor;
    opacity: 0.6;
    cursor: pointer;
    padding: 5px;
    transition: opacity 0.2s;
}


/* ── Rodapé e botões do form footer ──────────────────────────────────────── */
.form-footer {
    padding: 20px 32px 28px;
    border-top: 1px solid var(--ice-200);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: var(--ice-50);
    flex-wrap: wrap;
}

.btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--ice-200);
    background: #fff;
    color: var(--text-mid);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .22s, border-color .22s, color .22s;
    cursor: pointer;
}

.btn-cancel:hover {
    background: var(--ice-50);
    border-color: var(--ice-300);
    color: var(--text-title);
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 28px;
    border-radius: var(--radius-md);
    border: none;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    color: var(--navy-950);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(201,151,58,.28), 0 2px 6px rgba(26,43,69,.1);
    transition: transform .22s, box-shadow .22s, filter .22s;
}

.btn-save::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.26) 0%, transparent 60%);
    transform: translateX(-100%);
    transition: transform .42s cubic-bezier(.4,0,.2,1);
}

.btn-save:hover::before { transform: translateX(100%); }
.btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(201,151,58,.35), 0 3px 8px rgba(26,43,69,.1);
    filter: brightness(1.04);
}
.btn-save:active { transform: translateY(0); filter: brightness(.96); }

.vc-alert__close:hover { opacity: 1; }

/* Estilo do botão Confirmar no Alerta */
.btn-save-alert {
    padding: 5px 24px !important;
    height: 44px !important;
    border-radius: var(--radius-md) !important;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300)) !important;
    color: var(--navy-950) !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(201,151,58,.2) !important;
}

/* Estilo do botão Cancelar no Alerta */
.btn-cancel-alert {
    background: #fff !important;
    color: var(--text-mid) !important;
    border: 1.5px solid var(--ice-200) !important;
    height: 44px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Seção interna ────────────────────────────────────────── */
.form-section {
    margin-bottom: 28px;
}

.form-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ice-200);
}

.form-section-label i { color: var(--gold-500); font-size: 12px; }

/* ── Grid e Grupos ────────────────────────────────────────── */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group--full { grid-column: span 2; }

.form-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label i { color: var(--gold-500); font-size: 11px; }

/* ── Inputs e selects ─────────────────────────────────────── */
.form-input,
.form-select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--ice-200);
    background: var(--ice-50);
    color: var(--text-title);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: border-color .22s, background .22s, box-shadow .22s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--text-light);
    font-weight: 300;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--gold-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201,151,58,.16);
}

/* Wrapper do select com seta customizada */
.form-select-wrap {
    position: relative;
}

.form-select-wrap .form-select { padding-right: 36px; cursor: pointer; }

.form-select-arrow {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--text-light);
    pointer-events: none;
}

/* Autocomplete fix */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 100px var(--ice-50) inset;
    -webkit-text-fill-color: var(--text-title);
    transition: background-color 5000s;
}


/* ── Container central ────────────────────────────────────── */
.form-container {
    max-width: 800px; /* Ou 780px, desde que seja o mesmo valor */
    margin: 0 auto;
    width: 100%;
}

/* ── Card do formulário ───────────────────────────────────── */
.form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--ice-200);
    box-shadow: 0 2px 10px rgba(26,43,69,.07), 0 1px 3px rgba(26,43,69,.04);
    overflow: hidden;
}

/* Linha dourada no topo */
.form-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.form-card-body {
    padding: 32px;
}

/* ── Cabeçalho ────────────────────────────────────────────── */
.form-header {
    margin-bottom: 24px;
}

.form-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-500);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color .22s;
}

.form-breadcrumb i { font-size: 11px; transition: transform .22s; }
.form-breadcrumb:hover { color: var(--navy-700); }
.form-breadcrumb:hover i { transform: translateX(-3px); }

.form-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 6px;
}

.form-header__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    color: var(--text-title);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-header__title-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: rgba(201,151,58,.12);
    border: 1.5px solid rgba(201,151,58,.24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold-500);
    flex-shrink: 0;
}

/* ── Responsividade ───────────────────────────────────────── */
@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group--full { grid-column: span 1; }
    .form-card-body { padding: 22px 18px; }
    .form-footer { padding: 16px 18px 22px; flex-direction: column; align-items: stretch; }
    .btn-cancel, .btn-save { justify-content: center; }
}

   /* ── Campo de busca ───────────────────────────────────────── */
.vc-search-form { display: flex; align-items: center; }

.vc-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  background: var(--ice-50);
  border: 1.5px solid var(--ice-200);
  border-radius: var(--radius-md);
  padding: 0 12px 0 36px;
  transition: border-color .25s, box-shadow .25s;
  min-width: 320px;
  max-width: 700px;
}

.vc-search-wrap:focus-within {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,151,58,.15);
  background: #fff;
}

.vc-search-icon {
  position: absolute;
  left: 12px;
  font-size: 13px;
  color: var(--text-light);
  pointer-events: none;
}

.vc-search-input {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  color: var(--text-title);
  width: 100%;
}

.vc-search-input::placeholder { color: var(--text-light); }

.vc-search-clear {
  display: flex;
  align-items: center;
  color: var(--text-light);
  font-size: 13px;
  text-decoration: none;
  margin-left: 6px;
  transition: color .2s;
  flex-shrink: 0;
}

.vc-search-clear:hover { color: var(--danger); }



/* ── Feedback de busca ativa ──────────────────────────────── */
.vc-search-feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  font-size: 13px;
  color: var(--text-mid);
  background: var(--ice-50);
  border-bottom: 1px solid var(--ice-200);
}

.vc-search-feedback i { color: var(--gold-500); font-size: 12px; }

.vc-search-feedback__clear {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-500);
  text-decoration: none;
  transition: color .2s;
}

.vc-search-feedback__clear:hover { color: var(--navy-700); }


.vc-search-wrap {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.vc-search-btn {
    background: rgb(129, 128, 128); /* Usando sua cor padrão dourada */
    color: #fff;
    border: none;
    width: 32px;
    height: 25px;
    border-radius: 6px;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.vc-search-btn:hover {
    background: silver;
}

/* Ajuste o padding do input para não esconder o texto atrás do botão */
.vc-search-input {
    padding-right: 40px; /* Espaço para o botão */
}


/* ── Paginação ────────────────────────────────────────────── */
.vc-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-top: 1px solid var(--ice-200);
  flex-wrap: wrap;
  gap: 12px;
}

.vc-pagination__info {
  font-size: 13px;
  color: var(--text-light);
}

.vc-pagination__btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vc-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .22s;
}

.vc-page-btn--active {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  pointer-events: none;
}

.vc-page-btn--disabled {
  opacity: .35;
  pointer-events: none;
  cursor: default;
}

.vc-page-ellipsis {
  font-size: 13px;
  color: var(--text-light);
  padding: 0 4px;
}

/* ── Tabela ───────────────────────────────────────────────── */
.hist-table-wrap { overflow-x: auto; }

.hist-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 860px;
}

.hist-table thead tr {
    background: var(--ice-50);
    border-bottom: 1px solid var(--ice-200);
}

.hist-table thead th {
    padding: 13px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-light);
    white-space: nowrap;
}

.hist-table tbody tr {
    border-bottom: 1px solid var(--ice-100);
    transition: background .18s;
}

.hist-table tbody tr:last-child { border-bottom: none; }
.hist-table tbody tr:hover { background: var(--ice-50); }

.hist-table tbody td {
    padding: 15px 22px;
    font-size: 13.5px;
    color: var(--text-title);
    vertical-align: middle;
}

/* Célula de data + título */
.hist-date {
    font-size: 11.5px;
    color: var(--text-light);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hist-date i { font-size: 10px; color: var(--ice-300); }

.hist-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-title);
    line-height: 1.3;
    margin-bottom: 3px;
}

.hist-attachment {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--navy-700);
    background: var(--ice-100);
    border: 1px solid var(--ice-200);
    padding: 2px 8px;
    border-radius: 99px;
    margin-top: 2px;
}


/* Empty state */
.hist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 52px 24px;
    text-align: center;
}

.hist-empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ice-100);
    border: 1.5px solid var(--ice-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 14px;
}

.hist-empty-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 5px;
}

.hist-empty-sub {
    font-size: 13px;
    color: var(--text-light);
}

/* Avatar do usuário */
.hist-user {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hist-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    color: var(--gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    border: 1.5px solid var(--ice-200);
}

.hist-attachment i { font-size: 10px; color: var(--gold-500); } 


/* Badges de status — usando o sistema VeriCom */
.hist-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.hist-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hist-badge--lida {
    background: rgba(46,168,110,.10);
    color: var(--success);
}

.hist-badge--lida::before { background: var(--success); }

.hist-badge--pendente {
    background: rgba(217,135,58,.10);
    color: var(--warning);
}

.hist-badge--pendente::before { background: var(--warning); }

/* Botões de ação na tabela */
.hist-btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ice-200);
    background: #fff;
    color: var(--text-mid);
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
    flex-shrink: 0;
}

.hist-btn-view:hover {
    background: var(--gold-100);
    border-color: rgba(201,151,58,.38);
    color: var(--gold-500);
    transform: scale(1.06);
}

.hist-btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ice-200);
    background: #fff;
    color: var(--text-light);
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}

.hist-btn-delete:hover {
    background: rgba(217,79,79,.08);
    border-color: rgba(217,79,79,.3);
    color: var(--danger);
    transform: scale(1.06);
}

/* Botão de Importação - Estilo VeriCom */
.btn-import {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: var(--gold-500);
    border: 1px solid var(--gold-500);
    border-radius: var(--radius-md);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-import:hover {
    background: var(--gold-glow);
    color: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--gold-glow);
}

.btn-import i {
    font-size: 16px;
}

/* Botão de Importação - Estilo VeriCom */
.btn-upload {
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    padding: 10px 24px;
    background-color: var(--gold-500) !important; /* Fundo Navy para destacar o texto branco */
    border: 1px solid var(--gold-500) !important; /* Borda Dourada solicitada */
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-upload:hover {
    background: var(--gold-glow);
    color: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--gold-glow);
}

.btn-upload i {
    font-size: 16px;
}

    /* ── Cabeçalho da Listagem ───────────────────────────────── */
    .list-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 28px;
        flex-wrap: wrap;
        gap: 16px;
    }

    .list-header__title {
        font-family: 'Playfair Display', serif;
        font-size: 26px;
        font-weight: 700;
        color: var(--navy-950);
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* ── Tabela Customizada ───────────────────────────────────── */
    .table-card {
        background: #fff;
        border-radius: var(--radius-lg);
        border: 1px solid var(--ice-200);
        box-shadow: 0 4px 20px rgba(26, 43, 69, 0.05);
        overflow: hidden;
    }

    .custom-table {
        width: 100%;
        border-collapse: collapse;
        text-align: left;
    }

    .custom-table thead {
        background: var(--ice-50);
        border-bottom: 1px solid var(--ice-200);
    }

    .custom-table th {
        padding: 16px 24px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text-light);
    }

    .custom-table td {
        padding: 18px 24px;
        font-size: 14px;
        color: var(--text-title);
        border-bottom: 1px solid var(--ice-100);
        vertical-align: middle;
    }

    /* ── Status Badge ────────────────────────────────────────── */
    .badge {
        display: inline-flex;
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
    }
    .badge--ativo { background: #ecfdf5; color: #059669; }
    .badge--teste { background: #fffbeb; color: #d97706; }
    .badge--inativo { background: #fef2f2; color: #dc2626; }

    /* ── Ações ───────────────────────────────────────────────── */
    .actions-group {
        display: flex;
        gap: 8px;
    }

    .btn-action {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid var(--ice-200);
        background: #fff;
        color: var(--text-mid);
        transition: all 0.2s;
        cursor: pointer;
    }

    .btn-action:hover {
        transform: translateY(-2px);
    }

    .btn-action--edit:hover {
        background: var(--navy-50);
        color: var(--navy-700);
        border-color: var(--navy-200);
    }

    .btn-action--delete {
        background: #e11d48;
        color: #fff;
        border-color: #fecdd3;
    }

  

    /* ── Rodapé da Tabela e Paginador ────────────────────────── */
    .table-footer {
        padding: 16px 24px;
        background: #fff;
        border-top: 1px solid var(--ice-100);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .table-info {
        font-size: 13px;
        color: var(--text-light);
    }

    .pagination {
        display: flex;
        gap: 6px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .page-item {
        display: inline-block;
    }

    .page-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 34px;
        height: 34px;
        padding: 0 6px;
        border-radius: 8px;
        border: 1.5px solid var(--ice-200);
        background: #fff;
        color: var(--text-mid);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.22s;
        cursor: pointer;
    }

    .page-link:hover {
        border-color: var(--navy-300);
        color: var(--navy-700);
        background: var(--ice-50);
    }

    .page-item.active .page-link {
        background: var(--navy-700);
        border-color: var(--navy-700);
        color: #fff;
        box-shadow: 0 4px 10px rgba(26, 43, 69, 0.15);
    }

    .page-item.disabled .page-link {
        opacity: 0.5;
        cursor: not-allowed;
        background: var(--ice-50);
    }

    .page-link i {
        font-size: 11px;
    }

    /* ── Info do Escritório ───────────────────────────────────── */
    .office-info { display: flex; flex-direction: column; gap: 2px; }
    .office-name { font-weight: 700; color: var(--navy-900); }
    .office-doc { font-size: 12px; color: var(--text-light); font-family: monospace; }



/* ── SweetAlert Custom Classes (vericom) ────────────────── */
    .swal-custom-font { font-family: 'Plus Jakarta Sans', sans-serif !important; }
    .swal-custom-radius { border-radius: var(--radius-lg) !important; }
    
    .btn-confirm {
        display: inline-flex !important; align-items: center !important; gap: 8px !important;
        height: 42px !important; padding: 0 24px !important;
        border-radius: var(--radius-md) !important; border: none !important;
        background: #c9973a  !important; color: #fff !important;
        font-weight: 700 !important; cursor: pointer !important; margin-left: 10px !important;
    }

    .btn-cancel-swal {
        display: inline-flex !important; align-items: center !important; gap: 7px !important;
        height: 42px !important; padding: 0 20px !important;
        border-radius: var(--radius-md) !important; border: 1.5px solid var(--ice-200) !important;
        background: #1a2b45 !important; color: #fff !important;
        font-weight: 600 !important; cursor: pointer !important;
    }