/* =============================================
   Mapa Eleitoral de Cotia 2024 - Estilos
   ============================================= */

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #0f3460;
  --highlight: #e94560;
  --text: #eaeaea;
  --text-muted: #a0a0b0;
  --sidebar-bg: #12122a;
  --sidebar-width: 380px;
  --header-height: 56px;
  --zone-colors: #4fc3f7, #81c784, #ffb74d, #f06292, #ba68c8, #4db6ac;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
  background: var(--primary);
  color: var(--text);
  overflow: hidden;
}

/* ---- HEADER ---- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--secondary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

#header h1 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

#header h1 .badge {
  background: var(--highlight);
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

#controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.control-group label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#controls select {
  background: var(--accent);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

#controls select:hover,
#controls select:focus {
  border-color: rgba(255,255,255,0.35);
}

/* ---- LAYOUT PRINCIPAL ---- */
#main {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
}

/* ---- MAPA ---- */
#map-container {
  flex: 1;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
}

/* ---- SIDEBAR ---- */
#sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  border-left: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}

#sidebar-header {
  padding: 16px 20px;
  background: var(--secondary);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

#sidebar-header h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

#sidebar-header .zona-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

#sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

#sidebar-content::-webkit-scrollbar {
  width: 4px;
}
#sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}
#sidebar-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}

/* ---- ESTADO INICIAL ---- */
.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-muted);
  padding: 30px;
  gap: 14px;
}

.placeholder svg {
  opacity: 0.3;
}

.placeholder p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---- DADOS ELEITORAIS ---- */
.election-section {
  margin-bottom: 20px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.section-title .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.turno-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.turno-tab {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--text-muted);
  transition: all 0.2s;
}

.turno-tab.active {
  background: var(--highlight);
  border-color: var(--highlight);
  color: white;
}

.turno-tab:hover:not(.active) {
  border-color: rgba(255,255,255,0.3);
  color: var(--text);
}

/* ---- CANDIDATO CARD ---- */
.candidate-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.candidate-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px 12px;
  transition: background 0.15s;
  cursor: default;
}

.candidate-card:hover {
  background: rgba(255,255,255,0.07);
}

.candidate-card.eleito {
  border-left: 3px solid #4caf50;
}

.candidate-card.segundo-turno {
  border-left: 3px solid #ff9800;
}

.candidate-card.suplente {
  border-left: 3px solid #607d8b;
}

.candidate-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.candidate-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.candidate-partido {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.vote-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.vote-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.vote-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

.vote-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 70px;
  text-align: right;
}

.situacao-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1px 6px;
  border-radius: 3px;
  margin-top: 4px;
  display: inline-block;
}

