/* Styles supplémentaires pour l'application */

/* Animation de chargement */
.loading::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-left: 0.5rem;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Transitions pour les onglets */
.tab-pane {
  transition: opacity 0.3s ease;
}

.tab-pane.hidden {
  display: none;
  opacity: 0;
}

.tab-pane:not(.hidden) {
  display: block;
  opacity: 1;
}

/* Animations pour les alertes */
#alert-success, #alert-error {
  transition: all 0.3s ease;
}

/* Styles pour les éléments de tarif */
.rate-item {
  transition: all 0.3s ease;
  position: relative;
}

.rate-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.remove-rate {
  transition: all 0.2s ease;
}

/* Styles pour les boutons */
button {
  transition: all 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}
