/* ===== Gestione Turni Call Center — Stili personalizzati ===== */

/* Font e base */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  background-color: #f8f9fa;
}

/* Navbar */
.navbar-brand {
  font-size: 1rem;
  letter-spacing: 0.3px;
}

/* Card */
.card {
  border-radius: 0.5rem;
}
.card-header {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
}

/* Tabelle */
.table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
  font-weight: 600;
  white-space: nowrap;
}
.table td {
  vertical-align: middle;
  font-size: 0.875rem;
}

/* Badge turni */
.badge[style*="background"] {
  font-size: 0.7rem;
  padding: 0.3em 0.55em;
}

/* Navbar active */
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid rgba(255,255,255,0.7);
}

/* Sidebar-like layout su desktop */
@media (min-width: 992px) {
  main.container-fluid {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Alert dismissibile compatto */
.alert {
  font-size: 0.875rem;
}

/* FullCalendar personalizzazione */
.fc .fc-toolbar-title {
  font-size: 1rem !important;
  font-weight: 600;
}
.fc .fc-button {
  font-size: 0.8rem !important;
  padding: 0.25rem 0.5rem !important;
}
.fc .fc-event {
  font-size: 0.7rem;
  border-radius: 3px;
  cursor: pointer;
}
.fc .fc-daygrid-event {
  margin: 1px 2px;
}

/* Card hover su lista dipendenti */
.riga-dip:hover {
  background-color: rgba(13, 110, 253, 0.04);
}

/* Notifica non letta */
.list-group-item.bg-light {
  border-left: 3px solid #0d6efd;
}

/* Mobile compatto */
@media (max-width: 576px) {
  .table-responsive .table th,
  .table-responsive .table td {
    font-size: 0.78rem;
    padding: 0.35rem 0.4rem;
  }
  h4 { font-size: 1rem; }
  .display-5 { font-size: 1.8rem; }
}

/* Stato turni */
.stato-pianificato { color: #6c757d; }
.stato-confermato  { color: #0d6efd; }
.stato-completato  { color: #198754; }
.stato-annullato   { color: #dc3545; text-decoration: line-through; }

/* Print */
@media print {
  .navbar, .alert, footer, .btn { display: none !important; }
  .card { box-shadow: none !important; border: 1px solid #dee2e6 !important; }
}
