  :root {
      /* Cores principais */
      --bs-primary: #7B68EE;
      --bs-primary-rgb: 123, 104, 238;
      --bs-secondary: #6c757d;
      --bs-success: #4ade80;
      --bs-info: #22d3ee;
      --bs-warning: #fbbf24;
      --bs-danger: #f87171;
      
      /* Cores de fundo */
      --bs-dark: #0f172a;
      --bs-darker: #020617;
      --bs-light: #f1f5f9;
      --bs-lighter: #f8fafc;
      --bs-card-bg: #1e293b;
      --bs-body-bg: #0f172a;
      --bs-body-bg-alt: #1e293b;
      
      /* Cores de texto e bordas */
      --bs-body-color: #e2e8f0;
      --bs-border-color: #334155;
      --bs-highlight: rgba(123, 104, 238, 0.15);
      --bs-secondary-color: #fff; /* Alterado de um tom mais escuro para branco */
      
      /* Cores adicionais para gradientes */
      --bs-primary-light: #9580FF;
      --bs-primary-dark: #6A5ACC;
    }
    
    /* CORREÇAO DE CORES DARK E LIGHT MODE */
    body,
    body.dark {
    	--color-01: #ffffff;
    	--color-02: rgba(255, 255, 255, 0.3);
    	--color-03: #1e293b;
    	
    	/* tabela da página de serviços */
    	--color-text-table: #e2e8f0;
    	--corfundo-table-bg: #1e293b;
        --corfundo-table-striped-bg: rgba(30, 41, 59, 0.7);
        --corfundo-table-hover-bg: rgba(123, 104, 238, 0.1);
        --corfundo-table-border-color: #e2e8f0;
    }
    
    body.light {
    	--color-01: #000000;
    	--color-02: rgba(0, 0, 0, 0.3);
    	--color-03: #ffffff;
    	
    	/* tabela da página de serviços */
    	--color-text-table: #cccccc;
    	--bs-card-bg: #ffffff;
    	--corfundo-table-bg: #f8fafc;
        --corfundo-table-striped-bg: rgba(0, 0, 0, 0.03);
        --corfundo-table-hover-bg: rgba(33, 150, 243, 0.08);
        --corfundo-table-border-color: #cbd5e1;
    }
    
    
    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bs-body-bg);
      color: var(--bs-body-color);
      position: relative;
      min-height: 100vh;
    }
    
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: radial-gradient(circle at 25% 15%, rgba(123, 104, 238, 0.05) 0%, transparent 25%),
                        radial-gradient(circle at 75% 85%, rgba(123, 104, 238, 0.03) 0%, transparent 20%);
      z-index: -1;
    }
 
    
    .navbar {
      /* padding: 1rem 1.5rem; */
      padding: 0.4rem 1.5rem; 
      background-color: rgba(15, 23, 42, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--bs-border-color);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
    
    .navbar-brand img {
      /* height: 54px; */
      height: 76px;
      filter: brightness(1.2);
    }
    
    /* Estilo refinado para os itens de menu principais */
    .nav-link {
      color: var(--bs-body-color);
      font-weight: 500;
      padding: 0.75rem 1rem;
      transition: all 0.3s ease;
      position: relative;
      margin: 0 2px;
      line-height: 1.5;
      display: flex;
      align-items: center;
    }
    
    .nav-link:hover {
      color: var(--bs-primary-light);
    }
    
    /* Estilo para link ativo */
    .nav-link.active {
      color: var(--bs-primary);
    }
    
    /* Indicador de menu ativo */
    .menu-active-indicator {
      width: 6px;
      height: 6px;
      background-color: var(--bs-primary);
      border-radius: 50%;
      display: inline-block;
      margin-left: 5px;
      position: static;
      box-shadow: 0 0 5px rgba(123, 104, 238, 0.5);
    }
    
    /* Responsividade para navbar em mobile */
    @media (max-width: 991.98px) {
      .menu-active-indicator {
        position: static;
        margin-left: 8px;
      }
    }
    
    .dropdown-menu {
      background-color: var(--bs-card-bg);
      border: 1px solid var(--bs-border-color);
      border-radius: 0.5rem;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    }
    
    .dropdown-item {
      color: var(--bs-body-color);
      font-weight: 500;
      padding: 0.75rem 1.25rem;
      transition: all 0.2s ease;
    }
    
    .dropdown-item:hover, .dropdown-item:focus {
      /* background-color: var(--bs-highlight); */
      /* background-color: var(--color-01); */
      color: var(--bs-primary-light);
    } 
    
    .dropdown-item.active {
      background-color: var(--bs-primary);
      color: #fff;
    }
    
    .badge {
      font-weight: 600;
      padding: 0.5em 0.75em;
      border-radius: 6px;
    }
    
    .badge-balance {
      background: linear-gradient(135deg, var(--bs-primary-dark), var(--bs-primary), var(--bs-primary-light));
      color: white;
      padding: 0.6em 1em;
      border-radius: 2rem;
      box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
    }
    
    .badge-balance:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
      filter: brightness(1.1);
    }
    
    .card, .well {
      border-radius: 1rem;
      /* background-color: var(--bs-card-bg); */
      background-color: var(--color-03);
      border: 1px solid var(--bs-border-color);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      margin-bottom: 1.5rem;
      padding: 1.5rem;
      transition: all 0.2s ease-in-out;
    }
    
    .card:hover, .well:hover {
      transform: translateY(-3px);
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }
    
    .card-header {
      border-bottom-color: rgba(51, 65, 85, 0.5);
    }
    
    .form-control, .form-select {
      /* background-color: var(--bs-dark);*/
      border: 1px solid var(--bs-border-color);
      border-radius: 0.5rem;
      /* color: var(--bs-body-color); */
      color: var(--color-01);
      padding: 0.75rem 1rem;
      transition: all 0.2s ease;
    }

    .form-control:focus, .form-select:focus {
      border-color: var(--bs-primary);
      box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
      /* background-color: rgba(15, 23, 42, 0.8); */
    }
    
    .input-group-text {
      background-color: var(--bs-darker);
      border: 1px solid var(--bs-border-color);
      color: var(--bs-body-color);
    }
    
    .btn {
      border-radius: 0.5rem;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      transition: all 0.3s ease;
    }
    
    .btn-primary {
      background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-light));
      border: none;
    }
    
    .btn-primary:hover {
      background: linear-gradient(135deg, var(--bs-primary-dark), var(--bs-primary));
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .btn-outline-light {
      border: 1px solid var(--bs-border-color);
      color: var(--bs-body-color);
    }
    
    .btn-outline-light:hover {
      background-color: var(--bs-card-bg);
      color: var(--bs-primary);
      border-color: var(--bs-primary);
    }
    
    .icon-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--bs-primary);
      transition: all 0.3s ease;
    }
    
    .icon-link:hover {
      color: var(--bs-primary-light);
    }
    
    .icon-link i {
      transition: transform 0.3s ease;
    }
    
    .icon-link:hover i {
      transform: translateX(2px);
    }
    
    /*
    .table {
      color: var(--bs-body-color);
    }
    */
    
    /*
    .table-dark {
      --bs-table-bg: var(--bs-card-bg);
      --bs-table-striped-bg: rgba(30, 41, 59, 0.7);
      --bs-table-hover-bg: rgba(123, 104, 238, 0.1);
      --bs-table-border-color: var(--bs-border-color);
    }
    */
    
    .table {
      color: var(--bs-card-bg);
    }
    
    .table-dark {
        --bs-table-bg: var(--corfundo-table-bg);
        --bs-table-striped-bg: var(--corfundo-table-striped-bg);
        --bs-table-hover-bg: var(--corfundo-table-hover-bg);
        --bs-table-border-color: var(--corfundo-table-border-color);
    }
    
    
    .alert {
      border-radius: 0.75rem;
      border: none;
      padding: 1rem 1.5rem;
    }
    
    .alert-success {
      background-color: rgba(74, 222, 128, 0.15);
      color: #86efac;
      z-index: 1;
    }
    
    .alert-danger {
      background-color: rgba(248, 113, 113, 0.15);
      color: #fca5a5;
    }
    
    .alert-warning {
      background-color: rgba(251, 191, 36, 0.15);
      color: #fcd34d;
    }
    
    /* Animações */
    @keyframes fadeIn {
      0% { opacity: 0; transform: translateY(10px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    
    /*
    .fade-in {
      animation: fadeIn 0.5s ease-in-out;
    }
    */
    
    /* Responsividade */
    @media (max-width: 768px) {
      .navbar-brand img {
        /* height: 42px; */
        height: 58px;
        
      }
      
      .card, .well {
        padding: 1.25rem;
      }
      
      .btn {
        padding: 0.6rem 1.2rem;
      }
    }
    
    /* Estilos para o botão e badge de notificações */
    .notification-badge {
      position: absolute;
      top: 0;
      right: -2px;
      min-width: 18px;
      height: 18px;
      background-color: var(--bs-danger);
      color: white;
      border-radius: 50%;
      font-size: 0.65rem;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
      font-weight: bold;
    }
    
    /* Painéis laterais */
    .side-panel {
      position: fixed;
      top: 0;
      right: -400px;
      width: 400px;
      max-width: 100vw;
      height: 100%;
      background-color: var(--bs-card-bg);
      z-index: 1060;
      transition: right 0.3s ease-in-out;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
      display: flex;
      flex-direction: column;
      border-left: 1px solid var(--bs-border-color);
    }
    
    .side-panel.show {
      right: 0;
    }
    
    .side-panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem;
      background-color: rgba(15, 23, 42, 0.95);
      border-bottom: 1px solid var(--bs-border-color);
    }
    
    .side-panel-body {
      flex: 1;
      overflow-y: auto;
      padding: 1rem;
    }
    
    /* Backdrop */
    #panelBackdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1050;
      display: none;
    }
    
    #panelBackdrop.show {
      display: block;
    }
    
    /* Ícones de legenda */
    .legend-icon {
      font-size: 1.25rem;
      width: 40px;
      text-align: center;
      margin-right: 10px;
    }
    
    /* Responsividade */
    @media (max-width: 576px) {
      .side-panel {
        width: 100%;
      }
    }
    
    /* Estilos para botões móveis */
    .mobile-nav-buttons {
      align-items: center;
    }
    
    .mobile-nav-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      color: var(--bs-body-color);
      font-size: 1.25rem;
      margin-right: 8px;
      position: relative;
    }
    
    .mobile-nav-btn:hover {
      color: var(--bs-primary-light);
    }
