/* ============================================================
   PALETAS SUBTLE & SOFT – Compatível com Bootstrap 4/5 e Volt
   ============================================================ */

/* ---------- VARIÁVEIS SUBTLE (equivalentes ao Bootstrap 5.3) ---------- */
:root {
  --bs-primary-bg-subtle:   #cfe2ff;
  --bs-secondary-bg-subtle: #e2e3e5;
  --bs-success-bg-subtle:   #d1e7dd;
  --bs-danger-bg-subtle:    #f8d7da;
  --bs-warning-bg-subtle:   #fff3cd;
  --bs-info-bg-subtle:      #cff4fc;
  --bs-light-bg-subtle:     #fefefe;
  --bs-dark-bg-subtle:      #d3d3d4;

  --bs-primary-text-subtle:   #084298;
  --bs-secondary-text-subtle: #41464b;
  --bs-success-text-subtle:   #0f5132;
  --bs-danger-text-subtle:    #842029;
  --bs-warning-text-subtle:   #664d03;
  --bs-info-text-subtle:      #055160;
  --bs-light-text-subtle:     #636464;
  --bs-dark-text-subtle:      #141619;

  --bs-primary-border-subtle:   #9ec5fe;
  --bs-secondary-border-subtle: #c4c8cb;
  --bs-success-border-subtle:   #a3cfbb;
  --bs-danger-border-subtle:    #f1aeb5;
  --bs-warning-border-subtle:   #ffe69c;
  --bs-info-border-subtle:      #9eeaf9;
  --bs-light-border-subtle:     #eaeaea;
  --bs-dark-border-subtle:      #adb5bd;
}

/* ---------- BACKGROUND SUBTLE ---------- */
.bg-primary-subtle   { background-color: var(--bs-primary-bg-subtle) !important; }
.bg-secondary-subtle { background-color: var(--bs-secondary-bg-subtle) !important; }
.bg-success-subtle   { background-color: var(--bs-success-bg-subtle) !important; }
.bg-danger-subtle    { background-color: var(--bs-danger-bg-subtle) !important; }
.bg-warning-subtle   { background-color: var(--bs-warning-bg-subtle) !important; }
.bg-info-subtle      { background-color: var(--bs-info-bg-subtle) !important; }
.bg-light-subtle     { background-color: var(--bs-light-bg-subtle) !important; }
.bg-dark-subtle      { background-color: var(--bs-dark-bg-subtle) !important; }

/* ---------- TEXT SUBTLE ---------- */
.text-primary-subtle   { color: var(--bs-primary-text-subtle) !important; }
.text-secondary-subtle { color: var(--bs-secondary-text-subtle) !important; }
.text-success-subtle   { color: var(--bs-success-text-subtle) !important; }
.text-danger-subtle    { color: var(--bs-danger-text-subtle) !important; }
.text-warning-subtle   { color: var(--bs-warning-text-subtle) !important; }
.text-info-subtle      { color: var(--bs-info-text-subtle) !important; }
.text-light-subtle     { color: var(--bs-light-text-subtle) !important; }
.text-dark-subtle      { color: var(--bs-dark-text-subtle) !important; }

/* ---------- BORDER SUBTLE ---------- */
.border-primary-subtle   { border-color: var(--bs-primary-border-subtle) !important; }
.border-secondary-subtle { border-color: var(--bs-secondary-border-subtle) !important; }
.border-success-subtle   { border-color: var(--bs-success-border-subtle) !important; }
.border-danger-subtle    { border-color: var(--bs-danger-border-subtle) !important; }
.border-warning-subtle   { border-color: var(--bs-warning-border-subtle) !important; }
.border-info-subtle      { border-color: var(--bs-info-border-subtle) !important; }
.border-light-subtle     { border-color: var(--bs-light-border-subtle) !important; }
.border-dark-subtle      { border-color: var(--bs-dark-border-subtle) !important; }

/* ---------- SOFT COLORS (tons suaves ideais para cards, chips, etc.) ---------- */
.bg-primary-soft {
  background-color: rgba(13, 110, 253, 0.12) !important;
  color: #0d6efd !important;
}

