.weather-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem;
  color: #fff;
  text-align: center;
}

.weather-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.weather-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.weather-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.weather-location {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.weather-current {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.weather-temp {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.weather-condition {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.8;
  text-transform: capitalize;
}

.weather-forecast {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 80px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.forecast-date {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.forecast-temp {
  font-size: 1rem;
  font-weight: bold;
}

.forecast-condition {
  font-size: 0.8rem;
  opacity: 0.8;
  text-transform: capitalize;
}

.weather-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #ff6b6b;
}

.weather-error-icon {
  font-size: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .weather-temp {
    font-size: 2.5rem;
  }
  
  .weather-location {
    font-size: 1rem;
  }
  
  .forecast-day {
    min-width: 70px;
    gap: 0.2rem;
  }
}

@media (max-width: 480px) {
  .weather-temp {
    font-size: 2rem;
  }
  
  .weather-forecast {
    gap: 0.5rem;
  }
  
  .forecast-day {
    min-width: 60px;
    padding: 0.3rem;
  }
}