body {
  font-family: Arial;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 1s;
}
h1{
  margin-bottom: 15px;
}

.container {
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  width: 320px;
  transition: 0.3s;
}

.container {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35),
  0 0 20px rgba(255,126,179,0.6);
}

/*Input box */
input {
  padding: 10px;
  border-radius: 8px;
  border: 2px solid transparent;
  outline: none;
  width: 60%;
  transition: 0.3s;
}

/* Placeholder */
input::placeholder {
  color: #ddd;
}

/* Focus glow */
input:focus {
  border: 2px solid #ff7eb3;
  box-shadow: 0 0 10px #ff7eb3;
}

/* Hover */
input:hover {
  border: 2px solid #ffffff;
}

/* Buttons */
button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  margin: 5px 2px;
  cursor: pointer;
  background: #ff7eb3;
  color: white;
  transition: 0.3s;
}

button:hover {
  background: #ff4f9a;
}

.weather-box {
  margin-top: 20px;
  display: none;
  padding: 20px;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);

  transition: 0.3s;
}

/* Hover effect */
.weather-box:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* Weather icon */
.weather-box img {
  width: 80px;
  height: 80px;
}

/* Text spacing */
.weather-box h2 {
  margin-bottom: 10px;
}

.weather-box p {
  margin: 5px 0;
  font-size: 18px;
}

/* Loader */
.loader {
  display: none;
  margin-top: 20px;
}

/* Forecast section */
.forecast {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  flex-wrap: wrap;
}

/* Each day box */
.forecast-day {
  width: 45%;
  margin: 5px 0;
  background: rgba(255,255,255,0.2);
  padding: 8px;
  border-radius: 8px;
  transition: 0.3s;
}

.forecast-day:hover {
  transform: scale(1.05);
}

/* Responsive */
@media(max-width: 400px) {
  .container { width: 90%; }
  .forecast-day { width: 100%; }
}