.bg-success-soft {
  background-color: rgba(25, 135, 84, 0.12) !important;
  color: #198754 !important;
}

.bg-danger-soft {
  background-color: rgba(220, 53, 69, 0.12) !important;
  color: #dc3545 !important;
}

/* ---------- Sync Overlay ---------- */
.campanha-sync-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.campanha-sync-card {
  background: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
  min-width: 240px;
}

.bg-warning-soft {
  background-color: rgba(255, 193, 7, 0.18) !important;
  color: #b88600 !important;
}

.bg-info-soft {
  background-color: rgba(13, 202, 240, 0.18) !important;
  color: #0aa1c4 !important;
}

.bg-dark-soft {
  background-color: rgba(33, 37, 41, 0.12) !important;
  color: #212529 !important;
}

/* ---------- TAG CHIP (melhor visual para tags removíveis) ---------- */
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  font-size: .75rem;
  background-color: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  border-radius: 4px;
  border: 1px solid rgba(13, 110, 253, 0.2);
  cursor: default;
}

.tag-chip i {
  cursor: pointer;
  opacity: 0.7;
}

.tag-chip i:hover {
  opacity: 1;
}

.campanha-form-sections {
  display: grid;
  gap: 0.65rem;
}

.campanha-form-section {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.8rem;
  padding: 0.75rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
}

.campanha-form-section--highlight {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.06), rgba(13, 110, 253, 0.02));
  border-color: rgba(13, 110, 253, 0.18);
}

.campanha-form-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.campanha-form-section__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #14213d;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.campanha-form-section__subtitle {
  display: none;
}

.campanha-tag-panel {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 0.65rem;
}

.campanha-segmentacao-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}

.campanha-image-side {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
}

.campanha-person-image {
  position: relative;
  width: 100%;
  max-width: 120px;
  min-height: 0;
  margin-left: auto;
  padding: 0;
  border: 1px dashed rgba(249, 115, 22, 0.5);
  border-radius: 0.8rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.96));
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.campanha-person-image:hover {
  transform: translateY(-1px);
  border-color: rgba(249, 115, 22, 0.8);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.14);
}

.campanha-person-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center top;
  background: #fff;
}

.campanha-person-image__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.82));
  text-align: center;
}

.campanha-checkbox-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.55rem 0.7rem;
  border: 1px dashed rgba(59, 130, 246, 0.35);
  border-radius: 0.65rem;
  background: rgba(239, 246, 255, 0.7);
}

.campanha-checkbox-card .form-check-input {
  margin-top: 0;
}

.campanha-soft-panel,
.campanha-pessoas-filters-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 1));
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

.campanha-soft-panel::before,
.campanha-pessoas-filters-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.95), rgba(96, 165, 250, 0.6));
}

.campanha-soft-panel__body,
.campanha-pessoas-filters-card__body {
  position: relative;
  z-index: 1;
}

.campanha-soft-panel__title,
.campanha-pessoas-filters-card__title {
  color: #12305f;
  letter-spacing: -0.02em;
}

.campanha-soft-panel__title .text-primary,
.campanha-pessoas-filters-card__title .text-primary {
  color: #1d4ed8 !important;
}

.campanha-soft-panel__subtitle,
.campanha-pessoas-filters-card__subtitle {
  color: #5f6f8f !important;
}

.campanha-soft-panel__divider,
.campanha-pessoas-filters-card__divider {
  border-top-color: rgba(37, 99, 235, 0.14);
}

.campanha-soft-panel .form-label,
.campanha-pessoas-filters-card .form-label {
  font-weight: 600;
  color: #51627f !important;
}

