:root{
    --laranja: #ec8b00;
    --azul: #00487e;
    --verde: #92a203;
    --cinza: #848484;
}

.btn-outline-secondary{
    color:var(--cinza) !important;
}
.card-body-clientes {
  min-height: 280px; 
}
.card-clientes {
  min-height: 310px; 
}

.custom-tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.85rem;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  max-width: 200px;
  text-align: center;
}

.custom-tooltip.mostrar {
  opacity: 1;
}

/* triangulinho */
.custom-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px; /* distância da base do tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}


/* RESET VISUAL */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    margin: 0;
    padding: 0;
}

 
.navbar {
    background-color: #00487e !important;
    color: #fff;
}

.navbar .navbar-brand {
    color: #fff;
    font-weight: bold;
}


/* SIDEBAR */
.sidebar {
    box-shadow: 2px 0 8px rgba(0,0,0,0.05);
}

.sidebar a {
    font-weight: 500;
    font-size: 15px;
    border-left: 4px solid transparent;
    transition: all 0.2s ease-in-out;
}

.sidebar a:hover {
    background-color: #f0f2f5;
    border-left: 4px solid var(--azul);
    color: var(--azul);
}

/* MAIN CONTENT */
.main-content {
    background-color: #f5f7fa;
    min-height: 100vh;
}

/* DASHBOARD CARDS */
.card {
    border: none;
    border-radius: 0.5rem;
}

.card .fs-5 {
    font-size: 1.4rem;
}

.card.border-start {
    border-left-width: 4px !important;
}

.card.border-start.border-primary { border-color: var(--azul) !important; }
.card.border-start.border-success { border-color: #198754 !important; }
.card.border-start.border-warning { border-color: #ffc107 !important; }
.card.border-start.border-danger  { border-color: #dc3545 !important; }

.text-muted {
    font-size: 14px;
}

/* BOTÕES */
.btn {
    border-radius: 0.4rem;
    font-weight: 500;
    padding: 0.45rem 1.2rem;
}

.btn-primary {
    background-color: var(--azul);
    border: none;
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #f0f0f0;
}

/* GRÁFICO */
canvas {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    .card {
        margin-bottom: 1rem;
    }
}

.ui-autocomplete {
    z-index: 1056 !important; /* acima do modal (1055 é o modal padrão do Bootstrap) */
    background-color: #fff;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.modal-body{
 z-index: 1001 !important;
}


