/* ==========================================================================
   MINHA COLINHA 2026 — DESIGN SYSTEM PAPEL REAL (ACESSIBILIDADE & LEVEZA)
   ========================================================================== */

:root {
  /* Fundo Papel Real / Craft Cívico */
  --bg-main: #f5f2eb;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #faf8f5;
  --border: #dcd6c8;
  --border-focus: #14532d;
  
  /* Verde Cívico Elegante e Escuro para Máximo Contraste em Papel */
  --green-primary: #14532d;
  --green-accent: #15803d;
  --green-dark: #0f3d21;
  --green-soft-tint: #ecfdf5;

  /* Amarelo Pastel / Urna */
  --yellow-pastel: #fef08a;
  --yellow-warm: #eab308;
  --yellow-soft: #fef9c3;
  --yellow-tag-bg: #fef9c3;
  --yellow-tag-text: #854d0e;

  /* Tipografia Grafite Profundo / Leitura Confortável */
  --text-main: #19261f;
  --text-dim: #3e5246;
  --text-muted: #6b8074;
  
  /* Fontes de Alta Legibilidade */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-main);
  background-image: radial-gradient(#e5dfd2 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  min-height: 100vh;
  padding: 12px 14px 74px; /* Otimizado para caber em tela única */
  -webkit-font-smoothing: antialiased;
}

/* Header Centralizado com Logo e Botão Reset Circular */
.app-header {
  max-width: 540px;
  margin: 0 auto 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 16px 10px;
  box-shadow: 0 4px 14px rgba(44, 38, 25, 0.05);
}

.header-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.brand-icon {
  width: 170px; /* Grande, nítido e perfeitamente equilibrado para caber em tela única */
  max-width: 75vw;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(20, 83, 45, 0.18));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 16px;
}

.brand-icon:hover {
  transform: scale(1.04) translateY(-2px);
}

.btn-rever-link {
  background: none;
  border: 1.5px dashed var(--green-primary);
  color: var(--green-primary);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-rever-link:hover {
  background: #ecfdf5;
  border-style: solid;
  transform: translateY(-1px);
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  color: #a16207;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: #fef9c3;
  padding: 3px 14px;
  border-radius: 20px;
  border: 1px solid #fef08a;
}

/* Botão Redondo Sem Texto para Limpar/Reiniciar */
.btn-reset-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fbfaf7;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.btn-reset-icon:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: rotate(-35deg) scale(1.08);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.btn-reset-icon:active {
  transform: scale(0.92);
}

@media (max-width: 480px) {
  .btn-reset-icon {
    top: -4px;
    right: -4px;
    width: 40px;
    height: 40px;
  }
}

/* Stepper de 6 Etapas Conectadas (Funil do Álbum) */
.stepper-funil {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 480px;
  margin: 10px auto 0;
  padding: 0 10px;
}

.step-node-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ede8dc;
  border: 2px solid #ded7cb;
  color: #7d7363;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.step-circle:hover {
  transform: scale(1.08);
}

.step-circle.ativo {
  background: var(--green-primary);
  border-color: #0f3d21;
  color: #fef08a;
  box-shadow: 0 4px 14px rgba(20, 83, 45, 0.35);
  transform: scale(1.15);
}

.step-circle.concluido {
  background: #15803d;
  border-color: #166534;
  color: #ffffff;
}

.step-connector-line {
  flex: 1;
  height: 4px;
  background: #ded7cb;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.step-connector-line.preenchida {
  background: #15803d;
}

/* ==========================================================================
   VITRINE 3D DE PAPEL REAL (CÉDULA PRINCIPAL EM MÁXIMA EVIDÊNCIA)
   ========================================================================== */