.campanha-soft-panel .form-control,
.campanha-soft-panel .form-select,
.campanha-soft-panel .input-group-text,
.campanha-pessoas-filters-card .form-control,
.campanha-pessoas-filters-card .form-select,
.campanha-pessoas-filters-card .input-group-text {
  border-color: rgba(148, 163, 184, 0.4) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.campanha-soft-panel .form-control,
.campanha-soft-panel .form-select,
.campanha-pessoas-filters-card .form-control,
.campanha-pessoas-filters-card .form-select {
  min-height: 40px;
  color: #1f2a44;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.campanha-soft-panel .form-select,
.campanha-soft-panel .form-control,
.campanha-pessoas-filters-card .form-select,
.campanha-pessoas-filters-card #pessoasSearch {
  border-radius: 0.8rem;
}

.campanha-soft-panel .input-group-text,
.campanha-pessoas-filters-card .input-group-text {
  border-top-left-radius: 0.8rem;
  border-bottom-left-radius: 0.8rem;
}

.campanha-soft-panel .input-group .form-control,
.campanha-pessoas-filters-card #pessoasSearch {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.campanha-soft-panel .form-control:focus,
.campanha-soft-panel .form-select:focus,
.campanha-soft-panel .input-group:focus-within .input-group-text,
.campanha-pessoas-filters-card .form-control:focus,
.campanha-pessoas-filters-card .form-select:focus,
.campanha-pessoas-filters-card .input-group:focus-within .input-group-text {
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.12) !important;
}

[data-camp-tab="campo"] > .card:first-child,
[data-camp-tab="relatorios"] > .card:first-child {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.14) !important;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 1)) !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

[data-camp-tab="campo"] > .card:first-child::before,
[data-camp-tab="relatorios"] > .card:first-child::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.95), rgba(96, 165, 250, 0.6));
}

[data-camp-tab="campo"] > .card:first-child .card-body,
[data-camp-tab="relatorios"] > .card:first-child .card-body {
  position: relative;
  z-index: 1;
}

[data-camp-tab="campo"] > .card:first-child h2,
[data-camp-tab="relatorios"] > .card:first-child h2 {
  color: #12305f;
  letter-spacing: -0.02em;
}

[data-camp-tab="campo"] > .card:first-child p,
[data-camp-tab="relatorios"] > .card:first-child p {
  color: #5f6f8f !important;
}

#pessoaModal .modal-body {
  padding-top: 1rem !important;
}

#pessoaModal .form-label {
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
}

#pessoaModal .form-control,
#pessoaModal .form-select {
  min-height: 34px;
  padding-top: 0.32rem;
  padding-bottom: 0.32rem;
  font-size: 0.88rem;
}

#pessoaModal textarea.form-control {
  min-height: 72px;
}

@media (max-width: 767.98px) {
  .campanha-segmentacao-layout {
    grid-template-columns: 1fr;
  }

  .campanha-image-side {
    padding-top: 0;
    justify-content: flex-end;
  }

  .campanha-form-section {
    padding: 0.7rem;
    border-radius: 0.75rem;
  }

  .campanha-person-image img {
    min-height: 0;
  }
}
/* ============================================================
   Subtle Cards / Headers com estilo premium (Volt + Bootstrap)
   ============================================================ */

/* ---- Wrapper para qualquer uso de bg-*-subtle ---- */
.subtle-box {
  padding: 1rem !important;
  border-radius: 0.5rem !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}

/* ---- Cabeçalho do modal com subtle, mantendo visual elegante ---- */
.modal-header.subtle-header {
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* ---- Texto dentro do subtle mais forte ---- */
.subtle-box h1,
.subtle-box h2,
.subtle-box h3,
.subtle-box h4,
.subtle-box h5,
.subtle-box h6 {
  color: #333 !important;
  font-weight: 600 !important;
}

.subtle-box label,
.subtle-box p,
.subtle-box span {
  color: #444 !important;
}

/* ---- Força contraste no header do modal ---- */
.modal-header.subtle-header h5 {
  color: #333 !important;
  font-weight: 600 !important;
}

/* ---- Tabs do modal modernas (sem fundo feio) ---- */
.pessoa-modal-tabs .nav-link {
  background: transparent !important;
  padding: 0.75rem 1rem !important;
  font-weight: 500;
  color: #555 !important;
  border-radius: 0;
}

.pessoa-modal-tabs .nav-link.active {
  color: #0d6efd !important;
  border-bottom: 2px solid #0d6efd !important;
  background: rgba(13,110,253,0.08) !important;
}

/* ---- Remover azul forte padrão do bootstrap ---- */
.modal-content {
  border-radius: 0.6rem !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}

/* ============================================================
   NAV SUPERIOR RESPONSIVO
============================================================ */
.navbar.bg-info .navbar-nav .nav-link {
  color: #fff !important;
  opacity: 0.85;
}

.navbar.bg-info .navbar-nav .nav-link.active,
.navbar.bg-info .navbar-nav .nav-link:hover {
  opacity: 1;
}

@media (max-width: 991.98px) {
  #topNavMenu {
    background: #fff;
    border-radius: 0 0 1rem 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  }

  #topNavMenu .navbar-nav .nav-link {
    color: #212529 !important;
    opacity: 1;
  }
}

