* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #74ebd5, #acb6e5);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 320px;
  color: #333;
  transition: all 0.3s ease-in-out;
}

.container:hover {
  transform: scale(1.02);
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 1px 1px 2px #00000055;
}

input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  margin-bottom: 15px;
  outline: none;
  background: #f5f5f5;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

button {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #2980b9;
}

.weather-box {
  margin-top: 20px;
  background: #ffffffdd;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.weather-box img {
  width: 60px;
  height: 60px;
}

.weather-box h2 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #2c3e50;
}

.weather-box p {
  font-size: 18px;
  margin: 5px 0;
  color: #555;
}

.error-message {
  margin-top: 10px;
  color: #ff4d4d;
  font-weight: bold;
}
