/* 🍲 Food-style Modern Weather App CSS */

/* Reset & Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
}

body {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: background 0.3s;
}

/* Dark Mode bg */
body.dark-mode {
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
  color: white;
}

/* Wrapper */
.app-container {
  width: 100%;
  max-width: 400px;
}

/* Card Style */
.weather-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: background 0.3s;
}

body.dark-mode .weather-card {
  background: rgba(33, 33, 33, 0.95);
}

/* Inputs */
input {
  width: 100%;
  padding: 12px;
  margin: 12px 0;
  border: none;
  border-radius: 15px;
  font-size: 16px;
}

/* Buttons */
button {
  padding: 10px 16px;
  border: none;
  border-radius: 12px;
  background-color: #ff7043;
  color: white;
  font-weight: bold;
  margin: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #f4511e;
}

/* Weather Icon */
img#weatherIcon {
  width: 80px;
  margin: 10px 0;
}

/* Info Text */
.info-section p {
  margin: 5px 0;
  font-size: 16px;
}

/* Error Message */
.error {
  margin-top: 12px;
  color: red;
  font-weight: bold;
}

/* Forecast Cards */
.forecast-section {
  margin-top: 20px;
  background-color: #fff3e0;
  border-radius: 12px;
  padding: 10px;
}

body.dark-mode .forecast-section {
  background-color: #333;
}

/* Theme Toggle Btn */
.theme-toggle {
  text-align: right;
  margin-bottom: 10px;
}

/* Loader Spinner */
.loader {
  display: none;
  margin: 10px;
  color: #555;
  font-style: italic;
}