/* Splash screen */
#campanhaSplash {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0d6efd, #1b1f3b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#campanhaSplash .campanha-splash__content {
  text-align: center;
}

#campanhaSplash .campanha-splash__logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

#campanhaSplash .campanha-splash__spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  animation: campanha-spin 1s linear infinite;
}

#campanhaSplash .campanha-splash__text {
  font-size: 0.95rem;
  opacity: 0.9;
}

.campanha-install-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.05rem;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.24);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.campanha-install-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(22, 163, 74, 0.28);
}

.campanha-install-button:active {
  transform: translateY(0);
}

@keyframes campanha-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Reports */
.reports-hero-card {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.8), rgba(255,255,255,0.3)),
    linear-gradient(135deg, #ffffff, #f5f9ff);
}

.reports-hero-icon,
.reports-section-icon,
.reports-profile-avatar,
.reports-birthday-item__avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.reports-hero-icon {
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  color: #fff;
}

.reports-section-icon {
  background: linear-gradient(135deg, #0f766e, #34d399);
  color: #fff;
}

.reports-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.reports-switcher__item {
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.reports-switcher__item:hover {
  transform: translateY(-1px);
}

.reports-switcher__item strong,
.reports-switcher__item small {
  display: block;
}

.reports-switcher__item small {
  color: #64748b;
}

.reports-switcher__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 78, 216, 0.12);
  color: #1d4ed8;
  font-size: 1.2rem;
}

.reports-switcher__item.is-active {
  background: linear-gradient(135deg, #102542, #244c7a);
  box-shadow: 0 18px 34px rgba(16, 37, 66, 0.24);
  color: #fff;
}

.reports-switcher__item.is-active small {
  color: rgba(255,255,255,0.76);
}

.reports-switcher__item.is-active .reports-switcher__icon {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.reports-birthday-item {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #fff;
  border-radius: 18px;
  padding: 0.8rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.reports-birthday-item:hover,
.reports-birthday-item.is-active {
  border-color: rgba(239, 68, 68, 0.34);
  box-shadow: 0 14px 28px rgba(239, 68, 68, 0.12);
  transform: translateY(-1px);
}

.reports-birthday-item__avatar,
.reports-profile-avatar {
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  font-weight: 800;
}

.reports-birthday-item strong,
.reports-birthday-item small {
  display: block;
}

.reports-birthday-item small {
  color: #64748b;
}

.reports-profile-card {
  background:
    radial-gradient(circle at top right, rgba(219, 234, 254, 0.78), rgba(255,255,255,0)),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.reports-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.reports-detail-pill {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255,255,255,0.72);
  border-radius: 18px;
  padding: 0.95rem 1rem;
}

.reports-detail-pill__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.15rem;
  letter-spacing: 0.04em;
}

.reports-artwork-shell {
  border-radius: 28px;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(16,37,66,0.08), rgba(241,91,74,0.1)),
    #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.reports-artwork-canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
  background: #102542;
}

.reports-birthday-studio-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.reports-birthday-studio-copy {
  min-width: 0;
}

.reports-birthday-studio-eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c8aa5;
}

.reports-birthday-studio-title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 700;
  color: #1f2a44;
}

.reports-birthday-studio-helper {
  display: block;
  max-width: 29rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #60708c;
}