.container-vitrine {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 1. O Nicho Tridimensional com a Cédula em Primeiro Plano */
.nicho-vitrine-frame {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 4px solid #ede7db;
  border-radius: 20px;
  box-shadow: 
    inset 0 12px 28px rgba(0, 0, 0, 0.06),
    inset 0 -6px 16px rgba(0, 0, 0, 0.03),
    0 16px 36px rgba(44, 38, 25, 0.10);
  padding: 18px 10px 16px;
  overflow: hidden;
  perspective: 1200px;
}

.nicho-vitrine-inner {
  position: relative;
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cédulas de Papel com Textura Real */
.cedula-papel {
  position: absolute;
  width: 256px;
  background: #fdfbf7;
  background-image: radial-gradient(#ece6d8 0.7px, transparent 0.7px);
  background-size: 12px 12px;
  border: 1.5px solid #d8d2c4;
  border-radius: 8px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10), 0 2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

/* Dobra sutil e realista no canto inferior do papel */
.cedula-papel::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, transparent 50%, #eae4d5 50%, #ded7c6 100%);
  border-top-left-radius: 4px;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.08);
}

/* Cédula Central: BEM MAIOR, MÁXIMA EVIDÊNCIA E DESTAQUE VISUAL */
.cedula-central {
  z-index: 10;
  width: 275px;
  transform: translateX(0) translateY(0) scale(1.15);
  box-shadow: 
    0 24px 46px rgba(20, 83, 45, 0.22),
    0 6px 16px rgba(0, 0, 0, 0.10);
  border: 2px solid #b8a992;
  background: #ffffff;
}

/* Animação suave de transição ao trocar de cargo */
.cedula-central.cedula-animar-troca {
  animation: carimboSurgir 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes carimboSurgir {
  0% {
    transform: scale(0.92) translateY(8px);
    opacity: 0.4;
  }
  100% {
    transform: translateX(0) translateY(0) scale(1.15);
    opacity: 1;
  }
}

/* Cédula Esquerda: Transparência Ampliada do Centro para a Borda Externa */
.cedula-esquerda {
  z-index: 5;
  transform: translateX(-145px) translateY(12px) rotate(-7deg) scale(0.84);
  opacity: 0.55;
  filter: brightness(0.95);
  cursor: pointer;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0.10) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0.10) 100%);
}

.cedula-esquerda:hover {
  transform: translateX(-132px) translateY(6px) rotate(-4deg) scale(0.88);
  opacity: 0.85;
}

/* Cédula Direita: Transparência Ampliada do Centro para a Borda Externa */
.cedula-direita {
  z-index: 5;
  transform: translateX(145px) translateY(12px) rotate(7deg) scale(0.84);
  opacity: 0.55;
  filter: brightness(0.95);
  cursor: pointer;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 30%, rgba(0,0,0,0.10) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 30%, rgba(0,0,0,0.10) 100%);
}

.cedula-direita:hover {
  transform: translateX(132px) translateY(6px) rotate(4deg) scale(0.88);
  opacity: 0.85;
}

/* Conteúdo da Cédula */
.cedula-cargo-titulo {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 900;
  color: #14532d;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 2px solid #e5dfd2;
  width: 100%;
  padding-bottom: 5px;
  margin-bottom: 6px;
}

.cedula-info-bloco {
  width: 100%;
  text-align: left;
  margin-bottom: 4px;
}

.cedula-sublabel {
  font-size: 9.5px;
  font-weight: 800;
  color: #8c8273;
  text-transform: uppercase;
  display: block;
}

.cedula-cand-nome {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: #19261f;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cedula-cand-partido {
  font-size: 11.5px;
  font-weight: 700;
  color: #15803d;
}

/* Layout Miolo: Foto Grande em Máxima Evidência ao lado do Número */
.cedula-corpo-voto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin: 6px 0 10px;
}

.cedula-foto-frame {
  width: 76px;
  height: 94px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #cbbfab;
  background: #eeeae0;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.cedula-foto-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.cedula-numero-bloco {
  flex: 1;
  text-align: left;
}

.cedula-numero-label {
  font-size: 10px;
  font-weight: 800;
  color: #8c8273;
  display: block;
  text-transform: uppercase;
}

