/* Police Inter - Alternative moderne et professionnelle à Marianne */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Application de la police Inter sur tout le site */
* {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

/* Amélioration de l'affichage des textes */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Styles pour les badges de priorité */
.badge-haute {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-moyenne {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-normale {
  background-color: #dcfce7;
  color: #166534;
}

/* Styles pour les statuts d'assignation */
.status-valide {
  background-color: #dcfce7;
  color: #166534;
}

.status-en-attente {
  background-color: #fef3c7;
  color: #92400e;
}

.status-libre {
  background-color: #f3f4f6;
  color: #4b5563;
}

/* Animation de chargement */
.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

/* Cartes compagnies/brigades hover effect */
.card-hover {
  transition: all 0.2s ease-in-out;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Animations d'apparition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Animation de slide-in depuis la gauche */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.4s ease-out forwards;
}

/* Transitions fluides */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient backgrounds */
.gradient-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.gradient-green {
  background: linear-gradient(135deg, #065f46 0%, #059669 100%);
}

/* Shadow effects */
.shadow-glow-blue {
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.shadow-glow-green {
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.3);
}

/* Amélioration de la lisibilité des tableaux */
table {
  font-variant-numeric: tabular-nums;
}

/* Responsive design pour mobile */
@media (max-width: 768px) {
  .grid-cols-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
