.hero-weather {
  margin-top: 20px;
  background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px; /* Constrain width */
  margin-left: auto;
  margin-right: auto;
  gap: 10px;
  color: #333;
  font-family: "Arial", sans-serif;
}
.weather-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-height: 100px; /* Prevent layout shift during loading/errors */
  justify-content: center;
}
#weather-icon {
  font-size: 1.5rem; /* Larger icon */
}

#weather-temp {
  font-size: 1.5rem; /* Larger temperature */
  font-weight: bold;
  color: var(--primary-color); /* Use your primary color for temp */
}
#weather-city {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 5px;
  color: #444;
  text-align: center;
}
#weather-wind {
  font-size: 0.9rem;
  color: #666;
}
.weather-error {
  color: #dc3545; /* Bootstrap-like danger red */
  font-size: 0.9rem;
  margin-top: 10px;
  text-align: center;
}