.cedula-numero-grande {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  color: #0f3d21;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* Dois Botões Discretos Lado a Lado: Confirmar e Trocar */
.cedula-botoes-dupla {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
}

.btn-cedula-discreto {
  flex: 1;
  height: 34px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-cedula-confirmar {
  background: #14532d;
  color: #fef08a;
  box-shadow: 0 2px 8px rgba(20, 83, 45, 0.28);
}

.btn-cedula-confirmar:hover {
  background: #0f3d21;
  transform: translateY(-1px);
}

.btn-cedula-trocar {
  background: #faf8f5;
  color: #5c4d37;
  border-color: #d8d2c4;
}

.btn-cedula-trocar:hover {
  background: #f3efe6;
  color: #19261f;
  border-color: #b89f77;
}

/* Setas de Navegação no Nicho */
.nicho-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid #ded7cb;
  color: #14532d;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

.nicho-nav-arrow:hover {
  background: #14532d;
  color: #fef08a;
  transform: translateY(-50%) scale(1.08);
}

.arrow-prev { left: 6px; }
.arrow-next { right: 6px; }

/* ==========================================================================
   2. PESQUISA DISCRETA E ELEGANTE (BAIXO PERFIL, SÓ APARECE COM BUSCA)
   Toda a atenção visual fica na cédula acima.
   ========================================================================== */
.estojo-craft-box {
  width: 100%;
  background: #fdfbf7;
  border: 1.5px solid #ded7cb;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(44, 38, 25, 0.04);
  padding: 8px 10px 10px;
  position: relative;
}

.estojo-search-bar {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #ded7cb;
  border-radius: 8px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.estojo-search-bar:focus-within {
  border-color: #14532d;
  box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.12);
}

.estojo-search-input {
  width: 100%;
  height: 36px;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #2b261d;
  outline: none;
  padding-right: 28px;
}

.estojo-search-input::placeholder {
  color: #9c9282;
  font-size: 13.5px;
}

.estojo-search-icon {
  position: absolute;
  right: 10px;
  color: #9c9282;
  pointer-events: none;
}

/* Dica Discreta quando a busca está limpa */
.busca-dica-discreta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px 6px;
  color: #8c8273;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.busca-vazio-discreto {
  padding: 16px 8px;
  color: #8c8273;
  font-size: 13px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

/* Container de Resultados: Tiras Discretas de Candidatos */
.estojo-grid-container {
  max-height: 160px;
  overflow-y: auto;
  padding-top: 6px;
  scrollbar-width: thin;
  scrollbar-color: #ded7cb transparent;
}

.estojo-figurinhas-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Tiras Discretas: Apenas Nome e Partido (SEM NÚMERO) */
.cand-strip-row {
  background: #ffffff;
  border: 1px solid #e6e0d4;
  border-radius: 6px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  text-align: left;
}

.cand-strip-row:hover {
  background: #f4fbf7;
  border-color: #14532d;
  transform: translateX(2px);
}

.cand-strip-row:active {
  transform: scale(0.99);
}

.cand-strip-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  overflow: hidden;
}

.cand-strip-nome {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: #19261f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cand-strip-partido {
  font-size: 11.5px;
  font-weight: 700;
  color: #15803d;
  white-space: nowrap;
  flex-shrink: 0;
}

.cand-strip-action {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  color: #14532d;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background 0.15s;
}

.cand-strip-row:hover .cand-strip-action {
  background: #14532d;
  color: #fef08a;
  border-color: #0f3d21;
}

/* Figurinha com Efeito de Pontinha Solta / Descolada do Painel de Rolha */
.estojo-fig-card {
  background: #ffffff;
  background-image: radial-gradient(#faf7f0 0.7px, transparent 0.7px);
  background-size: 8px 8px;
  border: 1px solid #dcd5c7;
  border-radius: 4px;
  padding: 5px 3px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
  user-select: none;
}

/* Cantinho Inferior Solto / Curvado de Adesivo de Papel */
.estojo-fig-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 13px;
  height: 13px;
  background: linear-gradient(135deg, transparent 50%, #dcd6c8 50%, #c4baa7 100%);
  border-top-left-radius: 2.5px;
  box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  transition: all 0.2s ease;
}

.estojo-fig-card:hover {
  transform: translateY(-4px) rotate(-1deg) scale(1.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
  border-color: #14532d;
  background: #ffffff;
  z-index: 5;
}

.estojo-fig-card:hover::after {
  width: 16px;
  height: 16px;
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.22);
}

.estojo-fig-card:active {
  transform: scale(0.95);
}

.estojo-fig-ordem {
  position: absolute;
  top: 2px;
  left: 3px;
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 900;
  color: #856a42;
}

/* Foto Padronizada com Proporção Perfeita */
.estojo-fig-photo-box {
  width: 100%;
  height: 52px;
  border-radius: 3px;
  overflow: hidden;
  background: #eeeae0;
  margin: 11px 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.estojo-fig-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.estojo-fig-nome {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 800;
  color: #19261f;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 0 1px;
}

.estojo-fig-partido {
  font-size: 8.5px;
  font-weight: 700;
  color: #6b5c43;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.estojo-fig-numero {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  color: #19261f;
  letter-spacing: -0.3px;
}

.ticket-card.preenchido:hover {
  border-color: var(--green-primary);
}

.ticket-card.vazio {
  border-style: dashed;
  border-color: #d1cabe;
  background: #faf8f4;
}

.ticket-card.vazio:hover {
  border-color: var(--green-accent);
  background: #fdfbf7;
}

/* Cabeçalho do Ticket */
.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ticket-cargo-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-ordem-voto {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--yellow-tag-text);
  background: var(--yellow-tag-bg);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.ticket-sep {
  color: #c4bbae;
  font-size: 14px;
}

.ticket-cargo-nome {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--green-dark);
}

.ticket-cargo-vaga {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: #a16207;
}

/* Conteúdo Preenchido (Números em Caixa Escura de Alto Contraste com Amarelo Pastel) */
.ticket-body-filled {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticket-number-box {
  flex-shrink: 0;
  background: #0f3d21;
  border: 2px solid #14532d;
  border-radius: var(--radius-md);
  padding: 6px 14px;
  min-width: 90px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(15, 61, 33, 0.25);
}

.ticket-big-number {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  color: #fef08a;
  letter-spacing: 2px;
  line-height: 1.05;
}

.ticket-photo-wrapper {
  width: 58px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: #eef2ef;
  flex-shrink: 0;
}

.ticket-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.ticket-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--green-dark);
  background: #ecfdf5;
}

.ticket-info {
  flex: 1;
  min-width: 0;
}

.ticket-urna-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.ticket-party {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-accent);
  margin-top: 3px;
}

