body { font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }

.sidebar-link { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem; border-radius: 0.5rem; color: #cbd5e1; font-size: 0.9rem; transition: all 0.15s; }
.sidebar-link:hover { background: #1e293b; color: #fff; }
.sidebar-link.active { background: #2563eb; color: #fff; }

.stat-card { transition: transform 0.15s, box-shadow 0.15s; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(0,0,0,0.25); }

table th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }
table td { padding: 0.75rem 0.85rem; border-top: 1px solid #e2e8f0; font-size: 0.875rem; }

.badge { display: inline-flex; align-items: center; padding: 0.15rem 0.55rem; border-radius: 9999px; font-size: 0.7rem; font-weight: 600; text-transform: capitalize; }
.badge-approved, .badge-open, .badge-completed, .badge-paid, .badge-resolved { background: #dcfce7; color: #166534; }
.badge-pending { background: #fef9c3; color: #854d0e; }
.badge-rejected, .badge-blocked { background: #fee2e2; color: #991b1b; }
.badge-in_progress, .badge-active, .badge-confirmed, .badge-assigned { background: #dbeafe; color: #1e40af; }
.badge-cancelled, .badge-closed { background: #f1f5f9; color: #475569; }

.spinner { width: 1.25rem; height: 1.25rem; border: 2px solid #e2e8f0; border-top-color: #2563eb; border-radius: 9999px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.select2-container--default .select2-selection--multiple {
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  min-height: 2.5rem;
  padding: 0.2rem;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: inline;
}
.select2-container--default .select2-search--inline .select2-search__field {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
  border-radius: 0.375rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.8rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #1e40af;
  margin-right: 0.25rem;
}
.select2-dropdown {
  border-color: #cbd5e1;
  border-radius: 0.5rem;
}
.select2-results__option--highlighted.select2-results__option--selectable {
  background: #2563eb;
}