.reports-birthday-studio-actions {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
  width: 100%;
  justify-content: center;
  margin: 0.35rem 0 1.1rem;
}

.reports-birthday-studio-btn {
  min-height: 38px;
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.reports-insight-chip {
  min-width: 0;
  width: 100%;
  border-radius: 18px;
  background: linear-gradient(135deg, #102542, #1d4ed8);
  color: #fff;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.reports-insights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.reports-insight-chip small,
.reports-insight-chip span {
  color: rgba(255,255,255,0.76);
}

.reports-insight-chip strong {
  font-size: 1.3rem;
}

.reports-progress {
  height: 8px;
  background: #e2e8f0;
}

.reports-progress .progress-bar {
  background: linear-gradient(90deg, #1d4ed8, #38bdf8);
  border-radius: 999px;
}

.reports-chart-body--lg {
  min-height: 360px;
}

.reports-field-layout .card {
  overflow: hidden;
}

.reports-field-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.reports-field-card--accent {
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.55), rgba(255,255,255,0)),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.reports-field-title {
  font-size: 2rem;
  line-height: 1.05;
}

.reports-field-counter {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #173b7a;
  font-weight: 700;
}

.reports-field-counter--dark {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.reports-field-input,
.reports-field-textarea,
.reports-field-select-multiple {
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: none;
}

.reports-field-input,
.reports-field-select-multiple {
  min-height: 44px;
}

.reports-field-textarea {
  min-height: 96px;
}

.reports-field-action,
.reports-field-submit,
.reports-field-delete {
  font-weight: 600;
}

.reports-field-people {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.reports-field-person-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
}

.reports-field-person-card + .reports-field-person-card {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.reports-field-person-card__main strong,
.reports-field-person-card__main small {
  display: block;
}

.reports-field-person-card__main strong {
  color: #102542;
  font-size: 0.94rem;
}

.reports-field-person-card__main small {
  color: #64748b;
  font-size: 0.78rem;
}

.reports-field-person-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.reports-field-person-pill {
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  color: #1e3a8a;
  border: 1px solid rgba(59, 130, 246, 0.16);
  font-weight: 600;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.74rem;
}

.reports-field-person-pill--neutral {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  color: #334155;
  border-color: rgba(148, 163, 184, 0.22);
  font-weight: 600;
}

.reports-field-history-item {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
}

.reports-field-history-title {
  font-size: 1.08rem;
}

.reports-field-history-person {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.reports-field-history-person__remove {
  border: 0;
  background: transparent;
  color: #dc2626;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.reports-field-history-person__remove:hover {
  color: #991b1b;
}

.reports-neighborhood-map-card {
  background:
    radial-gradient(circle at top right, rgba(219, 234, 254, 0.55), rgba(255,255,255,0)),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.reports-neighborhood-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.reports-neighborhood-hero__chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.reports-neighborhood-map-shell {
  position: relative;
  height: 100%;
  min-height: 440px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.98));
  padding: 0.85rem;
}

.reports-neighborhood-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(167, 243, 208, 0.9);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at top right, rgba(187, 247, 208, 0.42), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.94));
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.08);
}

.reports-neighborhood-toolbar__copy {
  flex: 1 1 260px;
}

.reports-neighborhood-toolbar__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  gap: 0.65rem;
  align-items: flex-end;
}

.reports-neighborhood-city-select {
  width: 100%;
}

.reports-neighborhood-city-select .form-label {
  margin-bottom: 0.3rem !important;
  font-size: 0.76rem;
}

.reports-neighborhood-city-select .form-select {
  min-height: 42px;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.reports-neighborhood-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.reports-neighborhood-highlight__item {
  padding: 0.72rem 0.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(167, 243, 208, 0.82);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.96), rgba(255,255,255,0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.reports-neighborhood-highlight__label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 0.2rem;
}

.reports-neighborhood-highlight__item strong {
  display: block;
  color: #064e3b;
  font-size: 0.9rem;
  line-height: 1.25;
}

.reports-neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.7rem;
  align-content: start;
}