.ticket-action-btns {
  display: flex;
  gap: 8px;
}

.btn-ticket-clear {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #ef4444;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-ticket-clear:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #dc2626;
}

/* Conteúdo Vazio com Silhueta Neutra */
.ticket-body-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
}

.ticket-avatar-silhouette {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eeeae0;
  border: 1.5px solid #ded8cb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c8273;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.ticket-card.vazio:hover .ticket-avatar-silhouette {
  background: #e6f4ec;
  border-color: #a7d7bc;
  color: var(--green-primary);
  transform: scale(1.05);
}

.ticket-empty-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
}

.ticket-empty-sub {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Seção de Conclusão e Botões Redondos Centralizados (Sem Rodapé Fixo) */
.conclusao-section {
  margin-top: 36px;
  margin-bottom: 24px;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.conclusao-card {
  background: #ffffff;
  border: 2px solid #bcdbc8;
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(20, 83, 45, 0.08);
}

.conclusao-badge {
  display: inline-block;
  background: #fef9c3;
  color: #854d0e;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(234, 179, 8, 0.4);
  margin-bottom: 12px;
}

.conclusao-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}

.conclusao-sub {
  font-size: 15.5px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.45;
}

.round-actions-group {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.round-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 140px;
}

/* Botões 100% Redondos */
.btn-round {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s;
  user-select: none;
}

.btn-round:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-round:active {
  transform: translateY(1px) scale(0.95);
}

.btn-round-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.btn-round-whatsapp:hover {
  filter: brightness(1.06);
}

.btn-round-salvar {
  background: var(--green-primary);
  color: #ffffff;
}

.btn-round-salvar:hover {
  background: var(--green-dark);
}

.round-action-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  line-height: 1.25;
}

