* {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.6s ease;
}

body.default {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

body.sunny {
  background: linear-gradient(135deg, #fceabb, #f8b500);
}

body.cloudy {
  background: linear-gradient(135deg, #bdc3c7, #2c3e50);
}

body.rainy {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
}

body.snowy {
  background: linear-gradient(135deg, #e6dada, #274046);
}

.app {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  padding: 30px;
  width: 360px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.search-box {
  display: flex;
  margin: 20px 0;
}

input {
  flex: 1;
  padding: 12px;
  border-radius: 10px 0 0 10px;
  border: none;
  outline: none;
}

button {
  padding: 12px;
  border-radius: 0 10px 10px 0;
  border: none;
  cursor: pointer;
  background: #ffd369;
  font-weight: bold;
}

button:hover {
  background: #ffe69a;
}

.loading {
  margin-top: 10px;
}

.hidden {
  display: none;
}

.weather {
  margin-top: 20px;
}

.weather img {
  width: 80px;
}

.weather p {
  margin: 6px 0;
}
