/* ===== Global ===== */
body {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #2c3e50, #4ca1af); /* rich dark gradient */
  color: #e8e8e8;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
}

/* ===== Form ===== */
.weatherForm {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 35px;
}

.cityInput {
  padding: 12px 18px;
  font-size: 1.5rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08); /* soft glassy input */
  color: #f2f2f2;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  outline: none;
  width: 280px;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cityInput:focus {
  border-color: #00bfa5;                /* teal accent */
  box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.3);
}

button[type="submit"] {
  padding: 12px 28px;
  font-size: 1.5rem;
  background: #00bfa5;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, transform 0.2s ease;
}

button[type="submit"]:hover {
  background: #009f8b;
  transform: translateY(-2px);
}

/* ===== Weather Card ===== */
.card {
  background: rgba(255, 255, 255, 0.08); /* translucent card */
  padding: 40px 50px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* ===== Text Styling ===== */
h1 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 600;
  color: #ffffff;
}

p {
  font-size: 1.2rem;
  margin: 6px 0;
  color: #e0e0e0;
}

.cityDisplay,
.tempDisplay {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.humidityDisplay {
  font-weight: 600;
  margin-bottom: 18px;
  color: #d0d0d0;
}

.descDisplay {
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  color: #f5f5f5;
}

.weatherEmoji {
  margin: 10px 0 0;
  font-size: 6rem;
}

.errorDisplay {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ff6b6b; /* clear but not harsh */
  margin-top: 10px;
}
