/* Global Styles */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f0f0f0;
}

/* Glass-like Weather Container */
.container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 40px 30px;
  text-align: center;
  width: 360px;
  max-width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header */
h1 {
  font-size: 26px;
  margin-bottom: 25px;
  color: #ffffffcc;
  letter-spacing: 1px;
}

/* Input Field */
input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #555;
  border-radius: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
  transition: border 0.3s;
}

input[type="text"]:focus {
  border-color: #00f2fe;
}

/* Button */
button {
  background: linear-gradient(to right, #00f2fe, #4facfe);
  color: #000;
  border: none;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Weather Info */
#temp {
  font-size: 36px;
  font-weight: bold;
  margin: 20px 0 10px;
  color: #00f2fe;
  text-shadow: 0 0 10px #00f2fe44;
}

#desc {
  text-transform: capitalize;
  font-size: 18px;
  color: #aaa;
  margin-bottom: 10px;
}

#location {
  font-size: 20px;
  margin-top: 8px;
  color: #ddd;
}

/* Hidden Class */
.hidden {
  display: none;
}
