/* Site-wide Dark Theme: purple/blue/black */
:root {
  color-scheme: dark;
}
html, body {
  background: linear-gradient(135deg, #0d0b1f 0%, #0b2e52 50%, #0a0a0a 100%) !important;
  color: #e5e7eb !important;
}
/* Common container sections */
.container, section {
  background: #0f1324 !important;
  color: #e5e7eb !important;
  border: 1px solid #1f2545 !important;
  box-shadow: 0 10px 24px rgba(20, 20, 30, 0.35) !important;
}
/* Tables */
 table { color: #e5e7eb !important; width: 100% !important; table-layout: fixed !important; border-collapse: collapse !important; }
 th, td { color: #e5e7eb !important; word-break: break-word; overflow-wrap: anywhere; }
 thead th { background: #121832 !important; }
 /* Links */
 a { color: #93c5fd; }
 a:hover { color: #bf94ff; }
 /* Footer/logout placement stays */
 .btn-logout { background: #6b1fff !important; }
 .btn-logout:hover { background: #5517cc !important; }
 /* Inputs/selects focus ring in blue-purple */
 input, select, textarea { background:#0c1020; color:#e5e7eb; border:1px solid #243b6f; }
 input:focus, select:focus, textarea:focus { border-color:#6b8cff; box-shadow: 0 0 0 3px rgba(107,140,255,0.25); }
 /* Neutral overlays */
 .ghost { background:#182036 !important; color:#e5e7eb !important; }
 .ghost:hover { background:#1f2743 !important; }
 /* Success/Error remain per-page to avoid regressions */

/* Combobox dropdowns (global) */
.dropdown-list { background:#0f1324 !important; border:1px solid #1f2545 !important; color:#e5e7eb !important; box-shadow: 0 8px 20px rgba(0,0,0,0.35) !important; }
.dropdown-item { color:#e5e7eb !important; border-bottom: 1px solid #1a2140 !important; }
.dropdown-item:hover, .dropdown-item--highlight, .dropdown-item.active { background:#1f2743 !important; color:#e5e7eb !important; }

/* Ações: sem caixa e sem linha de separação */
.actions-cell { border-bottom: none !important; border-left: none !important; border-right: none !important; vertical-align: middle; }
.actions-cell button, .actions-cell .btn { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
.actions-cell img { display: block; }
