/* ═══════════════════════════════════════════════════════════════
   MODAL COMPARTILHAR — variante azul do .layer-info-popup (layers.css)
═══════════════════════════════════════════════════════════════ */
.share-popup {
  width: 400px;
  background: var(--primary);
  color: #fff;
}

.lip-header.share-header {
  align-items: center;
  background: transparent;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.share-icone { display: flex; flex-shrink: 0; }

.share-popup .lip-close { color: rgba(255, 255, 255, .75); opacity: 1; }
.share-popup .lip-close:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.share-texto {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--md-blue-50);
  text-align: justify;
  hyphens: auto;
}

.share-label {
  display: block;
  font-size: 11px;
  color: var(--md-blue-100);
  margin-bottom: 6px;
}

.share-link-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.share-link {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--r-sm, 8px);
  padding: 8px 10px;
  text-overflow: ellipsis;
}
.share-link:focus {
  outline: none;
  border-color: #fff;
}

.share-copiar {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 0 16px;
  border: 1px solid #fff;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--primary-hover);
  cursor: pointer;
  transition: background var(--t-fast);
}
.share-copiar:hover { background: var(--md-blue-50); }

.share-redes {
  display: flex;
  gap: 14px;
}

.share-rede {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.share-rede-circulo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), filter var(--t-fast);
}
.share-rede:hover .share-rede-circulo { transform: translateY(-2px); filter: brightness(1.08); }

.share-rede-nome {
  font-size: 11px;
  color: var(--md-blue-50);
}

.share-rede--instagram .share-rede-circulo { background: #E91E8C; color: #fff; }
.share-rede--facebook  .share-rede-circulo { background: #fff;    color: #1877F2; }
.share-rede--whatsapp  .share-rede-circulo { background: #25D366; color: #fff; }

.share-copiar:focus-visible,
.share-rede:focus-visible .share-rede-circulo {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.share-rede:focus-visible { outline: none; }