.situacao-eleito { background: rgba(76,175,80,0.25); color: #81c784; }
.situacao-segundo-turno { background: rgba(255,152,0,0.25); color: #ffb74d; }
.situacao-suplente { background: rgba(96,125,139,0.25); color: #90a4ae; }
.situacao-nao-eleito { background: rgba(244,67,54,0.2); color: #ef9a9a; }

/* ---- TOTAIS / ESTATÍSTICAS ---- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ---- LEGENDA DO MAPA ---- */
#map-legend {
  position: absolute;
  bottom: 24px;
  left: 12px;
  background: rgba(18, 18, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  z-index: 800;
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
  max-width: 180px;
}

#map-legend h4 {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.65rem;
  margin-bottom: 6px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--text);
}

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ---- TOOLTIP ---- */
.map-tooltip {
  background: rgba(18, 18, 42, 0.95) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: var(--text) !important;
  border-radius: 6px !important;
  font-family: inherit !important;
  font-size: 0.8rem !important;
  padding: 6px 10px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
  backdrop-filter: blur(4px);
}

.map-tooltip::before {
  border-top-color: rgba(255,255,255,0.15) !important;
}

.tooltip-name {
  font-weight: 600;
  font-size: 0.82rem;
}

.tooltip-zona {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.tooltip-votos {
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 600;
  margin-top: 5px;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.tooltip-escola-stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffd54f;
  margin-top: 5px;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* ---- DETALHE DO TOOLTIP DE ESCOLA ---- */
.tooltip-escola-detalhe {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ted-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.ted-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.ted-val {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* ---- LABEL PERMANENTE DAS ESCOLAS ---- */
.escola-label-icon {
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
}

.escola-label-perm {
  position: absolute;
  /* ancora a borda inferior ao centro do marcador; afasta 12px para cima (raio 6 + gap 6) */
  transform: translate(-50%, calc(-100% - 12px));
  background: rgba(12, 12, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  padding: 2px 6px 3px;
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.elp-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1.35;
}

.elp-key {
  font-size: 0.56rem;
  color: rgba(160, 160, 180, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.elp-val {
  font-size: 0.65rem;
  font-weight: 700;
  color: #eaeaea;
}

/* ---- LOADING ---- */
#loading {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 30, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 16px;
  backdrop-filter: blur(4px);
}

#loading p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--highlight);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

#loading-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
}

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

/* ---- ESTADO SEM DADOS ---- */
#no-data-banner {
  display: none;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(233, 69, 96, 0.15);
  border: 1px solid rgba(233, 69, 96, 0.4);
  border-radius: 8px;
  padding: 10px 16px;
  z-index: 900;
  font-size: 0.82rem;
  max-width: 480px;
  text-align: center;
  backdrop-filter: blur(4px);
}

#no-data-banner code {
  background: rgba(255,255,255,0.1);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.78rem;
}

/* ---- ZOOM BUTTONS (custom Leaflet control) ---- */
.custom-zoom-control {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 10px;
}

.zoom-btn {
  width: 36px;
  height: 36px;
  background: var(--secondary);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  font-family: inherit;
}

.zoom-btn:hover {
  background: var(--accent);
  border-color: rgba(255,255,255,0.3);
}

.zoom-btn:active {
  transform: scale(0.93);
}

/* ---- LAYER SWITCHER ---- */
.layer-switcher {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 10px 10px;
}

.layer-btn {
  width: 56px;
  height: 28px;
  background: var(--secondary);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  font-family: inherit;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.layer-btn:hover {
  background: var(--accent);
  border-color: rgba(255,255,255,0.3);
  color: var(--text);
}

.layer-btn.active {
  background: var(--highlight);
  border-color: var(--highlight);
  color: #fff;
}

.layer-btn:active {
  transform: scale(0.93);
}

/* ---- CARGO TABS (Prefeito / Vereadores) ---- */
.cargo-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 3px;
}

.cargo-tab {
  flex: 1;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.18s;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.cargo-tab.active {
  background: var(--highlight);
  color: #fff;
  box-shadow: 0 1px 4px rgba(233,69,96,0.35);
}

.cargo-tab:hover:not(.active) {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

/* ---- VEREADORES STATS ---- */
.ver-stats {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.ver-stat {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}

.ver-stat.eleitos-stat {
  border-color: rgba(76,175,80,0.3);
  background: rgba(76,175,80,0.07);
}

.ver-stat-num {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.ver-stat.eleitos-stat .ver-stat-num {
  color: #81c784;
}

.ver-stat-label {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 2px;
}

/* ---- ORDENAÇÃO VEREADORES ---- */
.ver-sort-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.ver-sort-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  flex-shrink: 0;
}

.ver-sort-btn {
  padding: 3px 11px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: var(--text-muted);
  transition: all 0.18s;
  font-family: inherit;
}

.ver-sort-btn.active {
  background: rgba(233,69,96,0.18);
  border-color: rgba(233,69,96,0.5);
  color: #e94560;
}

.ver-sort-btn:hover:not(.active) {
  border-color: rgba(255,255,255,0.3);
  color: var(--text);
}

/* ---- VEREADOR COMBOBOX ---- */
.ver-select-wrapper {
  margin-bottom: 14px;
}

.ver-select-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}

.ver-select {
  width: 100%;
  background: var(--accent);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.82rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.ver-select:hover,
.ver-select:focus {
  border-color: var(--highlight);
}

/* ---- RANKING BOX (canto inferior esquerdo) ---- */
.ranking-box {
  background: rgba(18, 18, 42, 0.93);
  border: 1px solid rgba(233, 69, 96, 0.35);
  border-radius: 8px;
  padding: 10px 12px;
  min-width: 240px;
  max-width: 300px;
  max-height: 360px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  pointer-events: auto;
}

.ranking-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #e94560;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.ranking-total {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ranking-empty {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

.ranking-empty code {
  font-style: normal;
  font-size: 0.65rem;
  background: rgba(255,255,255,0.07);
  padding: 1px 4px;
  border-radius: 3px;
  color: #ffd54f;
  word-break: break-all;
}

.ranking-list {
  overflow-y: auto;
  max-height: 270px;
}

.ranking-list::-webkit-scrollbar {
  width: 4px;
}
.ranking-list::-webkit-scrollbar-track {
  background: transparent;
}
.ranking-list::-webkit-scrollbar-thumb {
  background: rgba(233, 69, 96, 0.4);
  border-radius: 2px;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ranking-th {
  text-align: left;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0 4px 5px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  position: sticky;
  top: 0;
  background: rgba(14, 14, 36, 0.98);
  z-index: 1;
}

.ranking-th-num {
  text-align: right;
  width: 20px;
  padding-right: 6px;
}

.ranking-th-votos {
  text-align: right;
}

.ranking-tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ranking-tr:hover td {
  background: rgba(255,255,255,0.05);
}

.ranking-rank {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: right;
  padding: 3px 6px 3px 0;
  width: 20px;
  vertical-align: middle;
}

.ranking-bairro {
  font-size: 0.68rem;
  color: var(--text);
  padding: 3px 6px 3px 2px;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.ranking-votos {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffd54f;
  white-space: nowrap;
  text-align: right;
  padding: 3px 0;
  vertical-align: middle;
}

/* ---- LOCALIZAÇÃO DO USUÁRIO ---- */
.user-location-icon {
  background: transparent !important;
  border: none !important;
}

.user-location-dot {
  position: relative;
  width: 24px;
  height: 24px;
}

/* Ponto central azul */
.user-location-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  background: #2196f3;
  border: 2.5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
  z-index: 2;
}

/* Anel pulsante ao redor */
.user-location-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(33, 150, 243, 0.35);
  animation: user-loc-pulse 2.2s ease-out infinite;
  z-index: 1;
}

@keyframes user-loc-pulse {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(4);   opacity: 0; }
}

/* ---- LEAFLET OVERRIDES ---- */
.leaflet-container {
  background: #ffffff !important;
}

.leaflet-control-attribution {
  background: rgba(15,15,30,0.8) !important;
  color: var(--text-muted) !important;
  font-size: 0.65rem !important;
}

.leaflet-control-attribution a {
  color: #4fc3f7 !important;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 768px) {
  :root {
    --sidebar-width: 100%;
    --header-height: 50px;
  }

  #main {
    flex-direction: column;
  }

  #map-container {
    height: 55vh;
  }

  #sidebar {
    width: 100%;
    height: 45vh;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  #header h1 {
    font-size: 0.9rem;
  }
}

/* ---- ZONA HIGHLIGHT ---- */
.zona-info {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.07);
}

.zona-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.zona-info-row:last-child {
  margin-bottom: 0;
}

.zona-info-row strong {
  color: var(--text);
}

/* ---- VEREADORES COLLAPSE ---- */
.show-more {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 6px;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s;
  font-family: inherit;
}

.show-more:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

/* ---- FONTE INFO ---- */
.fonte-info {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.fonte-info a {
  color: #4fc3f7;
  text-decoration: none;
}

.fonte-info a:hover {
  text-decoration: underline;
}
