/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #e0f2ff, #f7fbff);
  color: #1f2a37;
}

/* App container */
.app {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* ===== HEADER ===== */
header {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #4facfe, #00c6ff);
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== CARDS ===== */
.card {
  background: white;
  padding: 15px;
  margin-top: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ===== INPUTS ===== */
input {
  padding: 10px;
  width: 70%;
  border: 1px solid #cfe8ff;
  border-radius: 8px;
  outline: none;
}

input:focus {
  border-color: #4facfe;
}

/* ===== BUTTONS ===== */
button {
  padding: 10px 15px;
  border: none;
  background: linear-gradient(135deg, #4facfe, #00c6ff);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

/* ===== WEATHER CARD ===== */
.weather-card {
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
}

/* ===== FORECAST ===== */
.forecast {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}

.forecast div {
  flex: 1;
  background: linear-gradient(135deg, #e3f2fd, #ffffff);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

/* ===== LOADING ===== */
#loading {
  text-align: center;
  color: #4facfe;
  font-weight: bold;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  margin-top: 20px;
  color: #64748b;
}

footer a {
  color: #00a6ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* hidden class */
.hidden {
  display: none;
}