@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:wght@400;600;700&family=Oswald:wght@200;400;600;700&family=Playfair+Display:wght@700&display=swap"); /* ======== BASE ======== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 10px 0 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f0f4f8;
  color: #000;
  font-family: "Open Sans", sans-serif;
  opacity: 0;
  animation: pageFadeIn 0.8s ease-out forwards;
  scrollbar-width: thin;
  scrollbar-color: #223872 rgba(255, 255, 255, 0.4);
  overflow-x: hidden;
}

.login-body {
  background: radial-gradient(circle at top, #e8f0ff 0%, #f0f4f8 40%, #d4e4f7 100%);
  padding: 0;
  align-items: center;
  justify-content: center;
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 24px;
}

.login-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  padding: 48px 40px 40px;
  box-shadow: 0 24px 48px rgba(47, 27, 12, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.login-logo {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}

.login-title {
  margin: 0;
  font-size: 32px;
  color: #223872;
  text-align: center;
  letter-spacing: 0.5px;
}

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-label {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: #223872;
}

.login-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid rgba(34, 56, 114, 0.18);
  font-size: 15px;
  font-weight: 600;
  color: #223872;
  background: rgba(255, 255, 255, 0.9);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.login-input:focus {
  outline: none;
  border-color: rgba(34, 56, 114, 0.45);
  box-shadow: 0 0 0 4px rgba(34, 56, 114, 0.15);
}

.login-button {
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #223872 0%, #1a2d5e 100%);
  color: #fff2e4;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(34, 56, 114, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(34, 56, 114, 0.4);
}

.login-feedback {
  min-height: 20px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #e63946;
}

.login-feedback.success {
  color: #1eb859;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #223872 rgba(255, 255, 255, 0.4);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.35);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: #223872;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.35);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: #1a2d5e;
}

@keyframes feedbackCardMount {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
h2 {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-weight: 300; /*grossura */
  font-size: 40px;
  line-height: 43px;
}
h3 {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-weight: 200; /*grossura */
  font-size: 25px;
}
h4 {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-weight: 100; /*grossura */
  font-size: 20px;
}
p {
  color: #000;
}
img {
  width: 100px;
  height: auto;
  border-radius: 8px;
} /* ======== CABEÇALHO ======== */
header {
  width: calc(100% - 48px);
  max-width: 1400px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 32px;
  margin: 16px auto 0;
  border-radius: 16px;
  animation: logoFadeIn 1s ease-out forwards;
  position: sticky;
  top: 16px;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(34, 56, 114, 0.12), 
              0 2px 8px rgba(34, 56, 114, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2100;
}

/* Logout button specific styles */
.nav-link-logout {
  padding: 8px 12px !important;
  margin-left: 20px !important;
  background: none !important;
  border: 1px solid #ff3b30 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.nav-link-logout:hover {
  background: rgba(255, 59, 48, 0.1) !important;
}

.nav-link-logout svg {
  display: block;
  margin: 0 auto;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #223872;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.nav-link {
  background: transparent;
  border: none;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  color: #223872;
  padding: 10px 18px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
}
.nav-link:hover {
  background: rgba(34, 56, 114, 0.08);
  transform: translateY(-2px);
}
.nav-link.active {
  background: #223872;
  color: #fff;
  box-shadow: 0 4px 16px rgba(34, 56, 114, 0.25);
}
.header-imgDOM {
  width: 140px;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 4px 8px rgba(34, 56, 114, 0.15));
  transition: transform 0.3s ease;
  cursor: pointer;
} /* ========= RODAPÉ ========= */
footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #223872;
  font-size: 14px;
  margin-top: auto;
  box-shadow: 0 -4px 20px rgba(34, 56, 114, 0.1);
  border-top: 2px solid rgba(34, 56, 114, 0.1);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 40px 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(34, 56, 114, 0.15));
}

.footer-brand-text {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin: 0;
  color: #223872;
}

.footer-contact-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 237, 229, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(4px);
  min-width: 240px;
}

