/* Base styles */
body {
  font-family: Arial, sans-serif;
  background-color: #121e2e;
  color: #ffffff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  flex: 1;
}

h1 {
  font-size: 36px;
  color: #fff;
}

form {
  margin-bottom: 30px;
}

input, select, button {
  padding: 10px;
  margin: 5px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
}

input, select {
  width: 200px;
}

button {
  background-color: #2979ff;
  color: white;
  cursor: pointer;
}

button:hover {
  background-color: #1565c0;
}

/* Custom temperature threshold inputs */
#lowTemp, #highTemp {
  width: 180px;
}

/* Forecast styling */
#forecast {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.forecast-day {
  background-color: #ffffff;
  color: #000;
  padding: 15px;
  width: 250px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.forecast-day .day {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hourly-section {
  margin-top: 10px;
  text-align: left;
  font-size: 14px;
}

.hourly-section div {
  margin: 2px 0;
}

/* Temperature dot legend */
.temp-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.temp-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.temp-legend .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.temp-legend .low-dot {
  background-color: blue;
}

.temp-legend .high-dot {
  background-color: red;
}

/* Footer pinned to bottom */
footer {
  background-color: #0d1520;
  color: #ccc;
  text-align: center;
  padding: 15px 10px;
}