/* Gaveta Deslizante (Bottom Sheet Clara) */
.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(18, 28, 22, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: fadeIn 0.2s ease-out;
}

.sheet-panel {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-radius: 24px 24px 0 0;
  padding: 14px 24px max(24px, env(safe-area-inset-bottom));
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
}

.sheet-drag-handle {
  width: 44px;
  height: 5px;
  background: #ded7cb;
  border-radius: 3px;
  margin: 0 auto 14px;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.sheet-tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--yellow-tag-text);
  background: var(--yellow-tag-bg);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-block;
  margin-bottom: 4px;
}

.sheet-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.15;
}

.btn-close-sheet {
  background: #f4f0e6;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s;
}

.btn-close-sheet:hover {
  color: var(--text-main);
  background: #eae3d5;
}

/* Campo de Busca Grande */
.search-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green-primary);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 58px;
  background: #faf8f5;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 48px 0 52px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 4px rgba(20, 83, 45, 0.12);
}

.btn-clear-input {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   GRADE DE FIGURINHAS NA CONSULTA (Até 5 por linha com micro-movimento)
   ========================================================================== */
.candidatos-lista {
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 figurinhas por linha em mobile e desktop */
  gap: 8px;
  padding: 6px 2px 24px;
}

@media (max-width: 360px) {
  .candidatos-lista {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
}

/* Card Mini-Figurinha Colecionável */
.cand-item-btn {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, border-color 0.2s;
  
  /* Efeito de movimento bem leve contínuo (respiração / flutuação) */
  animation: figurinhaFlutuar 3.2s ease-in-out infinite alternate;
}

/* Variação no tempo de flutuação para cada figurinha para efeito orgânico */
.cand-item-btn:nth-child(2n) {
  animation-duration: 3.6s;
  animation-delay: 0.3s;
}
.cand-item-btn:nth-child(3n) {
  animation-duration: 4s;
  animation-delay: 0.6s;
}
.cand-item-btn:nth-child(4n) {
  animation-duration: 3.4s;
  animation-delay: 0.9s;
}

@keyframes figurinhaFlutuar {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-3px) rotate(0.4deg);
  }
}

.cand-item-btn:hover, .cand-item-btn:active {
  border-color: var(--green-primary);
  background: #ecfdf5;
  transform: translateY(-5px) scale(1.06) !important;
  box-shadow: 0 8px 18px rgba(20, 83, 45, 0.2);
  z-index: 5;
}

/* Moldura da Foto da Mini-Figurinha */
.cand-item-photo-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border-radius: 4px;
  overflow: hidden;
  background: #ece7db;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.cand-item-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.cand-item-photo-placeholder {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  color: var(--green-dark);
}

/* Número em Destaque na Mini-Figurinha */
.cand-item-nr {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 900;
  color: #fef08a;
  background: #0f3d21;
  border-radius: 3px;
  padding: 1px 4px;
  letter-spacing: 0.4px;
  width: 100%;
  text-align: center;
  margin-bottom: 3px;
}

