:root {
  --primary: #d63066;
  /*ff2d75*/
  --secondary: #333144;
  --terceiro: #bf0045;
  --dark: #1a1725;
  --light: #f8f9fa;
  --success: #28a745;
  --warning: #ffd31b;
  /*ffc107*/
  --danger: #890038;
  /*dc3545*/
  --info: #17a2b8;

  --laranja: #f3953f;
  --rosa: #fa6b91;
  --rosaclaro: #ff8aa9;
  --bordo: #bf0045;
  --darkl: #2b273b;

  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #f0f2f5;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;

  --chart-text-color: #000000;
  --faq-answer-text-color: #000000;


  /* Preto para tema claro */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dropdown-custom {
  position: relative;
  display: inline-block;
}

.btn-custom {
  background-color: var(--primary);
  color: var(--light);
  border: none;
  font-weight: bold;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
}


.dropdown-menu-custom {
  display: none;
  position: absolute;
  background-color: var(--light);
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  padding: 10px;
  z-index: 1;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-top: 5px;
}

.dropdown-menu-custom label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  cursor: pointer;
}

.dropdown-menu-custom ul {
  list-style: none;
  /* remove os markers (bolinhas) */
  padding: 0;
  margin: 0;
}

.dropdown-menu-custom li {
  list-style-type: none;
  /* também garante que não tenha marcador */

  /* espaço entre os checkboxes */
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;

  /* espaço entre o checkbox e o texto */
}

.form-check-input {
  margin: 0;
  accent-color: var(--rosa);
  /* Azul Bootstrap — personalize aqui */
}



.show-dropdown {
  display: block;
}

body {
  background-color: var(--dark);
  color: var(--light);
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 1px 20px;
}

header {
  background-color: var(--secondary);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  color: var(--primary);
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: var(--rosaclaro);
}

.nav-links a:hover {
  background-color: var(--laranja);
}

.nav-links a.active {
  background-color: var(--primary);
}

.user-info {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.btn:disabled,
.btn.disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--light);
}

.btn-primary:hover {
  background-color: var(--bordo);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--light);
}

.btn-secondary:hover {
  background-color: #33304a;
}

.btn-secondary-filter {
  background-color: var(--info);
  color: var(--light);
  margin-top: 28px;
  width: 150px;
  height: 35px;
}

.btn-secondary-filter:hover {
  background-color: #33304a;
}

.btn-success {
  background-color: var(--success);
  color: var(--light);
}

.btn-success:hover {
  background-color: #218838;
}

.btn-danger {
  background-color: var(--danger);
  color: var(--light);
}

.btn-danger:hover {
  background-color: var(--rosa);
}

.btn-info {
  background-color: var(--bs-gray-500);
  color: var(--light);
}

.btn-info:hover {
  background-color: var(--bs-gray-400);
}

.btn-warning {
  background-color: var(--warning);
  color: var(--light);
}

.btn-warning:hover {
  background-color: #e6b80d;
}


.btn-visualizar {
  background-color: var(--info);
  color: var(--light);
}

.btn-mes {
  background-color: var(--bs-gray-600);
  color: var(--light);
}

.btn-mes:hover {
  background-color: var(--bs-gray-700);
}

.btn-mes.active {
  background-color: var(--laranja);
  border-color: var(--primary-color);
  color: white;
}

.btn-icon {

  padding: 0.375rem;
  line-height: 1;
  border-radius: 50%;
}

.chart-actions {
  display: flex;
  gap: var(--spacing-2);
}

.chart-actions {
  width: 100%;
  justify-content: flex-end;
  margin-top: -25px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-3);
}

.chart-header {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-2);
}

