/* Reset + Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #e0f7fa, #fff3e0);
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

.weatherapp {
  max-width: 500px;
  margin: 40px auto;
  background-color: #ffffffcc;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
  margin-bottom: 20px;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form-input {
  flex: 1;
  padding: 10px;
  border: 2px solid #0097a7;
  border-radius: 8px;
  font-size: 16px;
}

.search-form-button {
  padding: 10px 20px;
  background-color: #e91e63; /* pink */
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-form-button:hover {
  background-color: #c2185b; /* darker pink */
}

/* Weather Data Layout */
.weather-app-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.weather-app-left {
  flex: 1;
  text-align: left;
}

.weather-app-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.weather-app-city {
  font-family: 'Delius', cursive;
  font-size: 32px;
  color: #007c91;
  margin-bottom: 8px;
}

.weather-app-details {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.weather-app-icon {
  font-size: 64px;
  margin-bottom: 10px;
}

.weather-app-temperature-value {
  font-size: 48px;
  font-weight: bold;
  color: #e65100;
}

/* Footer - Pink Text */
footer {
  font-size: 12px;
  text-align: center;
  margin-top: 30px;
  color: #e91e63;
}

footer a {
  color: #e91e63;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Accessibility: hide label visually but keep for screen readers */
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
