body {
  background-color: #f5f7fb;
  font-family: "Roboto", sans-serif;
  color: #111827;
}

a {
  color: #4f46e5;
  text-decoration: none;
}

.weather-app {
  background: #ffffff;
  max-width: 600px;
  margin: 50px auto;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  padding: 32px;
}

header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 28px;
}

.search-form-input {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  width: 78%;
  font-size: 16px;
  padding: 14px 18px;
}

.search-form-input:focus {
  outline: none;
  border-color: #4f46e5;
}

.search-form-button {
  background: #4f46e5;
  padding: 14px 26px;
  border: none;
  font-size: 16px;
  margin-left: 6px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
}

.search-form-button:hover {
  background: #4338ca;
}

main {
  padding: 32px 0;
}

.weather-app-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.weather-app-city {
  margin: 0;
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
}

.weather-app-details {
  font-size: 15px;
  color: #6b7280;
  line-height: 22px;
  font-weight: 500;
}

.weather-app-details strong {
  color: #22c55e;
}

.weather-app-temperature-container {
  display: flex;
  align-items: flex-start;
}

.weather-app-icon {
  width: 56px;
  height: 56px;
  animation: float 3s ease-in-out infinite;
}

.weather-app-temperature {
  font-size: 88px;
  line-height: 88px;
  font-weight: 700;
  margin-left: 8px;
}

.weather-app-unit {
  margin-top: 8px;
  font-size: 26px;
  color: #6b7280;
}

.weather-forecast {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
}

.weather-forecast-date {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 8px;
}

.weather-forecast-icon {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto;
}

.weather-forecast-temperatures {
  text-align: center;
  color: #ef4444;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  font-weight: 600;
}

.weather-forecast-temperature {
  padding: 0 8px;
}

@keyframes float {
  0% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
  100% { transform: translateX(0); }
}

footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}