.card {
  background-color: var(--secondary);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-title {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 20px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.card-status {
  background-color: var(--secondary);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-status-title {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 20px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.card-status:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-text {
  flex: 1;
}

.card-label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  margin: 0 0 8px 0;
}

.card-value {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 50%;
  margin-left: 20px;
}

.icon-svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.total-leads .card-value {
  color: #3b82f6;
}

.total-leads .card-icon {
  background-color: #dbeafe;
}

.total-leads .icon-svg {
  stroke: #3b82f6;
}

/* Cores específicas para cada card */
.vendas-instaladas .card-value {
  color: #059669;
}

.vendas-instaladas .card-icon {
  background-color: #d1fae5;
}

.vendas-instaladas .icon-svg {
  stroke: #059669;
}

.taxa-conversao .card-value {
  color: #7c3aed;
}

.taxa-conversao .card-icon {
  background-color: #ede9fe;
}

.taxa-conversao .icon-svg {
  stroke: #7c3aed;
}

.em-atendimento .card-value {
  color: #ea580c;
}

.em-atendimento .card-icon {
  background-color: #fed7aa;
}

.em-atendimento .icon-svg {
  stroke: #ea580c;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-control-telefone {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  background-color: var(--light);
  color: var(--dark);
}

.form-control-telefone:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 6px var(--terceiro)
}


.form-control {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  background-color: var(--light);
  color: var(--dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 6px var(--terceiro)
}

.form-control:disabled {
  background-color: var(--bs-gray-400);
  /* Cor de fundo mais escura */
  color: #000;
  /* Texto mais claro, mas não branco */
  cursor: not-allowed;
  /* Cursor padrão para campos desativados */
  border-color: var(--danger);
  /* Borda mais escura */
  opacity: 0.8;
  /* Leve transparência */
}

p {
  color: var(--light);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #3a3448;
}

table th {
  background-color: var(--bs-gray-300);
  color: var(--primary);
}

table tr:hover {
  background-color: var(--laranja);
}

table.dataTable>tbody>tr:hover {
  background-color: var(--laranja);
}

.badge {
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
}

.badge-fire {
  background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25em 0.75em;
  border-radius: 12px;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 5px rgba(255, 85, 0, 0.8), 0 0 10px rgba(255, 140, 0, 0.6);
}


.badge-primary {
  background-color: var(--primary);
  display: inline-block;
  align-items: center;
  /* centraliza horizontalmente */
  text-align: center;
  /* garante centralização de texto */
  color: var(--light);
}

.badge-secondary {
  background-color: var(--secondary);
  display: inline-block;
  align-items: center;
  /* centraliza horizontalmente */
  text-align: center;
  /* garante centralização de texto */
  color: var(--light);
}


.badge-success {
  background-color: var(--success);
  display: inline-block;
  align-items: center;
  /* centraliza horizontalmente */
  text-align: center;
  /* garante centralização de texto */
  color: var(--light);
}

.badge-warning {
  background-color: var(--warning);
  display: inline-block;
  align-items: center;
  /* centraliza horizontalmente */
  text-align: center;
  /* garante centralização de texto */
  color: #212529;
}

.badge-info {
  background-color: var(--info);
  display: inline-block;
  align-items: center;
  /* centraliza horizontalmente */
  text-align: center;
  /* garante centralização de texto */
  color: var(--light);
}

.badge-danger {
  background-color: var(--danger);
  display: inline-block;
  align-items: center;
  /* centraliza horizontalmente */
  text-align: center;
  /* garante centralização de texto */
  color: var(--light);
}

/* feito para status sem sucsso */
.badge-semsucesso {
  background-color: var(--laranja);
  display: inline-block;
  align-items: center;
  /* centraliza horizontalmente */
  text-align: center;
  /* garante centralização de texto */
  color: var(--light);
}

/* feito para status atendimento */
.badge-atendimento {
  background-color: var(--info);
  display: inline-block;
  align-items: center;
  /* centraliza horizontalmente */
  text-align: center;
  /* garante centralização de texto */
  color: var(--light);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
}

.col-md-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

.col-md-10 {
  flex: 0 0 83.33%;
  max-width: 83.33%;
  padding: 0 15px;
}

.col-md-8 {
  flex: 0 0 66.66%;
  max-width: 66.66%;
  padding: 0 15px;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.col-md-5 {
  flex: 0 0 41.333333%;
  max-width: 41.333333%;
  padding: 0 15px;
}

.col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

.col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.col-md-2 {
  flex: 0 0 16.6%;
  max-width: 16.6%;
  padding: 0 5px;
}

.col-md-1 {
  flex: 0 0 8.33%;
  max-width: 8.33%;
  padding: 0 5px;
}

.col-md-35 {
  flex: 0 0 29.16%;
  max-width: 29.16%;
  padding: 0 5px;
}



.stat-card-botao {
  background-color: var(--darkl);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;

}

/* Modificadores de cor */
.stat-green {
  --primary-color: #4cd964;
}

.stat-blue {
  --primary-color: #4287f5;
}

.stat-orange {
  --primary-color: #f3953f;
}

.stat-roxo {
  --primary-color: #9c27b0;
}

.stat-red {
  --primary-color: #ff3b30;
}



.stat-card {
  background-color: var(--bs-gray-200);
  border-left: 4px solid var(--primary-color);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.stat-card h3 {
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 10px;
}

.stat-card .number {
  font-size: 30px;
  font-weight: bold;
  color: var(--primary-color);
}

.icon-container {
  position: absolute;
  top: 20px;
  right: 20px;
}


.icon-stroke {
  stroke: var(--primary-color);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.chart-container {
  height: 400px;
  margin: 20px 0;
}

.alert {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid var(--success);
  color: var(--success);
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid var(--danger);
  color: var(--light);
}



.hidden {
  display: none;
}

/* Responsividade */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--secondary);
    z-index: 1000;
    padding: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
  }

  .col-md-6,
  .col-md-4,
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
  }

  table {
    font-size: 14px;
  }

  .hide-on-mobile {
    display: none;
  }
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 24px;
  cursor: pointer;
}

footer {
  background-color: var(--bs-gray-200);
  border-top: 1px solid var(--light-border);
  padding: 20px 0;
  text-align: center;
  margin-top: 50px;
}

footer p {
  color: var(--dark);
  opacity: 0.7;
}

footer .logo {
  margin-bottom: 10px;
  display: inline-block;
}

.dashboard-menu {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.dashboard-menu a {
  background-color: var(--secondary);
  padding: 10px 20px;
  border-radius: 30px;
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dashboard-menu a:hover {
  background-color: var(--laranja);
}

.dashboard-menu a.active {
  background-color: var(--primary);
}

.search-form {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.search-form .form-control {
  flex: 1;
}

.search-form-log {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.search-form-log .form-control {
  flex: 1;
}


.btn-close {
  color: var(--dark);
  background-color: transparent;
  font-weight: bold;
  /* Remove o fundo */
  border: 10px;
  /* Remove a borda, se necessário */
}

/* modal-large */
.modalLarge {
  position: fixed;
  /* Sobrepõe o conteúdo */
  z-index: 1000;
  /* Garante que fique na frente */
  left: 0;
  top: 0;
  width: 100%;
  /* Largura total */
  height: 100%;
  /* Altura total */
  overflow: auto;
  /* Adiciona barra de rolagem se o conteúdo for muito grande */
  background-color: rgba(0, 0, 0, 0.5);
  /* Fundo semi-transparente */
}

.modalLarge-content {
  position: relative;
  /* Permite posicionar o botão de fechar */
  background-color: var(--bs-gray-200);
  margin: 5% auto;
  /* Centraliza vertical e horizontalmente */
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  /* Largura máxima */
  width: 80%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalOpen 0.3s ease-out;
  /* Animação suave ao abrir */
}


/* Estilos para o Modal */
.modal {
  position: fixed;
  /* Sobrepõe o conteúdo */
  z-index: 1000;
  /* Garante que fique na frente */
  left: 0;
  top: 0;
  width: 100%;
  /* Largura total */
  height: 100%;
  /* Altura total */
  overflow: auto;
  /* Adiciona barra de rolagem se o conteúdo for muito grande */
  background-color: rgba(0, 0, 0, 0.5);
  /* Fundo semi-transparente */
}

.modal-content {
  position: relative;
  /* Permite posicionar o botão de fechar */
  background-color: var(--secondary);
  margin: 5% auto;
  /* Centraliza vertical e horizontalmente */
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  /* Largura máxima */
  width: 80%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalOpen 0.3s ease-out;
  /* Animação suave ao abrir */
}

/* Animação para o modal aparecer */
@keyframes modalOpen {
  from {
    opacity: 0;
    transform: translateY(-50px);
    /* Começa um pouco acima */
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--dark);
}

.modal-title {
  color: var(--primary);
  font-size: 20px;
}

.close-modal {
  position: absolute;
  /* Posiciona no canto superior direito */
  top: 10px;
  right: 10px;
  color: var(--light);
  font-size: 24px;
  cursor: pointer;
  border: none;
  background: none;
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--);
}

.modal-body {
  margin-bottom: 20px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #000;
  margin-top: 20px;
  margin-bottom: -29px;
}

.modal-footer .btn {
  margin-top: 20px;
}

/* Classe para mostrar/ocultar o modal (usada no JavaScript) */
.modal.show {
  display: block;
}

/* menudropdown */
.menu-btn {
  display: none;
  /* Oculto por padrão */
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
}

/* Hover: fora do @media, assim funciona em todas as resoluções */
.nav-link:hover {
  background-color: var(--primary);
  color: white;
  /* opcional */
}

.nav-link:active {
  background-color: var(--primary);
  color: white;
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    z-index: 1;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links .nav-link {
    padding: 10px;
    text-align: center;
    width: 100%;
  }
}


.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-toggle {
  background: white;
  /* border: 2px solid #000; Cor e espessura da borda */
  border-radius: 50%;
  /* Bordas arredondadas como um círculo */
  display: flex;
  font-size: 24px;
  align-items: center;
  cursor: pointer;
  padding: 10px 10px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--secondary);
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
}



.user-dropdown.show .dropdown-menu {
  display: block;
}

.dropdown-item {
  padding: 10px 15px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: var(--primary);
  /* Cor de destaque */
}

.logout {
  text-decoration: none;
  color: inherit;
  /* Herdar a cor do texto */
}

.icon {
  margin-right: 8px;
  /* Espaçamento entre ícone e texto */
}

/* mobile */
@media (max-width: 768px) {

  .col-md-12,
  .col-md-6,
  .col-md-4,
  .col-md-3,
  .col-md-2 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }


}

.dropdown-menu {
  background-color: var(--bs-gray-200);
}

/* notificação */
.notification-container {
  position: relative;
  display: inline-block;
}

.fa-bell.bell-icon {
  color: #000;
}

.notification-trigger {
  position: relative;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgb(0, 0, 0);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.notification-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(233, 30, 99, 0.4);
  background: rgba(233, 30, 99, 0.2);
  border-color: rgba(233, 30, 99, 0.3);
}

.notification-trigger:active {
  transform: scale(0.95);
}

.bell-icon {
  font-size: 24px;
  color: white;
  transition: all 0.3s ease;
}

.notification-trigger:hover .bell-icon {
  animation: bellRing 0.6s ease-in-out;
}

@keyframes bellRing {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(15deg);
  }

  75% {
    transform: rotate(-15deg);
  }
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(45deg, #e91e63, #ad1457);
  color: white;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.notification-menu {
  position: absolute;
  top: 70px;
  right: 0;
  width: 380px;
  background: rgba(52, 73, 94, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1000;
}

.notification-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.notification-header {
  padding: 20px 25px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, var(--primary), var(--rosa));
  border-radius: 20px 20px 0 0;
  color: white;
}

.notification-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 500;
}

.notification-list {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 0;
}

.notification-list::-webkit-scrollbar {
  width: 6px;
}

.notification-list::-webkit-scrollbar-track {
  background: rgba(255, 21, 21, 0.1);
  border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #e91e63, #ad1457);
  border-radius: 3px;
}

.notification-item {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  color: white;
}

.notification-item:hover {
  background: rgba(233, 30, 99, 0.1);
  transform: translateX(5px);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.notification-icon.info {
  background: linear-gradient(45deg, #3498db, #2980b9);
}

.notification-icon.success {
  background: linear-gradient(45deg, #27ae60, #229954);
}

.notification-icon.warning {
  background: linear-gradient(45deg, #f39c12, #e67e22);
}

.notification-text {
  flex: 1;
}

.notification-message {
  font-size: 14px;
  color: #ecf0f1;
  margin-bottom: 5px;
  line-height: 1.4;
}

#notificationList a {
  text-decoration: none !important;
  /* Usando !important só para garantir o teste */
  color: inherit !important;
}

.notification-time {
  font-size: 12px;
  color: #bdc3c7;
  font-weight: 500;
}

.notification-footer {
  padding: 15px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.view-more-btn {
  color: #e91e63;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-more-btn:hover {
  color: #ad1457;
  transform: translateY(-1px);
}

.empty-state {
  text-align: center;
  padding: 40px 25px;
  color: #bdc3c7;
}

.empty-icon {
  font-size: 48px;
  color: #7f8c8d;
  margin-bottom: 15px;
}

.empty-text {
  font-size: 16px;
  margin-bottom: 5px;
  color: #ecf0f1;
}

.empty-subtext {
  font-size: 14px;
  color: #95a5a6;
}

/* Animação para novos itens */
.notification-item.new {
  animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsividade */
@media (max-width: 480px) {
  .notification-menu {
    width: 320px;
    right: -20px;
  }
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

/* Container do multi-select */
.multiselect-container {
  position: relative;
  width: 100%;
  font-size: 14px;
}

/* Botão principal que mostra as opções selecionadas */
.multiselect-button {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 20px;
}

.multiselect-button:hover {
  border-color: #999;
}

.multiselect-button.open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: #ccc;
}

/* Texto do botão */
.multiselect-text {
  flex: 1;
  text-align: left;
  color: #666 !important;
}

/* Seta do dropdown */
.multiselect-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  transition: transform 0.2s;
}

.multiselect-arrow.open {
  transform: rotate(180deg);
}

/* Container das opções */
.multiselect-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.multiselect-options.show {
  display: block;
}

/* Opção individual */
.multiselect-option {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.multiselect-option:hover {
  background-color: #f8f9fa;
}

.multiselect-option.selected {
  background-color: #e9ecef;
}

/* Checkbox customizado */
.multiselect-checkbox {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-radius: 3px;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
}

.multiselect-checkbox:checked {
  background-color: #007bff;
  border-color: #007bff;
}

.multiselect-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Label da opção */
.multiselect-label {
  flex: 1;
  cursor: pointer;
}

/* Estilo para "Select all" */
.select-all {
  font-weight: bold;
  border-bottom: 2px solid #ddd !important;
}

/* Tags das opções selecionadas (opcional) */
.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.selected-tag {
  background-color: #e9ecef;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.selected-tag .remove {
  cursor: pointer;
  font-weight: bold;
  color: #666;
}

.selected-tag .remove:hover {
  color: #000;
}

/* stilo do badger*/
.title-custon-obs {
  position: relative;
  display: inline-block;
  cursor: help;
}

/* Esconde o tooltip padrão do navegador */
.title-custon-obs[title]:hover::before {
  content: "";
}

.title-custon-obs::after {
  content: attr(title);
  visibility: hidden;
  opacity: 0;
  position: absolute;
  z-index: 1000;
  background: var(--bs-gray-700);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  width: 300px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  margin-bottom: 8px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
}

.title-custon-obs::before {
  content: '';
  visibility: hidden;
  opacity: 0;
  position: absolute;
  z-index: 1000;
  border: 6px solid transparent;
  border-top-color: #2c3e50;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
}

.title-custon-obs:hover::before,
.title-custon-obs:hover::after {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/*tabs*/
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}


/* --- Estilo dos Links/Botões das Abas --- */
.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--light) !important;
  /* Cor azul padrão do Bootstrap para links */
  text-decoration: none;
  background: var(--rosaclaro);
  border: 1px solid transparent;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Efeito ao passar o mouse ou focar (com teclado) */
.nav-link:hover,
.nav-link:focus {
  isolation: isolate;
  /* Ajuda a prevenir problemas de sobreposição */
}

.nav-tabs {
  margin-bottom: 20px;
}

/* --- A MÁGICA VISUAL DA ABA ATIVA --- */
.nav-tabs .nav-link.active {
  color: var(--light);
  /* Cor de texto mais escura para a aba ativa */
  background-color: var(--primary);
  /* Cor de fundo branca, para parecer que está na frente */
  /*
         * Este é o truque principal: a borda de baixo fica da mesma cor do fundo,
         * criando a ilusão de que a aba está conectada ao conteúdo abaixo.
        */
}

/* --- Estilo dos Painéis de Conteúdo --- */
.tab-content {
  /* O contêiner do conteúdo geralmente não precisa de estilo, mas pode ter margem */
  margin-top: -1px;
  /* Alinha a borda do conteúdo com a borda da aba */
}

.tab-pane {
  /* Por padrão, todos os painéis de conteúdo ficam escondidos */
  display: none;
}

.tab-pane.active {
  /* O painel com a classe .active (adicionada pelo JS) fica visível */
  display: block;
}

/* --- Efeito de Transição (Fade) --- */
.fade {
  transition: opacity 0.15s linear;
  opacity: 0;
}

/* O JS adiciona a classe .show junto com a .active */
.fade.show {
  opacity: 1;
}

.b {
  color: black;
  text-decoration: none;
}

.faq-container {
  max-width: 100%;
  width: 100%;
  /* Garante que ocupe a largura máxima disponível */
  margin: 40px auto;
  /* Adiciona um pouco mais de margem superior */
  background: #fff;
  padding: 30px;
  /* Mais padding interno */
  border-radius: 12px;
  /* Bordas mais arredondadas */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  /* Sombra mais pronunciada e suave */
}

details {
  margin-top: 20px;
  margin-bottom: 15px;
  /* Mais espaço entre os itens do FAQ */
  border: 1px solid #e0e6ec;
  /* Borda mais suave */
  border-radius: 8px;
  /* Bordas arredondadas */
  overflow: hidden;
  transition: all 0.3s ease;
  /* Transição para a borda/sombra ao abrir */
}

details[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  /* Sombra sutil quando aberto */
  border-color: var(--primary);
  /* Borda destacada quando aberto */
}

summary {
  font-weight: 600;
  /* Negrito mais suave */
  font-size: 1.15em;
  /* Fonte um pouco maior */
  padding: 18px 20px;
  /* Mais padding */
  cursor: pointer;
  background-color: var(--bs-gray-200);
  /* Fundo mais claro para o sumário */
  position: relative;
  list-style: none;
  /* Remove o marcador padrão do navegador */
  outline: none;
  /* Remove o outline de foco padrão */
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Transição para hover */
  display: flex;
  /* Para alinhar a seta */
  align-items: center;
  justify-content: space-between;
  /* Espaço entre texto e seta */
}

summary:hover {
  background-color: var(--laranja);

  /* Efeito de hover sutil */
  color: var(--dark);
  /* Cor do texto no hover */
}

/* Estilo para o ícone de seta customizado */
summary::after {
  content: '\276F';
  /* Caractere de "seta para a direita" */
  font-family: 'Font Awesome 5 Free', 'Segoe UI', sans-serif;
  /* Se estiver usando Font Awesome, use. Senão, um fallback. */
  font-weight: 900;
  /* Para o Font Awesome */
  margin-left: 10px;
  font-size: 1em;
  /* Ajusta o tamanho da seta */
  color: #888;
  /* Cor da seta */
  transition: transform 0.3s ease, color 0.3s ease;
  /* Animação da seta */
}

details[open]>summary::after {
  transform: rotate(90deg);
  /* Gira a seta quando aberto */
  color: var(--dark);
  /* Cor da seta quando aberto */
}

.faq-content {
  padding: 15px 20px 20px;
  /* Borda superior suave */
  background-color: var(--light-card-bg);
  line-height: 1.6;
  /* Espaçamento entre linhas para melhor leitura */
  color: var(--faq-answer-text-color);
  /* Cor do texto da resposta */
  max-height: 0;
  /* Começa com altura 0 para a animação */
  overflow: hidden;
  /* Esconde o conteúdo que transborda */
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  /* Transição para a altura */
}

details[open] .faq-content {
  max-height: 500px;
  /* Altura máxima que o conteúdo pode atingir (ajuste se necessário) */
  /* Remove padding-top e border-top para evitar flash durante a transição */
  padding-top: 15px;
  /* Volta o padding para o valor desejado */
  border-top: 1px solid #eef2f5;

  /* Volta a borda */
}

.faq-content p {
  margin: 0 0 10px 0;
  color: var(--faq-answer-text-color);
  /* Remove margem padrão do último parágrafo */
}

.faq-content p:last-child {
  margin-bottom: 0;
}


/* Estilo para links dentro do FAQ */
.faq-content a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-content a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Media Queries para responsividade */
@media (max-width: 768px) {
  .faq-container {
    margin: 20px;
    padding: 20px;
  }

  h1 {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  summary {
    font-size: 1em;
    padding: 15px;
  }

  .faq-content {
    padding: 10px 15px 15px;
  }
}