/* _____________________________________________________________________ RESET E FONTES _____________________________________________________________________ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Heebo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

::-webkit-scrollbar {
  width: 0px;
}

/* _____________________________________________________________________ SIDEBAR E NAVEGAÇÃO DO PORTAL _____________________________________________________________________ */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  width: 100%;
  background: #229554;
  border-radius: 0 0 24px 24px;
}

.nav-title {
  flex: 1;
  text-align: center;
}

.nav-title h1 {
  color: white;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
  margin-left:120px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #955f22;
  position: sticky;
  width: 100%;
  top: 0;
  border-radius: 0 0 24px 24px;
  transition: opacity 0.3s ease;
  z-index: 999;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #229554;
  position: sticky;
  width: 100%;
  top: 0;
  border-radius: 0 0 24px 24px;
}

.logo {
  width: 250px;
  position: absolute;
  top: -4px;
  left: 2px;
  object-fit: cover;
}

.interacaoes {
  display: flex;
  align-items: center;
  gap: 14px;
}

.button {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: #0000004e; 
  width: 50px; 
  height: 45px; 
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  margin: 5px;
  margin-right: 10px;
}

.button:hover {
  scale: 0.95;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.101);
}
.bi {
  color: #fff;
}

#transitionPrev,
#transitionPrev2,
#transitionNext2 {
  display: none;
}

#filtro i {
  font-size: 22px;
  color: white;
}

/* _________________________________________________________________________ TABELA ______________________________________________________________________________________________________ */

#tabela-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  overflow: hidden;
}

.dt-buttons .dt-button {
  background-color: #229554 !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  margin-right: 10px !important;
  transition: all 0.3s ease !important;
}

.dt-buttons .dt-button:hover {
  background-color: #1e8449 !important;
  transform: translateY(-1px);
}

.dataTables_paginate .paginate_button {
  border-radius: 6px !important;
  margin: 0 3px !important;
  transition: all 0.3s ease !important;
}

.dataTables_paginate .paginate_button.current {
  background: #229554 !important;
  color: white !important;
  border: none !important;
}

.dataTables_paginate .paginate_button:hover {
  background: #e9f7ef !important;
  color: #229554 !important;
  border: none !important;
}

/* Campo de busca */
.dataTables_filter input {
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  margin-bottom: 15px !important;
}

/* Responsividade */
@media (max-width: 768px) {
  #tabela-container {
    padding: 10px;
    margin: 10px;
  }
  
  #tabela-dados thead {
    display: none;
  }
  
  #tabela-dados tbody tr {
    display: block;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  #tabela-dados tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
  }
  
  #tabela-dados tbody td::before {
    content: attr(data-label);
    font-weight: bold;
    margin-right: 15px;
    color: #229554;
  }
}

.accordion-item {
    margin-bottom: 10px;
    background: white;
    border: 2px solid #229554; 
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background-color: white;  
    color: #333;  
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s;
}

.accordion-header:hover {
    background-color: #f5f5f5;  
}

.supervisor-name {
    font-weight: 500;
    flex: 1;
    text-align: left;
     font-weight: 700;
    color: #196b3d; 
}

.gerente-info {
    flex: 1;
    font-size: 0.9rem;
    color: #000000;  
}

.badge {
    background-color: #229554; 
    color: white; 
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin: 0 15px;
}

.accordion-icon {
    transition: transform 0.3s;
    margin-left: 10px;
    color: #229554; 
}

.accordion-content {
    display: none;
    padding: 0;
    border-top: 1px solid #e0e0e0; 
}
.table-wrapper {
    padding: 15px;
}

.tabela-supervisor {
    margin-top: 0 !important;
    width: 100% !important;
}

.tabela-supervisor thead th {
    background-color: #f8f9fa !important;
    color: #333 !important;
    font-weight: 500 !important;
    border-bottom: 2px solid #229554  
}

.tabela-supervisor td {
    border-bottom: 1px solid #e0e0e0;
}

.tabela-supervisor tr:last-child td {
    border-bottom: none;
}

/* _________________________________________________________________________ FILTROS ______________________________________________________________________________________________________ */

.esconder-filtros {
  padding: 15px;
}

.filters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: space-between;
  align-items: flex-end;
}

.filter-group {
  flex: 1 1 18%; 
  min-width: 160px;
}

#nome-overlay {
  position: absolute;
  top: 70%;
  left: 0;
  font-size: 0.75rem;
  color: #999;
  padding-left: 5px;
}

.filter-label {
  display: block;
  font-weight: 400;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-input,
.filter-select,
select,
input {
  width: 100%;
  padding: 10px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: #333;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
  transform: translateY(-2px);
}

.buttons-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 150px;
  color: white;
  background: #229554; 

}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.filter-tag {
    display: inline-block;
    background: linear-gradient(135deg, #36b37e, #229554);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
    font-weight: 400;
}

.segmented-control {
    display: inline-flex;
    background-color: #f0f0f0;
    border-radius: 14px;
    padding: 6px;
    margin: 24px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    font-size: 16px; /* aumento da fonte base */
    gap: 6px;
}

.segmented-control__button {
    padding: 14px 24px; /* aumenta o botão */
    font-size: 16px; /* aumenta a fonte */
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 400;
    color: #444;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 10px;
    white-space: nowrap;
}

.segmented-control__button:hover {
    color: #229554;
    background-color: rgba(34, 149, 84, 0.1);
}

.segmented-control__button.active {
    background: linear-gradient(135deg, #3fd094, #229554 100%);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.segmented-control__button.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    border-radius: 3px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { width: 0; opacity: 0; }
    to { width: 60%; opacity: 1; }
}

@media (max-width: 768px) {
    .segmented-control {
        flex-wrap: wrap;
        justify-content: center;
    }

    .segmented-control__button {
        padding: 10px 16px;
        font-size: 14px;
    }
}

.disabled-section {
  pointer-events: none;
  opacity: 0.5;
}

.filter-tag {
    display: inline-block;
    background-color: #1890ff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.filter-tag:last-child {
    margin-right: 0;
}

.obrigatorio{
  border-color: red;
}


.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    margin-left: 5px;
}