.reports-neighborhood-tile {
  --tile-bg-start: #f8fafc;
  --tile-bg-end: #f1f5f9;
  --tile-border: rgba(203, 213, 225, 0.9);
  --tile-shadow: rgba(148, 163, 184, 0.12);
  --tile-text: #102542;
  --tile-meta: #64748b;
  min-height: 74px;
  padding: 0.68rem 0.65rem;
  border: 1px solid var(--tile-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, var(--tile-bg-start), var(--tile-bg-end));
  color: var(--tile-text);
  text-align: left;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.reports-neighborhood-tile:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tile-border) 72%, #ffffff);
  box-shadow: 0 12px 22px var(--tile-shadow);
}

.reports-neighborhood-tile.has-data {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.reports-neighborhood-tile.is-selected {
  border-color: #1d4ed8;
  box-shadow: 0 14px 24px rgba(29, 78, 216, 0.16), 0 0 0 2px rgba(191, 219, 254, 0.55);
}

.reports-neighborhood-tile--heat-0 {
  --tile-bg-start: #f8fafc;
  --tile-bg-end: #eef2f7;
  --tile-border: rgba(203, 213, 225, 0.92);
  --tile-shadow: rgba(148, 163, 184, 0.12);
}

.reports-neighborhood-tile--heat-1 {
  --tile-bg-start: #fff8db;
  --tile-bg-end: #fef3c7;
  --tile-border: rgba(245, 158, 11, 0.28);
  --tile-shadow: rgba(245, 158, 11, 0.16);
}

.reports-neighborhood-tile--heat-2 {
  --tile-bg-start: #feeec0;
  --tile-bg-end: #fcd34d;
  --tile-border: rgba(245, 158, 11, 0.36);
  --tile-shadow: rgba(245, 158, 11, 0.2);
}

.reports-neighborhood-tile--heat-3 {
  --tile-bg-start: #fed7aa;
  --tile-bg-end: #fb923c;
  --tile-border: rgba(249, 115, 22, 0.36);
  --tile-shadow: rgba(249, 115, 22, 0.22);
}

.reports-neighborhood-tile--heat-4 {
  --tile-bg-start: #fdba74;
  --tile-bg-end: #f97316;
  --tile-border: rgba(234, 88, 12, 0.42);
  --tile-shadow: rgba(234, 88, 12, 0.25);
}

.reports-neighborhood-tile--heat-5 {
  --tile-bg-start: #fca5a5;
  --tile-bg-end: #ef4444;
  --tile-border: rgba(185, 28, 28, 0.44);
  --tile-shadow: rgba(185, 28, 28, 0.28);
  --tile-text: #7f1d1d;
  --tile-meta: #991b1b;
}

.reports-neighborhood-tile__name,
.reports-neighborhood-tile__meta {
  display: block;
}

.reports-neighborhood-tile__name {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tile-text);
}

.reports-neighborhood-tile__meta {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: var(--tile-meta);
}

.reports-neighborhood-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-top: 0.8rem;
}

.reports-neighborhood-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: #475569;
}

.reports-neighborhood-legend__swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, var(--tile-bg-start), var(--tile-bg-end));
}

.reports-neighborhood-legend__swatch--heat-0 {
  --tile-bg-start: #f8fafc;
  --tile-bg-end: #eef2f7;
}

.reports-neighborhood-legend__swatch--heat-1 {
  --tile-bg-start: #fff8db;
  --tile-bg-end: #fef3c7;
}

.reports-neighborhood-legend__swatch--heat-2 {
  --tile-bg-start: #feeec0;
  --tile-bg-end: #fcd34d;
}

.reports-neighborhood-legend__swatch--heat-3 {
  --tile-bg-start: #fed7aa;
  --tile-bg-end: #fb923c;
}

.reports-neighborhood-legend__swatch--heat-4 {
  --tile-bg-start: #fdba74;
  --tile-bg-end: #f97316;
}

.reports-neighborhood-legend__swatch--heat-5 {
  --tile-bg-start: #fca5a5;
  --tile-bg-end: #ef4444;
}

