.vertical-center{
  align-items: center;
  margin: auto;
}
.card-dashboard{
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.8rem;
  padding-bottom: 0;
}

.no-text-decoration{
  text-decoration: none !important;
}
.no-text-decoration:hover{
  text-decoration: none !important;
}

.ml-1r{
  margin-left: 1rem;
}

.form-range {
  width: 60%;
  height: 1.5rem;
  padding: 0;
  background-color: transparent;

}

.fw-bold,.fw-bolder {
  font-weight: 700!important;
}

.text-bg-success-soft {
  background-color: #e4f9ee!important;
  color: #31cf80!important;
  font-size: 0.65rem!important
}

.text-bg-danger-soft {
  background-color: #fae4ea!important;
  color: #d82c5b!important;
  font-size: 0.65rem!important
}

.fs-6{
  font-size: .700rem !important;
}

.large-icon{
  font-size: larger;
}

.red-color{
  color: #e74a3b;
}

.orange-color{
  color: #4e73df;
}

.text-center{
  text-align: center;
}

.bottom-margin10{
  margin-bottom: 10px;
}

.top-margin{
  margin-top: 25px;
}

.card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }
.card-no-shadow {
  border: 0.5px solid #c7c6c6;
  border-radius: .35rem;
}
  
  .form-check-input {
    margin-top: 0.45rem;
  }
  
  .btn-remove {
    width: 100%;
  }
  
  .field-row {
    transition: all 0.3s ease;
  }
  
  .field-row:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
  }

  .dropdown-item {
    background: none;
    border: none;
    color: black;
    text-align: left;
    padding: 10px 16px;
    width: 100%;
    display: block;
    text-decoration: none;
  }
  
  .dropdown-item:hover {
    background-color: #ddd;
    cursor: pointer;
  }

  .dropdown-content {
    /* Removido o posicionamento absoluto para manter o fluxo do documento */
    position: relative;
    background-color: #f6f6f6;
    overflow: auto;
    z-index: 9999; /* Garante que o dropdown fique acima de outros elementos */
    width: 100%;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    padding: 5px;
    margin-bottom: 10px;
  }
  
  .dropdown-content a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  /* A classe .show pode ser utilizada para exibir elementos que estejam ocultos */
  .show {
    display: block !important;
  }
  
  /* O container de valores inicia oculto; ao ser exibido (por exemplo, adicionando a classe "show"),
     ele ficará visível e, por estar em fluxo normal, empurrará os elementos subsequentes */
  .dropdown-values {
    display: none;
  }
  
  .dropdown-values.show {
    display: block;
  }

.schedule-container::-webkit-scrollbar {
    width: 5px;
}

.schedule-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.schedule-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-light-warning {
    /*background-color: #fff3cd !important;*/
    background-color: #fff !important;
}

.border-left-3 {
    border-left-width: 3px !important;
}


.dataTables_wrapper .dataTables_filter input {
  border-radius: 20px;
  padding: 4px 12px;
}
.table-hover tbody tr:hover {
  background-color: #f8f9fc;
  transform: translateX(4px);
  transition: all 0.3s ease;
}
.action-buttons .btn {
  padding: 5px 10px;
  margin: 0 3px;
  border-radius: 8px;
}
.user-status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 500;
}

.truncate-text {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lead-card {
  border: 1px solid #e3e6f0;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.lead-card:hover {
  border-color: #4e73df;
  box-shadow: 0 0.15rem 0.75rem rgba(0,0,0,.05);
}
.task-preview {
  background-color: #f8f9fc;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}
.form-icon-input {
  padding-left: 2.5rem;
}
.form-icon {
  position: absolute;
  z-index: 2;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6e707e;
}
.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85em;
}

.field-card {
  border: 1px solid #e3e6f0;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background: #f8f9fc;
}

.field-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.15rem 0.75rem 0.25rem rgba(58, 59, 69, 0.15);
}

