/* Weather forecast cards in expanded river rows */

.weather-forecast {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.weather-forecast-cards {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.weather-forecast-cards::-webkit-scrollbar {
  height: 4px;
}

.weather-forecast-cards::-webkit-scrollbar-track {
  background: transparent;
}

.weather-forecast-cards::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.weather-card {
  flex: 0 0 auto;
  min-width: 110px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  color: #e2e8f0;
}

.weather-card-name {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 2px;
  display: block;
  border-radius: 4px;
}

.weather-card-temp {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.weather-card-desc {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.3;
  margin-bottom: 2px;
}

.weather-card-wind {
  font-size: 10px;
  color: #64748b;
}

.weather-loading {
  text-align: center;
  padding: 6px;
  color: #64748b;
  font-size: 11px;
}

/* Mobile: narrower cards */
@media (max-width: 640px) {
  .weather-forecast {
    margin-top: 8px;
    padding: 8px 12px 0;
  }

  .weather-card {
    min-width: 100px;
    padding: 6px;
  }

  .weather-card-temp {
    font-size: 15px;
  }

  .weather-card-icon {
    width: 36px;
    height: 36px;
  }
}
