body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #74ebd5, #9face6);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#weather {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: center;
  width: 300px;
}

.weather-container {
  margin-top: 15px;
}

#city-input {
  padding: 8px;
  width: 70%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#get-weather {
  padding: 8px 12px;
  margin-left: 5px;
  border: none;
  background: #4a90e2;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

#get-weather:hover {
  background: #357ab8;
}

#weather-result {
  margin-top: 20px;
  color: #ffeb3b;   /* bright yellow for visibility */
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

#weather-info {
  margin-top: 15px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(240, 240, 240, 0.8);
}

#city-name {
  font-size: 1.4em;
  font-weight: bold;
}

/* Loader spinner */
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  display: none;
  margin: 10px auto;
}

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

#weather-icon {
  margin-top: 10px;
  font-size: 3rem; /* large emoji or icon */
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.chart-container {
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
}