/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Weather-based backgrounds */
.sunny-bg {
  background: url('sunny.jpg') no-repeat center center/cover;
}

.rainy-bg {
  background: url('rainy.gif') no-repeat center center/cover;
}

.cloudy-bg {
  background: url('cloudy.jpg') no-repeat center center/cover;
}

.default-bg {
  background-color: #121212;
}

/* App container */
.container {
  background-color: rgba(30, 30, 30, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  width: 400px;
  color: #FFFFFF;
  margin: auto;
  margin-top: 100px;
}

/* Title */
h1 {
  margin-bottom: 20px;
  font-size: 24px;
}

/* Input + Button */
.input-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

input[type="text"] {
  width: 70%;
  padding: 10px;
  background-color: #333;
  border: none;
  border-radius: 5px;
  color: #fff;
  outline: none;
}

button {
  width: 25%;
  padding: 10px;
  background-color: #6200EA;
  border: none;
  border-radius: 5px;
  color: #FFF;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #3700B3;
}

/* Weather info */
#weather-info {
  margin-top: 20px;
}

.hidden {
  display: none;
}

#error-message {
  color: #FF5722;
  margin-top: 20px;
}