/* Estilos para badges de categoria */
.category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-primary);
  color: #fff;
  width: 18px;
  height: 18px;
  font-size: 10px;
  border-radius: 50%;
  margin-left: 5px;
  font-weight: bold;
}

/* Estilização para categorias dropdown */
#category-drop .dropdown-item.active::after {
  content: "✓";
  margin-left: 5px;
  font-weight: bold;
  color: var(--bs-primary);
}

/* Melhorias visuais para dropdown de categorias */
.dropdown-menu .badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
}

/* Badge indicador de seleção */
.category-indicator {
  position: relative;
}

.category-indicator::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--bs-primary-dark), var(--bs-primary), var(--bs-primary-light));
  border-radius: 3px;
}

/* Animação de destaque para categoria selecionada */
@keyframes categoryPulse {
  0% { background-color: transparent; }
  50% { background-color: var(--bs-highlight); }
  100% { background-color: transparent; }
}

.category-pulse {
  animation: categoryPulse 1s ease-in-out;
}

/* Correção para a cor secundária nos textos */
.text-muted, 
.text-secondary,
.form-text,
.text-body-secondary {
  color: #fff !important; /* Substituindo var(--bs-secondary-color) por branco */
}

/* Substituições adicionais para cores de texto */
small, .small {
  color: #fff;
}