.footer-block-icon {
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

.footer-block-title {
  display: block;
  font-weight: 700;
  color: #fdf6ee;
  margin-bottom: 4px;
}

.footer-block-text {
  display: block;
  color: #f4ede5;
  line-height: 1.4;
}

.footer-link {
  display: inline-block;
  color: #ffe4b5;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(34, 56, 114, 0.1);
  text-align: center;
  padding: 16px 24px 20px;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: rgba(34, 56, 114, 0.7);
  font-weight: 500;
}

@media (max-width: 768px) {
  body {
    padding: 0;
    overflow-x: hidden;
    width: 100%;
  }
  
  #conteudo-principal {
    max-width: 100%;
    margin: 10px 0 25px;
    padding: 15px;
    box-sizing: border-box;
  }
  
  /* Center the Resumo de Avaliações card */
  #card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  /* Ensure cards don't stretch too wide on mobile */
  .card {
    width: calc(100% - 20px);
    max-width: 100%;
    margin: 10px auto;
    box-sizing: border-box;
  }

  header {
    width: calc(100% - 24px);
    justify-content: space-between;
    padding: 10px 16px;
    gap: 16px;
    margin: 12px auto 0;
    top: 12px;
  }

  .header-imgDOM {
    width: 100px;
    height: auto;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 20;
    order: -1;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(34, 56, 114, 0.2);
    border: 1px solid rgba(34, 56, 114, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
  }

  .nav-links .nav-link.active {
    background: #223872;
    color: #fff;
  }

  .nav-links .nav-link:not(.active) {
    color: #223872;
    background: rgba(34, 56, 114, 0.05);
  }

  .nav-links .nav-link:not(.active):hover {
    background: rgba(34, 56, 114, 0.12);
  }
  
  .nav-link-logout {
    margin: 10px auto !important;
    padding: 8px 12px !important;
    border: 1px solid #ff3b30 !important;
    border-radius: 6px !important;
  }

  #conteudo-principal,
  #conteudo-secundario,
  #conteudo-contatos,
  #conteudo-terciario,
  #conteudo-estatisticas {
    max-width: 100%;
    margin: 8px auto;
    padding: 12px;
    box-shadow: none;
  }

  h2 {
    font-size: 24px;
    margin: 12px 0 8px 0 !important;
  }

  .card-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .card,
  .card-horizontal,
  .card-resultado-nps {
    width: calc(100% - 24px);
    max-width: 100%;
    min-width: 0;
    padding: 16px;
  }

  #categorias-card {
    min-height: 360px !important;
    padding: 16px 20px 24px !important;
  }

  .grafico-categorias-container {
    height: 320px;
  }

  .card h3 {
    font-size: 20px;
  }

  .nps-resultado-metricas .texto-valor {
    font-size: clamp(3.5rem, 14vw, 5rem) !important;
  }

  .contatos-resumo {
    gap: 12px;
    padding: 0 12px;
  }

  .contatos-resumo-card {
    width: 100%;
    max-width: 100%;
  }

  .contatos-grid {
    width: 100%;
    margin: 8px auto;
    gap: 12px;
  }

  .estatisticas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .estatisticas-chart {
    margin-top: 16px;
  }

  canvas {
    max-width: 100%;
    height: auto;
  }

  #card-container {
    margin-top: 8px;
    gap: 12px;
  }

  .card {
    width: calc(100% - 24px);
    max-width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 12px;
  }

  .card-horizontal {
    flex: 1 1 100%;
    max-width: calc(100% - 24px);
    min-width: 0;
  }

  .card-cliente {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contato-card {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .feedbacks-list {
    width: 100%;
    margin: 8px auto;
    gap: 12px;
  }

  .feedback-card {
    padding: 16px;
  }

  h3 {
    margin: 12px 0;
  }

  h4 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
  }

  .nps-categorias {
    margin-top: 20px;
    gap: 16px;
  }

  .nps-categorias .rotulo {
    font-size: 12px;
    line-height: 1.2;
  }

  .categoria {
    gap: 4px;
  }

  .categoria .icone {
    font-size: 24px;
  }

  .categoria .valor {
    font-size: 18px;
  }

  .categoria .titulo {
    font-size: 11px;
  }

  hr {
    margin: 6px 0 !important;
  }

  .footer-inner {
    padding: 24px 16px 16px;
  }

  .footer-logo {
    width: 80px;
  }

  .footer-brand-text {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px;
    padding: 14px 16px 18px;
  }
}
.header-title {
  font-size: 24px;
  font-weight: bold;
}
.header-img {
  width: 60px;
  height: auto;
} /* imagem da direita */
.header-imgICON {
  width: 35px;
  height: auto;
  margin-left: 70%;
}
.iconeBODY {
  width: 30px;
  height: auto;
} /* ======== CONTEÚDO PRINCIPAL ======== */
#conteudo-principal {
  flex: 1;
  width: 100%;
  max-width: 90%;
  margin: 10px auto 25px;
  background: rgb(247, 247, 247);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 7px 7px 7px 6px rgba(34, 56, 114, 0.35);
  padding-bottom: 60px;
}
#conteudo-estatisticas {
  flex: 1;
  width: 100%;
  max-width: 90%;
  margin: 40px auto;
  background: rgb(247, 247, 247);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 7px 7px 7px 6px rgba(34, 56, 114, 0.35);
  padding-bottom: 60px;
}

