:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --border-radius: 0.5rem;
  --box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
  --box-shadow-lg: 0 1rem 3rem rgba(0,0,0,0.175);
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #f4f6f9;
  color: #1e2a3e;
}
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 1.5rem;
}
.card:hover {
  box-shadow: var(--box-shadow-lg);
  transform: translateY(-2px);
}
.card-header {
  background-color: var(--primary);
  color: white;
  border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
  padding: 1rem 1.25rem;
  font-weight: 600;
}
.card-header.bg-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}
.btn {
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-primary, .btn-success {
  border: none;
}
.btn-primary:hover, .btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.table {
  border-collapse: separate;
  border-spacing: 0;
}
.table thead th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
}
.table tbody tr:hover {
  background-color: rgba(13,110,253,0.05);
}
.text-success, .positivo { font-weight: 600; }
.text-danger, .negativo { font-weight: 600; }
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.card, .mensagem {
  animation: fadeInUp 0.4s ease-out;
}
@media print {
  .no-print, .btn, .navbar, .modal, .footer { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}