.reports-neighborhood-panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(219, 234, 254, 0.45), rgba(255,255,255,0)),
    rgba(255, 255, 255, 0.92);
  padding: 0.9rem;
}

.reports-neighborhood-panel__badge {
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.reports-neighborhood-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.reports-neighborhood-stat {
  border: 1px solid rgba(191, 219, 254, 0.8);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.9), rgba(255,255,255,0.95));
  padding: 0.68rem 0.8rem;
}

.reports-neighborhood-stat span,
.reports-neighborhood-stat strong {
  display: block;
}

.reports-neighborhood-stat span {
  font-size: 0.74rem;
  color: #64748b;
  margin-bottom: 0.18rem;
}

.reports-neighborhood-stat strong {
  color: #102542;
  font-size: 0.96rem;
}

@media (max-width: 767.98px) {
  .reports-neighborhood-map-shell {
    min-height: 340px;
    padding: 0.7rem;
  }

  .reports-neighborhood-toolbar {
    padding: 0.75rem;
  }

  .reports-neighborhood-toolbar__controls {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .reports-neighborhood-highlight {
    grid-template-columns: 1fr;
  }

  .reports-neighborhood-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .reports-neighborhood-stats {
    grid-template-columns: 1fr;
  }

}

.reports-field-picker {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 320px;
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  background: #fff;
}

.reports-field-picker__item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: transparent;
  padding: 0.72rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  text-align: left;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.reports-field-picker__item:last-child {
  border-bottom: 0;
}

.reports-field-picker__item:hover {
  background: #f8fbff;
}

.reports-field-picker__item.is-active {
  background: linear-gradient(135deg, rgba(219,234,254,0.55), rgba(239,246,255,0.8));
}

.reports-field-picker__main {
  min-width: 0;
}

.reports-field-picker__main strong,
.reports-field-picker__main small {
  display: block;
}

.reports-field-picker__main strong {
  color: #102542;
  font-size: 0.92rem;
}

.reports-field-picker__main small {
  color: #64748b;
  font-size: 0.77rem;
}

.reports-field-picker__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.reports-field-picker__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.56rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.09);
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
}

.reports-field-picker__tag--muted {
  background: rgba(148, 163, 184, 0.14);
  color: #64748b;
}

.campanha-participacao-summary {
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 0.95rem;
  padding: 0.85rem 0.95rem;
  background:
    radial-gradient(circle at top right, rgba(110, 231, 183, 0.28), rgba(255,255,255,0)),
    linear-gradient(180deg, #f8fffd, #ffffff);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.campanha-participacao-summary__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.campanha-participacao-summary__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f766e;
}

.campanha-participacao-summary__title {
  margin: 0.1rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #102542;
}

.campanha-participacao-summary__badge {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.campanha-participacao-summary__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.campanha-participacao-summary__card {
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(148, 163, 184, 0.14);
  padding: 0.7rem 0.75rem;
}

.campanha-participacao-summary__card strong,
.campanha-participacao-summary__card span {
  display: block;
}

.campanha-participacao-summary__card strong {
  font-size: 1.1rem;
  color: #102542;
}

.campanha-participacao-summary__card span {
  font-size: 0.77rem;
  color: #64748b;
}

.campanha-participacao-summary__timeline {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.campanha-participacao-summary__item {
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.campanha-participacao-summary__item-type {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.3rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.campanha-participacao-summary__item strong,
.campanha-participacao-summary__item small {
  display: block;
}

.campanha-participacao-summary__item small,
.campanha-participacao-summary__empty {
  color: #64748b;
}

@media (max-width: 991.98px) {
  .reports-birthday-studio-head {
    flex-direction: column;
    align-items: stretch;
  }

  .reports-birthday-studio-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .reports-switcher {
    grid-template-columns: 1fr;
  }

  .reports-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reports-field-title {
    font-size: 1.55rem;
  }

  .reports-field-person-card,
  .reports-field-picker__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .reports-field-person-card__meta,
  .reports-field-picker__meta {
    justify-content: flex-start;
  }

  .campanha-participacao-summary__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .reports-insights-grid {
    grid-template-columns: 1fr;
  }
}