.drag-handle {
  cursor: move;
  color: #858796;
  transition: color 0.3s ease;
}

.drag-handle:hover {
  color: #4e73df;
}

.required-star {
  color: #e74a3b;
  font-size: 0.8em;
  vertical-align: super;
}

.config-card {
  border-left: 4px solid #4e73df;
}


.pdf-container {
  width: 100%;
  height: 800px;
  border: 1px solid #ccc;
}

/* Login */
:root {
  --primary-color: #6366f1;
  --gradient-start: #4f46e5;
  --gradient-end: #8b5cf6;
}

.bg-gradient-primary-login {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
  min-height: 100vh;
}

.login-card {
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.login-card:hover {
  transform: translateY(-5px);
}

.brand-logo-login {
  /*width: 180px;*/
  margin-bottom: 0.3rem;
}

.auth-illustration {
  /*background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));*/
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-illustration img {
  max-width: 100%;
  height: auto;
}

.form-control-login {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.form-control-login:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.btn-primary-login {
  background: var(--primary-color);
  border: none;
  padding: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-outline-login {
  border-color: var(--primary-color);
  color: var(--primary-color);
  padding: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-outline-login:hover {
  background: var(--primary-color);
  color: #fff;
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-primary-login:hover {
  background: var(--primary-color);
  opacity: 0.9;
  transform: translateY(-2px);
}

.password-toggle-login {
  position: absolute;
  right: 1rem;
  top: 73%;
  transform: translateY(-50%);
  cursor: pointer;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.floating-animation {
  animation: floating 6s ease-in-out infinite;
}

/*.alert-dismissible .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;

  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: .25em .25em;
  color: var(--bs-btn-close-color);
  background: transparent var(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")) center / 1em auto no-repeat;
  border: 0;
  border-radius: .375rem;
}*/


/* Switchs */
.switch {
  position: relative;
  display: inline-block;
  width: 65px;
  height: 34px;
}

/* Input tipo text para armazenar o valor booleano */
.toggle-input {
  /* Você pode ocultá-lo se preferir */
  opacity: 0;
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

/* Quando o valor é true, aplicamos estilos para simular o toggle */
.toggle-input.active + .slider {
  /*background-color: #2196F3;*/
  background-color: #4e73df;;
}

.toggle-input.active + .slider:before {
  transform: translateX(31px);
}

/* Estilo para slider arredondado */
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
.no-mb{
  margin-bottom: 0 !important;
}


/* Posiciona os textos "Off" e "On" nas extremidades */
.slider .off-text,
.slider .on-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: white;
  pointer-events: none; /* Para que o clique passe para o input */
}

.slider .on-text {
  left: 8px;
}

.slider .off-text {
  right: 8px;
}

.mh-20{
  margin-top: 20px;
  margin-bottom: 20px;
}




.is-valid {
  border-color: #28a745 !important;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.toggle-password {
  border-radius: 0 0.375rem 0.375rem 0;
  border: 1px solid #d1d3e2;
  border-left: none;
  margin-left: -5px;
  height: calc(1.5em + .75rem + 2px);
}

.right-btn{
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .form-control:focus {
  box-shadow: none;
  border-color: #ced4da;
}

#passwordRequirements small {
  transition: opacity 0.3s ease;
}

.validation-message {
  font-size: 0.875em;
  margin-top: 0.25rem;
}

/* Kanban */
:root {
  --column-bg: #f8f9fc;
  
  /* Cores Primárias e Neutras */
  --primary-gradient: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  --secondary-gradient: linear-gradient(135deg, #858796 0%, #60616f 100%);
  --dark-gradient: linear-gradient(135deg, #5a5c69 0%, #373840 100%);
  --light-gradient: linear-gradient(135deg, #f8f9fc 0%, #d4d6df 100%);
  
  /* Cores de Estado */
  --success-gradient: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
  --danger-gradient: linear-gradient(135deg, #e74a3b 0%, #be2617 100%);
  --warning-gradient: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
  --info-gradient: linear-gradient(135deg, #36b9cc 0%, #258391 100%);
  
  /* Cores Adicionais */
  --purple-gradient: linear-gradient(135deg, #6f42c1 0%, #4e2d8a 100%);
  --pink-gradient: linear-gradient(135deg, #e83e8c 0%, #b52d6d 100%);
  --cyan-gradient: linear-gradient(135deg, #1abc9c 0%, #148f77 100%);
  --orange-gradient: linear-gradient(135deg, #fd7e14 0%, #d5610a 100%);
}

.kanban-board {
  min-height: 80vh;
  padding: 0.2rem;
}

.kanban-column {
  background: var(--column-bg);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  max-height: 90vh;
  overflow-y: auto;
}

.kanban-column-header {
  padding: 1rem;
  color: white;
  border-radius: 12px 12px 0 0;
  position: sticky;
  top: 0;
  z-index: 1;
}

.kanban-column[data-column="1"] .kanban-column-header { background: var(--primary-gradient); }
.kanban-column[data-column="2"] .kanban-column-header { background: var(--success-gradient); }
.kanban-column[data-column="3"] .kanban-column-header { background: var(--warning-gradient); }

.kanban-column[data-column="4"] .kanban-column-header { background: var(--info-gradient); }
.kanban-column[data-column="5"] .kanban-column-header { background: var(--danger-gradient); }
.kanban-column[data-column="6"] .kanban-column-header { background: var(--purple-gradient); }
.kanban-column[data-column="7"] .kanban-column-header { background: var(--pink-gradient); }
.kanban-column[data-column="8"] .kanban-column-header { background: var(--cyan-gradient); }
.kanban-column[data-column="9"] .kanban-column-header { background: var(--orange-gradient); }

.kanban-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  cursor: move;
  transition: all 0.2s;
}

.kanban-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.empty-column {
  background: rgba(0, 0, 0, 0.05);
  border: 2px dashed #dee2e6;
  padding: 2rem 1rem;
  text-align: center;
  color: #6c757d;
}

@media (max-width: 768px) {
  .kanban-board { flex-direction: column; }
  .kanban-column { width: 100%; max-height: 50vh; }
}

.column-filter {
  position: relative;
}
.column-filter-btn {
  background: #4e73df;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
}
.column-filter-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-width: 250px;
  padding: 10px;
  display: none;
}
.column-filter-item {
  padding: 5px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.column-filter-item:hover {
  background: #f8f9fa;
}
.column-filter-checkbox {
  margin-right: 10px;
}

.modal-kanban {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s;
}

.modal-content-kanban {
  background: white;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-header-kanban {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-modal-kanban {
  cursor: pointer;
  font-size: 24px;
  color: #666;
}

.modal-body-kanban {
  padding: 20px;
}

.modal-footer-kanban {
  padding: 15px;
  border-top: 1px solid #eee;
  text-align: right;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


.badge-muitoalta{
  color: #e74a3b;
  background-color: #f0eded;
}
.badge-muitoalta::after{
  content: " 🔥"
}

.badge-alta{
  color: #f6c23e;
  background-color: #f0eded;
}
.badge-alta::after{
  content: " ⚠️"
}

.badge-média{
  color: #4e73df;
  background-color: #f0eded;
}
.badge-média::after{
  content: " ⏳"
}

.badge-baixa{
  color: #1cc88a;;
  background-color: #f0eded;
}
.badge-baixa::after{
  content: " 🌱"
}
.badge-muitobaixa{
  color: #36b9cc;
  background-color: #f0eded;
}
.badge-muitobaixa::after{
  content: " 🥱"
}


/* Adicionar ao styles.css */
.detail-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
}

.detail-value:hover {
  background-color: #e9ecef;
}

.user-detail-card .card-header {
  background: linear-gradient(90deg, #f8f9fc 0%, #ffffff 100%);
  border-bottom: 1px solid #e3e6f0;
}

.user-detail-card {
  border-left: 4px solid #4e73df;
  border-radius: 0.35rem;
}

.detail-label {
  font-weight: 600;
  color: #4e73df;
  min-width: 120px;
}

.detail-value {
  background-color: #f8f9fc;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 4px 0;
  display: inline-block;
  width: 100%;
}

.status-badge {
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.lead-detail-card {
  border-left: 4px solid #36b9cc;
  border-radius: 0.35rem;
}

.detail-group {
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #f8f9fc;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.detail-group:hover {
  background-color: #f1f4f9;
  transform: translateX(5px);
}

.detail-label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 0.95rem;
  color: #4a4a4a;
  margin-top: 0.25rem;
}

.data-type-icon {
  width: 30px;
  text-align: center;
  margin-right: 1rem;
  color: #7a7a7a;
  font-size: 22px;
}

.user-img{
  height: 5rem;
  width: 5rem;
}

       /* Estilos para o novo filtro */
       .responsible-filter {
        position: relative;
        display: inline-block;
    }

    .responsible-filter-btn {
        background: #fff;
        border: 1px solid #ddd;
        padding: 8px 12px;
        border-radius: 4px;
        cursor: pointer;
    }

    .responsible-filter-btn:hover {
        background: #f8f9fa;
    }

    .responsible-filter-menu {
        display: none;
        position: absolute;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 8px;
        z-index: 1000;
        min-width: 200px;
        max-height: 300px;
        overflow-y: auto;
    }

    .responsible-filter-item {
        display: block;
        padding: 4px 8px;
        margin: 2px 0;
        cursor: pointer;
    }

    .responsible-filter-item:hover {
        background: #f8f9fa;
    }

.rule-section {
    margin: 2rem 0;
}
.form-helper {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}
.icon-preview {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.txt-right{
  text-align: right;
}

.icon-circle-index{
  height: 34px;
}

/* WhatsApp Screen */
/* Layout Principal */
.whatsapp-layout {
    display: flex;
    height: calc(100vh - 130px);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Coluna Esquerda - Lista de Conversas */
.conversations-list {
    width: 20%;
    border-right: 1px solid #e9edef;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.search-box {
    padding: 8px 12px;
    background: #f0f2f5;
    border-bottom: 1px solid #d1d7db;
}

.search-box input {
    background: #ffffff;
    border-radius: 20px;
    padding: 8px 32px;
    font-size: 14px;
    border: 1px solid #e9edef;
}

/* Itens da Lista */
.conversation-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f5f6f6;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    display: flex;
    align-items: center;
}

.conversation-item:hover {
    background: #f5f6f6;
}

.conversation-item.active {
    background: #f0f2f5;
}

.conversation-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #008069;
    transition: height 0.2s;
}

.conversation-item.active::after {
    height: 50%;
}

.conversation-info {
    flex-grow: 1;
    min-width: 0;
}

.conversation-name {
    font-weight: 500;
    color: #111b21;
    margin-bottom: 2px;
    font-size: 16px;
}

.conversation-preview {
    color: #667781;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-time {
    color: #667781;
    font-size: 12px;
    margin-left: 8px;
}

.unread-badge {
    background: #008069;
    color: white;
    font-size: 12px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

/* Coluna Direita - Conversa */
.conversation-detail {
    width: 80%;
    background: #efeae2;
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%239C92AC' fill-opacity='0.1'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E");*/
    display: flex;
    flex-direction: column;
}

/* Cabeçalho da Conversa */
.conversation-header {
  padding: 15.5px;
  background: #f0f2f5;
  border-bottom: 1px solid #d1d7db;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bot-icon{
  font-size: 22px;
}

.contact-name {
    font-size: 16px;
    color: #111b21;
    margin: 0;
    font-weight: 500;
}

/* Área de Mensagens */
.chat-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
}

.message-container {
    margin-bottom: 8px;
    max-width: 80%;
    align-self: flex-start;
}

.message-container.sent {
    align-self: flex-end;
}

.message-bubble {
    padding: 8px 12px;
    border-radius: 7.5px;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}

.received .message-bubble {
    background: #ffffff;
    border: 1px solid #e9edef;
}

.sent .message-bubble {
    background: #d9fdd3;
}

.message-time {
    font-size: 11px;
    color: #667781;
    float: right;
    margin: 2px 0 0 6px;
}

.robot-indicator {
    font-size: 11px;
    color: #667781;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.robot-indicator i {
    color: #008069;
}

/* Data Separator */
.date-separator {
    text-align: center;
    margin: 20px 0;
}

.date-separator span {
    background: #dde6e8;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #54656f;
    display: inline-block;
}

/* Área de Input */
.message-input-container {
    padding: 12px 16px;
    background: #f0f2f5;
    border-top: 1px solid #d1d7db;
    display: flex;
    gap: 8px;
}

.btn-attach {
    background: transparent;
    border: none;
    color: #667781;
}

.input-group-whatsapp {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #d1d7db;
    display: flex;
    align-items: center;
    padding: 6px;
}

.message-input {
    border: none !important;
    resize: none;
    box-shadow: none !important;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
    flex-grow: 1;
    max-height: 100px;
}

.btn-send {
    background: #008069;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-send:hover {
    background: #006e58;
}

.icon-origin {
    font-size: 25px;
    color: #006e58;
}

.icon-whats {
    color: #006e58;
}

.icon-insta {
    color: #d300c5;
}


.center-icon{
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-message{
  flex: 1
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}

        .funnel-container {
            margin-top: 2rem;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .funnel-stage {
            position: relative;
            margin: 0 auto;
            text-align: center;
            color: white;
            font-weight: bold;
            padding: 15px 0;
            transition: all 0.3s ease;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            min-width: 250px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        

        /* cada estágio deve estar centralizado e dimensionado internamente */
.funnel-stage-dash {
  margin: 0.5rem auto;   /* 0.5rem em cima/baixo, auto nas laterais para centralizar */
  box-sizing: border-box;
  transform-origin: top center; /* para a animação escalar sair do centro */
}

        .funnel-info {
            position: relative;
            z-index: 2;
            padding: 0 20px;
        }
        
        .funnel-percentage {
            font-size: 1.2rem;
            display: block;
            margin-top: 5px;
            font-weight: bold;
        }
        
        .funnel-connection {
            height: 20px;
            width: 100%;
            position: relative;
            margin: 0 auto;
        }
        .funnel-connection-dash {
            height: 15px;
            width: 100%;
            position: relative;
            margin: 0 auto;
        }
        
        .funnel-connection::after,  .funnel-connection-dash::after {
            content: '';
            position: absolute;
            top: 0;
            left: 25%;
            right: 25%;
            bottom: 0;
            background: #e0e0e0;
            clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
        }
        
        .funnel-count-title{
            font-size: 1.5rem;
            display: block;
            /*margin-bottom: 5px;*/
        }

        .funnel-count {
            font-size: 1.1rem;
            display: block;
        }
        
        .funnel-count-title-dash{
            font-size: 1.0rem;
            /*margin-bottom: 5px;*/
        }

        .funnel-count-dash {
            font-size: 0.9rem;
        }

        .funnel-percentage-dash {
            font-size: 1.0rem;
            margin-top: 5px;
            font-weight: bold;
        }

        .funnel-container-dash {
  width: 100%;           /* ocupa todo o espaço da coluna bootstrap */
  max-width: 100%;       /* nunca extrapola além do pai */
  box-sizing: border-box;/* padding e border entram na conta */
  overflow-x: hidden;    /* esconde qualquer “vaza­mento” lateral */
  padding: 1rem;         /* um espaçamento interno, se quiser */
  height: 100%;
  /*height: 20rem;*/
}



/* Document form screen */
.entity-type-selector { display:flex; gap:15px; margin-bottom:15px; }
.entity-type-btn { flex:1; text-align:center; padding:10px; border:1px solid #d1d3e2; border-radius:5px; cursor:pointer; transition:all .3s; }
.entity-type-btn.active { background:#4e73df; color:#fff; border-color:#4e73df; }
.entity-type-btn i { display:block; font-size:24px; margin-bottom:5px; }
.entity-section { display:none; }
.entity-section.active { display:block; }
.dropdown-values { max-height:240px; overflow:auto; border:1px solid #e3e6f0; border-radius:4px; padding:6px; }
/* Chips de tags */
#tagsEditor { display:flex; flex-wrap:wrap; gap:6px; min-height:38px; align-items:center; }
#tagsEditor ul { display:flex; flex-wrap:wrap; gap:6px; padding-left:0; margin-bottom:0; }
#tagsEditor input { outline:none; min-width:210px; border:0; }
.tag-chip { display:flex; align-items:center; padding:.45rem .6rem; font-weight:600; }
.tag-chip .close { line-height:1; font-size:16px; color:#fff; opacity:.9; }

/* Estilos adicionais de capaign-effectivness para melhorar o visual */
    .campaign-header {
      background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
      color: white;
      border-radius: 0.35rem 0.35rem 0 0;
    }
    
    .stats-card {
      border-left: 4px solid #4e73df;
      transition: all 0.3s ease;
    }
    
    .stats-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }
    
    .table-hover tbody tr:hover {
      background-color: rgba(78, 115, 223, 0.05);
    }
    
    .chart-container {
      position: relative;
      height: 300px;
      margin-bottom: 2rem;
    }
    
    .campaign-badge {
      font-size: 0.75rem;
      padding: 0.35rem 0.65rem;
    }
    
    .empty-state {
      padding: 3rem 1rem;
      color: #6c757d;
    }
    
    .empty-state i {
      font-size: 4rem;
      margin-bottom: 1rem;
      opacity: 0.5;
    }
    
    .filter-form {
      background-color: #f8f9fc;
      border-radius: 0.35rem;
      padding: 0.75rem;
    }
    
    .action-btn {
      border-radius: 50%;
      width: 2rem;
      height: 2rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    
    @media (max-width: 768px) {
      .campaign-header .d-flex {
        flex-direction: column;
      }
      
      .campaign-header .form-inline {
        margin-top: 1rem;
        width: 100%;
      }
      
      .campaign-header .form-inline .form-control {
        width: 100%;
        margin-bottom: 0.5rem;
      }
      
      .table-responsive {
        font-size: 0.875rem;
      }
    }
.sales-funnel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sales-funnel-row {
    display: grid;
    grid-template-columns: minmax(3rem, 1fr) minmax(0, 1.05fr) max-content;
    align-items: center;
    column-gap: .75rem;
    min-height: 2.8rem;
    font-size: .875rem;
}

.sales-funnel-name {
    color: #3a3b45;
    font-weight: 700;
    overflow-wrap: anywhere;
    padding: .35rem 0;
}

.sales-funnel-shape {
    align-self: stretch;
    background: #3559ca;
}

.sales-funnel-row:nth-child(4n + 2) .sales-funnel-shape { background: #4e73df; }
.sales-funnel-row:nth-child(4n + 3) .sales-funnel-shape { background: #6586e6; }
.sales-funnel-row:nth-child(4n + 4) .sales-funnel-shape { background: #819ded; }

.sales-funnel-stats {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.sales-funnel-share {
    color: #5a5c69;
    font-size: .75rem;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .sales-funnel-row { column-gap: .5rem; }
}