.estatisticas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.estat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: feedbackCardMount 0.6s ease-out forwards;
}

.estat-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.estat-card h3 {
  margin-bottom: 15px;
  color: #f06517;
  font-size: 20px;
  text-transform: none;
  letter-spacing: 0.25px;
}

.estat-card p {
  font-size: 18px;
  margin: 8px 0;
  color: #000000;
  font-weight: 600;
}

.estatisticas-chart {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(34, 56, 114, 0.18);
  animation: cardAppear 0.8s ease both;
  will-change: transform, opacity;
}

.estatisticas-legenda {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.estatisticas-legenda-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.estatisticas-legenda-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.estatisticas-legenda-percentage {
  font-weight: 700;
  color: #223872;
  min-width: 64px;
  text-align: right;
}

.estatisticas-legenda-label {
  color: #223872;
  font-weight: 600;
}
#conteudo-secundario {
  flex: 1;
  width: 100%;
  max-width: 90%;
  margin: 40px auto;
  background: rgb(247, 247, 247);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 7px 7px 7px 6px rgba(34, 56, 114, 0.35);
  padding-bottom: 60px;
}
#conteudo-contatos {
  flex: 1;
  width: 100%;
  max-width: 90%;
  margin: 40px auto;
  background: rgb(247, 247, 247);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 7px 7px 7px 6px rgba(34, 56, 114, 0.35);
  padding-bottom: 60px;
}
#conteudo-terciario {
  flex: 1;
  width: 100%;
  max-width: 90%;
  margin: 40px auto;
  background: rgb(247, 247, 247);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 7px 7px 7px 6px rgba(34, 56, 114, 0.35);
  padding-bottom: 60px;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
} /* ======== FORMULÁRIOS ======== */

#contatos-section {
  flex: 1;
  width: 100%;
  max-width: 90%;
  margin: 10px auto 25px;
  background: rgb(247, 247, 247);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 7px 7px 7px 6px rgba(34, 56, 114, 0.35);
  padding-bottom: 60px;
}

.contatos-resumo {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 20px auto;
  max-width: 960px;
}

.contatos-resumo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 20px 28px;
  min-width: 220px;
  text-align: center;
  font-weight: 600;
  color: #223872;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: cardAppear 0.8s ease both;
  will-change: transform, opacity;
}

.contatos-resumo-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

#contatos-mensagem {
  text-align: center;
  font-size: 16px;
  margin: 20px auto;
  max-width: 760px;
  color: #223872;
}

.contatos-filtros {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 20px;
  margin: 20px auto;
  max-width: 90%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: cardAppear 0.8s ease both;
  will-change: transform, opacity;
}

.contatos-filtros:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.contatos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 30px auto 10px;
  width: 90%;
}

.contato-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  flex: 1 1 calc(33.333% - 32px);
  max-width: 340px;
  min-width: 280px;
  min-height: 280px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: feedbackCardMount 0.6s ease-out forwards;
  will-change: transform, opacity;
}

.contato-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.contato-card.no-animation {
  animation: none;
  opacity: 1;
  transform: translateY(0);
}

.contato-card h4 {
  margin: 0;
  color: #223872;
}

.contato-card p {
  margin: 0;
  font-size: 15px;
  color: #3d2a18;
}

.contato-card__badge {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(30, 184, 89, 0.12);
  color: #1a6f43;
  border: 1px solid rgba(30, 184, 89, 0.35);
}

