/**
 * DocTools v2.0 - Department Variable Themes
 * Defines colors and styles per department.
 */

:root {
  /* Default Theme (Comercial) */
  --dept-primary: #004042;
  --dept-primary-rgb: 0, 64, 66;
  --dept-secondary: #006d37;
  --dept-accent: #10b981;
}

/* Department Specific Overrides */
[data-dept="comercial"] {
  --dept-primary: #004042;
  --dept-primary-rgb: 0, 64, 66;
  --dept-secondary: #006d37;
  --dept-accent: #10b981;
}

[data-dept="engenharia"] {
  --dept-primary: #312e81; /* Indigo-900 */
  --dept-primary-rgb: 49, 46, 129;
  --dept-secondary: #4338ca; /* Indigo-700 */
  --dept-accent: #6366f1;
}

[data-dept="financeiro"] {
  --dept-primary: #92400e; /* Amber-900 */
  --dept-primary-rgb: 146, 64, 14;
  --dept-secondary: #b45309; /* Amber-700 */
  --dept-accent: #f59e0b;
}

[data-dept="licitacoes"] {
  --dept-primary: #1e293b; /* Slate-800 */
  --dept-primary-rgb: 30, 41, 59;
  --dept-secondary: #334155; /* Slate-700 */
  --dept-accent: #06b6d4;
}

[data-dept="logistica"] {
  --dept-primary: #991b1b; /* Red-800 */
  --dept-primary-rgb: 153, 27, 27;
  --dept-secondary: #b91c1c; /* Red-700 */
  --dept-accent: #ef4444;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sidebar-glass {
  background: rgba(var(--dept-primary-rgb), 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-slide-in {
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
