/* Styles personnalisés pour le dashboard météo */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Animation pour les cartes */
#weatherContainer > div,
#favoritesContainer > div {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Styles pour le bouton de recherche */
#searchBtn:active {
  transform: scale(0.98);
}

/* Styles pour les cartes de favoris */
#favoritesContainer button:hover {
  transform: scale(1.02);
  transition: transform 0.2s;
}

/* Style pour l'input de recherche */
#cityInput:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  #currentTemp {
    font-size: 3rem;
  }
}