.contatos-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 160px;
  font-size: 18px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: #223872;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
input,
textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}
button:hover {
  background-color: #333;
} /* ======== CARDS GERAIS ======== */
#card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  width: 320px;
  min-height: 280px;
  text-align: center;
  padding: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: cardAppear 0.8s ease both;
  will-change: transform, opacity;
}

.card-horizontal {
  flex: 1 1 34%;
  max-width: 34%;
  min-width: 260px;
}

.nps-resultado-metricas {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.texto-zona {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.texto-valor {
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
  line-height: 0.95;
}

.nps-resultado-metricas .texto-valor {
  font-size: clamp(5rem, 8vw, 7rem) !important;
}

.texto-descritivo {
  text-align: center;
}

.texto-zona.texto-estado-neutro,
.texto-valor.texto-estado-neutro {
  color: #333333;
}

.texto-zona.texto-estado-excelencia,
.texto-valor.texto-estado-excelencia {
  color: #00b327;
}

.texto-zona.texto-estado-qualidade,
.texto-valor.texto-estado-qualidade {
  color: #0058c4;
}

.texto-zona.texto-estado-aperfeicoamento,
.texto-valor.texto-estado-aperfeicoamento {
  color: #ff8a00;
}

.texto-zona.texto-estado-critico,
.texto-valor.texto-estado-critico {
  color: #d21d1d;
}

.card-row-single {
  justify-content: center;
}

.card-row-single .card-resultado-nps {
  flex: 1 1 100%;
  max-width: 100%;
  width: 100%;
  min-height: 200px;
}
.card-resultado-nps {
  min-height: 200px;
  padding: 8px 16px;
}

.nps-unidade-select {
  position: relative;
  z-index: 10;
}

.nps-resultado-metricas {
  position: relative;
  z-index: 1;
}
#indicador-contato {
  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente se houver altura */
  margin-top: 20px;
}
.card-indicador {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 25px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  display: inline-block; /* Faz o card se ajustar ao conteúdo */
}
.card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.card h3 {
  color: #f06517;
  margin-bottom: 15px;
}
.card p {
  font-size: 16px;
  margin: 8px 0;
}
.card span {
  font-weight: bold;
  color: #f06517;
} /* ======== GRID DE CARDS ======== */
.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Distribui os cards igualmente */
  align-items: stretch; /* Mantém altura uniforme */
  gap: 16px;
  width: 100%;
  margin-top: 1.5rem;
  background-color: rgb(247, 247, 247);
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFadeIn {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-imgDOM:hover {
  transform: scale(1.05);
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ======== FEEDBACKS NEGATIVOS ======== */
#negatividade-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
#negatividade-cards {
  background: rgb(247, 247, 247);
  flex: 1;
  min-width: 280px;
}

#negativo-card,
#positivas-card {
  background-color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px 20px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 20px !important;
  height: auto !important;
  flex: 1 1 auto !important;
}

#categorias-wrapper .card-row {
  justify-content: center;
}

#categorias-card {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 400px !important;
  height: auto !important;
  padding: 24px 32px !important;
  text-align: center;
}

.grafico-categorias-container {
  width: 100%;
  height: 400px;
  margin: 24px 0 16px;
  position: relative;
}

#categorias-card canvas {
  width: 100% !important;
  height: 100% !important;
}

