.weather-intro {
  margin-bottom: 24px;
}

.weather-search {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin-bottom: 20px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.weather-search input {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 14px;
  border: 1px solid var(--chrome);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.weather-search input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.12);
}

.weather-search .btn {
  border: none;
  cursor: pointer;
}

.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--chrome);
  border-radius: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: 0 4px 10px rgba(44, 44, 42, 0.15);
}

.suggestions-dropdown li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--cream-alt);
}

.suggestions-dropdown li:last-child {
  border-bottom: none;
}

.suggestions-dropdown li:hover,
.suggestions-dropdown li.active {
  background: var(--cream-alt);
}

.weather-status {
  color: var(--text-muted);
  min-height: 1.2em;
}

.current-weather {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--chrome);
  border-top: 4px solid var(--red);
  padding: 28px;
  margin: 20px 0 32px;
  box-shadow: var(--shadow-md);
}

.current-location {
  margin: 0 0 4px;
  letter-spacing: 0.5px;
}

.current-temp {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  color: var(--red);
}

.current-condition {
  margin: 4px 0 0;
  color: var(--text-muted);
}

.current-weather-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.current-weather-details p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-width: 160px;
  font-size: 0.9rem;
}

.current-weather-details span {
  color: var(--text-muted);
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}

.forecast-day {
  background: var(--card);
  border: 1px solid var(--chrome);
  border-radius: 2px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.forecast-day:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.forecast-day .day-name {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.forecast-day .day-condition {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.forecast-day .day-temps {
  margin: 0;
  font-weight: 700;
}

.forecast-day .day-temps .low {
  color: var(--text-muted);
  font-weight: 400;
}