.text-muted {
  /* color: #fff !important; */
  color: var(--color-02) !important;
}

.help-text, 
.form-text,
.text-secondary {
  color: #fff !important;
}

.nowrap {
  white-space: nowrap;
  color: inherit;
}

/* Estilos para placeholder de inputs */
::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Ajuste nos formulários */
.form-label {
  color: #fff;
}

/* Estilos customizados para os dropdowns de categorias e serviços */

.dropdown-menu {
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem;
  scrollbar-width: thin;
}

.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(123, 104, 238, 0.5);
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(123, 104, 238, 0.8);
}

.dropdown-header {
  font-weight: 600;
  color: var(--bs-primary);
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dropdown-header:first-child {
  margin-top: 0;
}

.dropdown-item {
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  white-space: normal;
  word-break: break-word;
  /* ADICIONADO */
  color: var(--color-01);
  border-bottom: 1px solid var(--color-02);
}

.dropdown-item i {
  font-size: 1.1rem;
  margin-right: 0.5rem;
  width: 20px;
  text-align: center;
}

.dropdown-toggle {
  background-color: var(--bs-dark);
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
  text-align: left;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  /* background-color: var(--bs-dark); */
  border-color: var(--bs-primary);
  color: var(--bs-primary-light);
}

#categoryTitle, 
#serviceTitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  max-width: calc(100% - 20px);
}

#categoryTitle i, 
#serviceTitle i {
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.dropdown-toggle .badge {
  font-size: 0.7rem;
  padding: 0.25em 0.5em;
  font-weight: 500;
}


/* ESTILOS ADICIONADOS */
.form-label {
    color: var(--color-01);
}

/* Estilo padrão para navegadores modernos */
.form-control::placeholder {
  color: #555 !important;
  opacity: 1; /* Garante visibilidade total no Firefox */
}

/* Chrome, Safari, Opera */
.form-control::-webkit-input-placeholder {
  color: #555 !important;
}

/* Firefox 19+ */
.form-control::-moz-placeholder {
  color: #555 !important;
  opacity: 1;
}

/* Firefox 4 a 18 */
.form-control:-moz-placeholder {
  color: #555 !important;
  opacity: 1;
}

/* Internet Explorer 10-11 */
.form-control:-ms-input-placeholder {
  color: #555 !important;
}