/* ======== CLIENTES ======== */
#clientes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.card-cliente {
  flex: 1 1 300px;
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} /* ======== BOTÃO DE CONTATO ======== */
.btn-contato {
  background: #e0e0e0;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.btn-contato:hover {
  opacity: 0.9;
}
.btn-contato.contatado {
  background: #4caf50;
  color: #fff;
} /* ======== CORES DE STATUS ======== */
.detratores {
  color: #e63946;
  font-weight: bold;
}
.neutros {
  color: #f4a261;
  font-weight: bold;
}
.promotores {
  color: #1aa826;
  font-weight: bold;
} /* ======== INDICADOR DE CONTATO ======== */
.indicador-contato {
  text-align: center;
  margin: 10px 0 20px;
  font-size: 1.1rem;
  color: #333;
}
.indicador-contato b {
  color: #000;
} /*========== grafico 2 ==========*/
.nps-distribuicao {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  margin-top: 10px;
}
.nps-categorias {
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
  margin-top: 10%;
}
.categoria {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.categoria .icone {
  font-size: 28px;
  margin-bottom: 4px;
}
.categoria .valor {
  font-size: 20px;
  font-weight: bold;
}
.categoria .titulo {
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 4px;
} /* === BARRA ÚNICA === */
.nps-barra-unica {
  display: flex;
  height: 30px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.segmento {
  height: 100%;
}
.segmento.detratores {
  background: #e63946;
}
.segmento.neutros {
  background: #f4d961;
}
.segmento.promotores {
  background: #1eb859;
} /* === LEGENDAS DE PORCENTAGEM === */
.nps-legenda {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-weight: bold;
  font-size: 14px;
}
.nps-legenda span {
  flex: 1;
  text-align: center;
}
.detratores {
  color: #e63946;
}
.neutros {
  color: #e9be32;
}
.promotores {
  color: #1eb859;
} /* ====== Estilo geral do card ====== */
.card-cliente {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 15px;
  background: #ffffff10;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.card-cliente:hover {
  transform: scale(1.02);
} /* ====== Faixas superiores ====== */
.nota-faixas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.8s ease;
}
.nota-faixas.mostrar-faixas {
  opacity: 1;
  transform: translateY(0);
}
.faixa {
  height: 5px;
  border: none;
  margin: 0;
  width: 100%;
  border-radius: 10px;
} /* ====== Cores com degradê ====== */
.faixa-detrator .faixa {
  background: linear-gradient(-90deg, rgb(255, 58, 61), #862220);
}
.faixa-neutro .faixa {
  background: linear-gradient(-90deg, rgb(252, 213, 41), #b4a51e);
}
.faixa-promotor .faixa {
  background: linear-gradient(90deg, rgb(142, 245, 63), #629936);
}

/* ====== Espaçamento do conteúdo ====== */
.conteudo-cliente {
  position: relative;
  margin-top: 15px;
}
/* ====== BOTÃO DE CONTATO COM ANIMAÇÃO DE PARTÍCULAS ====== */
.btn-contato {
  display: inline-block;
  font-size: 1em;
  font-family: "Open Sans", sans-serif;
  padding: 0.6em 1em;
  -webkit-appearance: none;
  appearance: none;
  background-color: #3b3b3b;
  color: #ffffff;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform ease-in 0.1s, box-shadow ease-in 0.25s, background 0.3s;
  box-shadow: 0 2px 25px rgba(140, 140, 140, 0.51);
}

.btn-contato:hover {
  background-color: #41aa49;
}

.btn-contato.contatado {
  background: #16961c;
}

/* ====== ANIMAÇÃO DE PARTÍCULAS ====== */
.btn-contato:before,
.btn-contato:after {
  position: absolute;
  content: "";
  display: block;
  width: 160%;
  height: 100%;
  left: -20%;
  z-index: 1000;
  transition: all ease-in-out 0.8s;
  background-repeat: no-repeat;
}

.btn-contato:before {
  display: none;
  top: -80%;
  background-image: radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, transparent 20%, #0a7e0a 20%, transparent 30%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #0a7e0a 15%, transparent 20%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%);
  background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
    10% 10%, 18% 18%;
}

.btn-contato:after {
  display: none;
  bottom: -80%;
  background-image: radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #0a7e0a 15%, transparent 20%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%),
    radial-gradient(circle, #0a7e0a 20%, transparent 20%);
  background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
}

.btn-contato.explodir:before {
  display: block;
  animation: topBolhas ease-in-out 0.75s forwards;
}

.btn-contato.explodir:after {
  display: block;
  animation: bottomBolhas ease-in-out 0.75s forwards;
}

@keyframes topBolhas {
  0% {
    background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
      40% 90%, 55% 90%, 70% 90%;
  }
  50% {
    background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
      50% 50%, 65% 20%, 90% 30%;
  }
  100% {
    background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
      50% 40%, 65% 10%, 90% 20%;
    background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
}

@keyframes bottomBolhas {
  0% {
    background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
      70% -10%, 70% 0%;
  }
  50% {
    background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
      105% 0%;
  }
  100% {
    background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
      110% 10%;
    background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
}

.miniCARD {
  background: transparent; /* Fundo invisível */
  border: none; /* Sem borda */
  box-shadow: none; /* Remove qualquer sombra */
  border-radius: 0; /* Sem cantos arredondados */
  padding: 0; /* Sem espaçamento interno, ajustável */
  margin: 0; /* Sem espaçamento externo, ajustável */
  display: flex; /* Mantém o conteúdo organizado */
  flex-direction: column; /* Conteúdo empilhado verticalmente */
  align-items: center; /* Centraliza horizontalmente */
  justify-content: center; /* Centraliza verticalmente */
}

.hvr-outline-out {
  display: inline-block;
  vertical-align: middle;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgb(0, 0, 0);
  position: relative;
  transition-property: color;
  transition-duration: 3s;
}

/* --- Estado inicial (antes do hover) --- */
.hvr-outline-out:before {
  content: "";
  position: absolute;
  border: solid 20px;
  border-color: rgba(
    0,
    47,
    201,
    0.1
  ); /* ✅ cor da borda visível antes do hover */
  border-radius: 12px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition-property: top, right, bottom, left, border-color;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

/* --- Efeito ao passar o mouse --- */
.hvr-outline-out:hover:before {
  top: -10px;
  right: -6px;
  bottom: -6px;
  left: -6px;
}

/* === Cores personalizadas ao passar o mouse === */
.faixa-detrator.hvr-outline-out:hover:before {
  border-color: #e63946; /* vermelho */
}

.faixa-promotor.hvr-outline-out:hover:before {
  border-color: #1eb859; /* verde */
}
.card-resultado-nps {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  padding: 20px;
  background: #ffffff;
  z-index: 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Texto interno */
.card-resultado-nps h3 {
  position: relative;
  z-index: 1;
  color: #111;
  font-size: 20px;
  margin-bottom: 10px;
}

.card-resultado-nps p {
  position: relative;
  z-index: 1;
  color: #333;
  font-size: 15px;
  margin: 5px 0;
}

/* ======= Animação da borda ======= */
.card-resultado-nps::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 140%;
  background-image: linear-gradient(
    180deg,
    #00b36b,
    #009dff
  ); /* cores padrão */
  animation: rotBGimg 3s linear infinite;
  transition: all 0.3s linear;
  z-index: 0;
}

/* “máscara” interna para não cobrir o conteúdo */
.card-resultado-nps::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 15px;
  background: #ffffff;
  z-index: 0;
}

/* ======= Animação ======= */
@keyframes rotBGimg {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ======= Cores dinâmicas de zona (opcional) ======= */
.card-resultado-nps.zona-excelencia::before {
  background-image: linear-gradient(180deg, #00ff88, #00b36b);
}

.card-resultado-nps.zona-qualidade::before {
  background-image: linear-gradient(180deg, #009dff, #0044ff);
}

.card-resultado-nps.zona-aperfeicoamento::before {
  background-image: linear-gradient(180deg, #ffae00, #ff8800);
}

.card-resultado-nps.zona-critica::before {
  background-image: linear-gradient(180deg, #ff1e1e, #990000);
}

.feedbacks-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 90%;
  margin: 30px auto 40px;
}

.feedbacks-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 160px;
  font-size: 18px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.feedback-card {
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--feedback-card-border, rgba(34, 56, 114, 0.18));
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  background: #ffffff;
  opacity: 0;
  transform: translateY(12px);
  animation:
    feedbackCardMount 0.6s ease-out forwards;
}

.feedback-card > * {
  position: relative;
  z-index: 0;
}

.feedback-card,
.feedback-card__header,
.feedback-card__meta,
.feedback-card__descricao,
.feedback-card__descricao-label,
.feedback-card__texto {
  background-color: #ffffff;
}

.feedback-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.feedback-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feedback-card__tipo {
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: #ffffff;
  border: 1px solid var(--feedback-badge-border, rgba(34, 56, 114, 0.3));
  color: var(--feedback-badge-text, #223872);
}

.feedback-card__tipo--promotor {
  --feedback-badge-border: rgba(30, 184, 89, 0.65);
  --feedback-badge-text: #1a6f43;
}

.feedback-card__tipo--detrator {
  --feedback-badge-border: rgba(230, 57, 70, 0.7);
  --feedback-badge-text: #932332;
}

.feedback-card__tipo--neutro {
  --feedback-badge-border: rgba(244, 182, 25, 0.7);
  --feedback-badge-text: #8b5b00;
}

.feedback-card__nota {
  font-weight: 600;
  font-size: 16px;
  color: #223872;
}

.feedback-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #223872;
  justify-content: flex-start;
}

.feedback-card__meta dt {
  font-weight: 600;
  text-align: left;
  margin-bottom: 4px;
}

.feedback-card__meta div {
  min-width: 140px;
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.feedback-card__meta dd {
  margin: 0;
  text-align: left;
  color: #444444;
}

.feedback-card__texto {
  font-size: 15px;
  line-height: 1.5;
  color: #333333;
  margin-top: 0;
}

.feedback-card__descricao {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feedback-card__descricao-label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #223872;
}

.feedbacks-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.feedback-card--promotor {
  --feedback-card-border: rgba(30, 184, 89, 0.75);
}

.feedback-card--detrator {
  --feedback-card-border: rgba(230, 57, 70, 0.75);
}

.feedback-card--neutro {
  --feedback-card-border: rgba(244, 182, 25, 0.75);
}

.feedback-card--nd,
.feedback-card--n-d {
  --feedback-card-border: rgba(105, 105, 105, 0.6);
}

@keyframes feedbackCardGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.paginacao-btn {
  background: #ffffff;
  border: 1px solid rgba(34, 56, 114, 0.25);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #223872;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.paginacao-btn:hover:not(:disabled) {
  background: rgba(34, 56, 114, 0.85);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(34, 56, 114, 0.2);
}

.paginacao-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.paginacao-btn--ativo {
  background: #223872;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(34, 56, 114, 0.25);
}

/* ======= NEW PAGINATION CONTAINER STYLES ======= */
.paginacao-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 12px 0;
}

.paginacao-info {
  font-size: 14px;
  font-weight: 500;
  color: #223872;
  font-family: "Open Sans", sans-serif;
  padding: 0 12px;
  white-space: nowrap;
}

.paginacao-info strong {
  font-weight: 700;
  color: #223872;
}

.paginacao-ir-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(34, 56, 114, 0.2);
}

.paginacao-input {
  width: 55px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 56, 114, 0.25);
  border-radius: 8px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  text-align: center;
  color: #223872;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.paginacao-input:focus {
  outline: none;
  border-color: #223872;
  box-shadow: 0 0 0 3px rgba(34, 56, 114, 0.1);
}

.paginacao-input::placeholder {
  color: rgba(34, 56, 114, 0.4);
}

/* Hide spinner for number input */
.paginacao-input::-webkit-outer-spin-button,
.paginacao-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.paginacao-input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.paginacao-btn-ir {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  background: #223872;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.paginacao-btn-ir:hover {
  background: rgba(34, 56, 114, 0.85);
  transform: translateY(-1px);
}

.paginacao-btn-ir:active {
  transform: translateY(0);
}

/* Responsive adjustments for pagination */
@media (max-width: 600px) {
  .paginacao-container {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .paginacao-ir-container {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  
  .paginacao-info {
    width: 100%;
    text-align: center;
    order: -1;
    padding: 0;
    margin-bottom: 8px;
  }
}

/* ======= CONTATOS FILTERS & SEARCH ======= */
.contatos-filtros {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px auto;
  max-width: 90%;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: cardAppear 0.8s ease both;
  will-change: transform, opacity;
}

.contatos-search {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(34, 56, 114, 0.2);
  border-radius: 8px;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contatos-search:focus {
  outline: none;
  border-color: #223872;
  box-shadow: 0 0 0 3px rgba(34, 56, 114, 0.1);
}

.filtros-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.filtro-grupo {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0;
  border-right: none;
  flex: 0 1 auto;
}

.filtro-grupo:has(input[type="date"]) {
  gap: 6px;
}

.filtro-input-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.filtro-input-icon {
  position: absolute;
  left: 8px;
  pointer-events: none;
  font-size: 16px;
  display: none;
}

.filtro-input--date {
  padding-left: 12px;
  max-width: 160px;
}

.filtro-label {
  font-size: 13px;
  font-weight: 700;
  color: #223872;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.filtro-btn {
  padding: 10px 18px;
  border: 2px solid rgba(34, 56, 114, 0.3);
  background: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #223872;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filtro-btn:hover {
  border-color: #223872;
  background: rgba(34, 56, 114, 0.05);
}

.filtro-btn.active {
  background: #223872;
  color: #ffffff;
  border-color: #223872;
}

.filtro-btn.clear {
  background: rgba(230, 57, 70, 0.1);
  border-color: #e63946;
  color: #932332;
  margin-left: auto;
  flex-shrink: 0;
}

.filtro-btn.clear:hover {
  background: #e63946;
  color: #ffffff;
}

.filtro-select {
  padding: 8px 12px;
  border: 2px solid rgba(34, 56, 114, 0.2);
  border-radius: 6px;
  background: #ffffff;
  font-size: 14px;
  color: #223872;
  cursor: pointer;
  transition: border-color 0.2s ease;
  max-width: 200px;
}

.filtro-select:hover {
  border-color: #223872;
}

.filtro-select:focus {
  outline: none;
  border-color: #223872;
  box-shadow: 0 0 0 3px rgba(34, 56, 114, 0.1);
}

.filtro-input {
  padding: 8px 12px;
  border: 2px solid rgba(34, 56, 114, 0.2);
  border-radius: 6px;
  background: #ffffff;
  font-size: 14px;
  color: #223872;
  transition: border-color 0.2s ease;
  min-width: 200px;
}

.filtro-input::placeholder {
  color: rgba(34, 56, 114, 0.5);
}

.filtro-input:hover {
  border-color: #223872;
}

.filtro-input:focus {
  outline: none;
  border-color: #223872;
  box-shadow: 0 0 0 3px rgba(34, 56, 114, 0.1);
}

.feedbacks-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fafaf8 100%);
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(34, 56, 114, 0.08);
  align-items: center;
  justify-content: flex-start;
}

.feedbacks-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
}

/* ======= MODAL ERRO DATA ======= */
.modal-erro-data {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-erro-data__conteudo {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-erro-data__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-erro-data__icone {
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-erro-data__titulo {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #932332;
  letter-spacing: 0.3px;
}

.modal-erro-data__mensagem {
  margin: 0 0 24px 0;
  font-size: 14px;
  color: #444444;
  line-height: 1.6;
}

.modal-erro-data__btn {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.modal-erro-data__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
}

.modal-erro-data__btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .feedbacks-filtros {
    flex-direction: column;
    gap: 12px;
    justify-content: stretch;
  }

  .filtro-grupo {
    width: 100%;
    border-right: none;
    border-bottom: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .filtro-grupo:last-of-type {
    border-bottom: none;
  }

  .filtro-input,
  .filtro-select {
    width: 100%;
    flex: 1;
  }

  .filtro-btn.clear {
    width: 100%;
    margin-left: 0;
  }
}

/* ======= ESTATISTICAS LAYOUT ======= */
.estatisticas-container {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(360px, 1fr);
  gap: 32px;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 32px;
}

.estatisticas-cards-vertical {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.estatisticas-chart {
  width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #fafaf8 100%);
  border-radius: 26px;
  padding: 36px 32px;
  box-shadow: 0 20px 36px rgba(34, 56, 114, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.estatisticas-chart canvas {
  width: clamp(360px, 85%, 540px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .estatisticas-chart canvas {
    width: min(420px, 92vw) !important;
  }
}

@media (max-width: 1024px) {
  .estatisticas-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .estatisticas-chart {
    width: 100%;
    height: auto;
  }
}

/* ======= CONTACT CARD BUTTONS ======= */
.contato-card-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.contato-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.contato-btn-ativar {
  background: #1eb859;
  color: #ffffff;
}

.contato-btn-ativar:hover {
  background: #16a84a;
  transform: translateY(-2px);
}

.contato-btn-inativar {
  background: #e63946;
  color: #ffffff;
}

.contato-btn-inativar:hover {
  background: #c41e3a;
  transform: translateY(-2px);
}

.contato-btn-darwin {
  background: #0058c4;
  color: #ffffff;
  font-size: 12px;
}

.contato-btn-darwin:hover {
  background: #003fa3;
  transform: translateY(-2px);
}

/* ======= CONTATOS PAGINATION ======= */
.contatos-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
