/* Planning Urgences — Custom styles */

body {
  background-color: #f4f6f9;
}

.navbar-brand {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* Cards */
.card {
  border: none;
  border-radius: 0.75rem;
}

.card-header {
  border-radius: 0.75rem 0.75rem 0 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 0.85rem 1.25rem;
}

/* Tables */
.table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
  font-weight: 600;
}

/* FullCalendar overrides */
.fc-event {
  cursor: pointer;
  border-radius: 4px !important;
  font-size: 0.78rem;
}

.fc-daygrid-event {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc-toolbar-title {
  font-size: 1.1rem !important;
  font-weight: 600;
}

/* Badges postes */
.badge {
  font-weight: 500;
}

/* Sidebar responsive */
@media (max-width: 768px) {
  .container-fluid > .row > [class*='col-md-4'] {
    order: 2;
  }
  .container-fluid > .row > [class*='col-md-8'] {
    order: 1;
  }
}

/* Stat cards */
.card .display-5 {
  opacity: 0.85;
}

/* Nav active state */
.nav-link.active {
  font-weight: 600;
  background-color: rgba(255,255,255,0.15);
  border-radius: 6px;
}
