
body {
  font-size: 0.9rem;   /* 🔹 90% della dimensione di default Bootstrap */
  font-family: 'Inter', sans-serif;  /* o quello che usi */
}
/* 🔴 Righe che sforano l'orario di lavoro */
.table-overwork td {
    background-color: #ffb3b3 !important; /* rosso tenue */
}

/* 🟢 Righe completate */
.table-success td {
    background-color: #d1e7dd !important; /* verde chiaro */
}

:root {
  --primary-color: #2563eb;
  --primary-hover: #1e40af;
  --bg-soft: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --radius: 0.65rem;
}

/* Navbar link hover */
.nav-link {
  color: var(--text-dark);
  transition: all 0.2s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

/* Button design */
.btn {
  border-radius: var(--radius);
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Card look for tables */
.table {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  background: white;
}

.table th {
  background: #f1f5f9 !important;
  color: var(--text-dark);
  font-weight: 600;
}

.table td {
  color: var(--text-dark);
}

/* Badge modern */
.badge {
  padding: 0.45em 0.75em;
  border-radius: 0.5rem;
  font-size: 0.8rem;
}

/* Alerts */
.alert {
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Page title */
h2 {
  font-weight: 600;
  color: var(--text-dark);
}

/* Action buttons layout */
.btn-primary, .btn-info, .btn-danger {
  font-weight: 500;
}
