body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #f5f5f7;
}

.container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.weather-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  gap: 1rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.current-weather h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1D1D1F;
}

.temperature {
  font-size: 3rem;
  line-height: 1;
  color: #1D1D1F;
}

.search-box {
  display: flex;
  gap: 1rem;
  max-width: 800px;
  margin: 2rem auto;
}

#cityInput {
  flex: 1;
  padding: 1rem;
  font-size: 1.2rem;
  border: 2px solid #007AFF;
  border-radius: 12px;
}

.search-box button {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 12px;
  background-color: #007AFF;
  color: white;
  cursor: pointer;
}

.forecast-items {
  display: flex;
  overflow-x: auto;
}

.alert-box {
  border: 2px solid gold;
  color: red;
  padding: 8px;
  margin: 8px 0;
}

.forecast-item {
  padding: 0.5rem;
  font-size: 0.9rem;
  border-radius: 8px;
}
.forecast-item {
  font-weight: bold;
}

.forecast-item:nth-child(1) { background: #ff6961; }
.forecast-item:nth-child(2) { background: #ffb347; }
.forecast-item:nth-child(3) { background: #fdfd96; }
.forecast-item:nth-child(4) { background: #77dd77; }
.forecast-item:nth-child(5) { background: #aec6cf; }
.forecast-item:nth-child(6) { background: #b19cd9; }
.forecast-item:nth-child(7) { background: #ffb3ba; }
  transition: all 0.3s ease;
}