/* Admin Light Theme (default) */
html, body { background: #f8f9fa; color: #212529; }

/* Tabelas - Todos os textos na cor verde (mesma cor do total) */
.table { 
  background: #fff !important; 
  color: #198754 !important; 
}
.table td, .table th { 
  color: #198754 !important; 
  background: #fff !important;
}
.table tbody td, .table tbody th { 
  color: #198754 !important; 
  background: #fff !important;
}
.table tbody tr { 
  background: #fff !important;
}
.table tbody tr:nth-child(even) { 
  background: #f8f9fa !important;
}
/* Garantir que strong dentro de tabelas tenha a mesma cor verde */
.table strong { 
  color: #198754 !important; 
}
.table td strong, .table th strong { 
  color: #198754 !important; 
}
/* Preservar cores de texto utilitárias do Bootstrap */
.table .text-success { 
  color: #198754 !important; 
}
.table .text-danger { 
  color: #dc3545 !important; 
}
.table .text-warning { 
  color: #ffc107 !important; 
}
.table .text-info { 
  color: #0dcaf0 !important; 
}
.table .text-primary { 
  color: #0d6efd !important; 
}

/* Hover em tabelas - manter cor verde */
.table-hover {
  --bs-table-hover-bg: #e3f2fd !important;
  --bs-table-hover-color: #198754 !important;
}
.table-hover tbody tr:hover { 
  background: #e3f2fd !important; 
}
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th { 
  color: #198754 !important; 
  background: #e3f2fd !important;
  border-color: #e9ecef !important; 
}
.table-hover tbody tr:hover * { 
  color: #198754 !important; 
}
.table-hover tbody tr:hover a { 
  color: #198754 !important; 
  text-decoration: none !important; 
}
.table-hover tbody tr:hover .btn { 
  color: #198754 !important; 
  border-color: #94a3b8 !important; 
  background: rgba(255,255,255,0.8) !important; 
}

.navbar-custom { background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important; }
.navbar-custom .nav-link { color: rgba(255,255,255,0.9) !important; }
.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active { background: rgba(255,255,255,0.2) !important; color: #fff !important; }

.sidebar { background: #fff; }
.sidebar .nav-link { color: #333; }
.sidebar .nav-link:hover { color: #28a745; background: #d4edda; }
.sidebar .nav-link.active { color: #fff; background: #28a745; }

.main-content { background: #f8f9fa; color: #212529; }

.card, .alert, .modal-content { background: #fff; border: 1px solid #e9ecef; }
.table thead th { 
  background: linear-gradient(135deg, #28a745, #1e7e34) !important; 
  color: #fff !important; 
  border: none !important;
}

.btn-primary { background: linear-gradient(135deg, #28a745, #20c997); border: none; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.5); }

.form-control, .form-select, .input-group-text { background: #fff; border-color: #e9ecef; color: #212529; }
.form-control:focus, .form-select:focus { border-color: #28a745; box-shadow: 0 0 0 .2rem rgba(40, 167, 69, 0.25); }

.badge { border-radius: 20px; }
.text-muted { color: #495057 !important; }
.table .text-muted { color: #495057 !important; }

.dropdown-menu { background: #fff; border: 1px solid #e9ecef; }
.dropdown-item:hover { background: #f1f8f3; }

:root {
  --bg: #f7f7f9;
  --card-bg: #fafafb;
  --text: #222;
  --muted: #6b7280;
  --border: #e5e7eb;
  --table-header: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

html, body { background: var(--bg); color: var(--text); }
.card { background: var(--card-bg); border: 1px solid var(--border); }
.table { background: var(--card-bg); }
.table thead th { background: var(--table-header); }
.form-control { background: #fff; border-color: var(--border); color: var(--text); }
.navbar-custom { filter: none; }

/* Modal backdrop - reduzir opacidade para não escurecer demais */
.modal-backdrop {
	background-color: #000 !important;
	opacity: 0.2 !important;
}
.modal-backdrop.show {
	opacity: 0.2 !important;
}
/* Garantir que o conteúdo do modal não fique escuro */
.modal-body {
	background: #fff !important;
	color: #212529 !important;
}