/* Nome Curto de Urna e Sigla */
.cand-item-nome {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.cand-item-meta {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--green-accent);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Inserção Manual */
.box-manual-cand {
  background: #faf8f5;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

/* Toast */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f3d21;
  border: 1.5px solid #14532d;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  animation: fadeInDown 0.3s ease;
  text-align: center;
  max-width: 90vw;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translate(-50%, -12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ==========================================================================
   ESPELHO REAL DA COLINHA PRONTA COM FOTOS (ACIMA DOS BOTÕES DE AÇÃO)
   REBUSCADA EM PAPEL TEXTURADO REAL, COM ASPECTO DE FIGURINHAS COLECIONÁVEIS
   ========================================================================== */
.colinha-final-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 18px 0 28px;
  /* Textura realista de papel encorpado / cartolina kraft cívica */
  background: #f5efe3;
  background-image: 
    radial-gradient(#ded2be 1.2px, transparent 1.2px),
    radial-gradient(#eae0ce 0.8px, transparent 0.8px);
  background-size: 16px 16px, 8px 8px;
  background-position: 0 0, 4px 4px;
  border: 2.5px solid #cbbfab;
  border-radius: 20px;
  padding: 22px 16px;
  box-shadow: 
    inset 0 3px 12px rgba(0, 0, 0, 0.06),
    inset 0 -2px 6px rgba(0, 0, 0, 0.04),
    0 16px 36px rgba(44, 38, 25, 0.12);
  position: relative;
}

/* Efeito de Figurinha Adesiva Colada na Folha com Relevo e Sombra */
.final-row-item {
  display: flex;
  align-items: center;
  background: #ffffff;
  background-image: radial-gradient(#faf7f0 0.9px, transparent 0.9px);
  background-size: 12px 12px;
  border: 2px solid #ded7cb;
  border-radius: 12px;
  padding: 14px 16px;
  gap: 16px;
  box-shadow: 
    0 6px 16px rgba(44, 38, 25, 0.09),
    0 1px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.final-row-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(44, 38, 25, 0.14);
}

/* Moldura e Dobra Sutil de Figurinha no Canto */
.final-row-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(225deg, #ded6c4 50%, #faf8f5 50%);
  border-bottom-left-radius: 4px;
  box-shadow: -1.5px 1.5px 3px rgba(0, 0, 0, 0.08);
}

.final-row-badge {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  color: #854d0e;
  background: #fef9c3;
  border: 1px solid #fde047;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.6px;
  box-shadow: 0 1px 3px rgba(133, 77, 14, 0.15);
}

/* Foto do Candidato Bem Maior no Formato Figurinha Oficial */
.final-row-photo {
  width: 78px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 15%;
  border: 2px solid #cbbfab;
  background: #eeeae0;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.final-row-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.final-row-cargo {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 3px;
}

/* Nome de Urna Maior e em Destaque Absoluto */
.final-row-nome {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  color: #19261f;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.final-row-partido {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-accent);
  display: block;
  margin-top: 3px;
}

/* Caixa do Número BEM MAIOR e Maciça com Alto Contraste */
.final-row-number-box {
  background: #0f3d21;
  border: 2.5px solid #14532d;
  border-radius: 10px;
  padding: 8px 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 61, 33, 0.30);
}

.final-row-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: #fef08a;
  letter-spacing: 1.2px;
  line-height: 1;
}

/* Botão Link de Reiniciar Colinha na Tela Final */
.btn-reiniciar-final-link {
  background: none;
  border: 1.5px dashed #dc2626;
  color: #dc2626;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-reiniciar-final-link:hover {
  background: #fef2f2;
  border-style: solid;
  transform: translateY(-1px);
}

/* Modal de Animação: Colinha Saindo da Urna (Impressão) */
.print-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(18, 28, 22, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}

.print-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;
}

.urna-dispenser-box {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.urna-dispenser-img {
  width: 190px;
  height: auto;
  aspect-ratio: 364 / 163;
  object-fit: contain;
}

.urna-slot-cut {
  width: 170px;
  height: 6px;
  background: #091b13;
  border-radius: 3px;
  margin-top: -3px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(255, 255, 255, 0.1);
}

.paper-slip-viewport {
  width: 280px;
  max-height: 400px;
  overflow: hidden;
  position: relative;
  margin-top: -4px;
  z-index: 5;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
}

.paper-slip-roll {
  background: #faf8f4;
  background-image: radial-gradient(#ebe5d8 1px, transparent 1px);
  background-size: 16px 16px;
  border-left: 1px solid #d8d2c4;
  border-right: 1px solid #d8d2c4;
  padding: 16px 18px 20px;
  transform: translateY(-100%);
  animation: rollOutPaper 4.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rollOutPaper {
  0% {
    transform: translateY(-100%);
    opacity: 0.2;
  }
  15% {
    transform: translateY(-75%);
    opacity: 1;
  }
  45% {
    transform: translateY(-40%);
    opacity: 1;
  }
  75% {
    transform: translateY(-12%);
    opacity: 1;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

.slip-header {
  text-align: center;
  padding-bottom: 8px;
}

.slip-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: #14532d;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.slip-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.slip-subtitle {
  font-size: 10.5px;
  font-weight: 700;
  color: #a16207;
  letter-spacing: 0.4px;
}

.slip-dashed-divider {
  border-top: 1.5px dashed #c8c1b2;
  margin: 10px 0;
}

.slip-candidatos-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* ==========================================================================
   ANIMAÇÃO: CÉDULA DE PAPEL SAINDO DA URNA COM FOTOS REAIS
   ========================================================================== */
.slip-logo-img {
  width: 140px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 6px;
  display: block;
}

.slip-item-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 6px;
  padding: 6px 8px;
  gap: 8px;
}

.slip-item-photo {
  width: 32px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  object-position: 50% 15%;
  border: 1px solid #ded7cb;
  background: #eeeae0;
  flex-shrink: 0;
}

.slip-item-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.slip-item-cargo {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slip-item-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.slip-item-nr {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  color: #fef08a;
  background: #0f3d21;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.slip-footer {
  text-align: center;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  color: #15803d;
  letter-spacing: 0.5px;
  padding-top: 2px;
}

.slip-serrated-edge {
  height: 8px;
  margin-top: 10px;
  background-image: radial-gradient(circle, transparent 4px, #faf8f4 4.5px);
  background-size: 9px 9px;
  background-position: 0 0;
  border-bottom: 2px dashed #b8b0a0;
}

.print-status-text {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.print-spinner {
  width: 14px;
  height: 14px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fef08a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   BARRA DE NAVEGAÇÃO FIXA NO RODAPÉ (COMO NO MOCKUP)
   ========================================================================== */
.app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #ffffff;
  background-image: radial-gradient(#faf7f0 1px, transparent 1px);
  background-size: 12px 12px;
  border-top: 1.5px solid #ded7cb;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 16px;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(44, 38, 25, 0.08);
}

.nav-tab-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #8c8273;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  user-select: none;
}

.nav-tab-btn span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav-tab-btn:hover {
  color: #14532d;
  transform: translateY(-2px);
}

.nav-tab-btn.active {
  color: #14532d;
}

.nav-tab-btn.active svg {
  stroke-width: 2.6;
}

/* Espaçamento inferior no body para a nav fixa não cobrir conteúdo */
body {
  padding-bottom: 90px !important;
}

/* ==========================================================================
   MODAL GUIA DO ELEITOR
   ========================================================================== */
.guia-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(18, 28, 22, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.guia-modal-card {
  width: 100%;
  max-width: 480px;
  background: #fdfbf7;
  border: 2px solid #ded7cb;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: slideInFigurinha 0.25s ease-out;
}

.guia-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #14532d;
  color: #ffffff;
}

.guia-modal-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: #fef08a;
  letter-spacing: 0.3px;
}

.btn-close-guia {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.guia-modal-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 70vh;
  overflow-y: auto;
}

.guia-topic-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e8e2d5;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.guia-topic-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.guia-topic-box strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: #14532d;
  display: block;
  margin-bottom: 2px;
}

.guia-topic-box p {
  font-size: 13px;
  color: #55665b;
  line-height: 1.4;
}

/* Ajustes Responsivos Grandes (iPad / Desktop) */
@media (min-width: 640px) {
  body {
    padding: 32px 32px 100px !important;
  }
}

