.forecast .day-card, .forecastLocation .day-card {
  min-width: 60px;
  padding: 0;
  text-align: center;
  margin-bottom: 15px;
}

.forecast .day-card .day-icon .sprite-icon, .forecastLocation .day-card .day-icon .sprite-icon {
  margin-right: 4px;
}

.forecast .location-title, .forecastLocation .location-title {
  display: flex;
}

.forecast .location-name-and-time, .forecastLocation .location-name-and-time {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forecast .location-controls, .forecastLocation .location-controls {
  flex-grow: 0;
  /* text-align: right; */
  white-space: nowrap;
}

.forecast .day-cards, .forecastLocation .day-cards {
  padding: 0 15px;
  margin-bottom: -15px;
}

@media (max-width: 400px) {
  .forecast .day-card, .forecastLocation .day-card {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

.forecast .badge, .forecastLocation .badge {
  font-size: 0.9em;
}

.forecast .current-forecast, .forecastLocation .current-forecast {
  display: flex;
  flex-direction: row;
  margin-bottom: 15px;
}

.forecast .current-icon, .forecastLocation .current-icon {
  margin-right: 8px;
}

.forecast .today-icon, .forecastLocation .today-icon {
  margin-right: 8px;
  margin-left: 20px;
}

.forecast .today-temperatures, .forecastLocation .today-temperatures {
  margin-left: 8px;
  white-space: nowrap;
}

.forecast .current-temperature, .forecastLocation .current-temperature {
  white-space: nowrap;
  margin-left: 8px;
}

.forecast .current-conditions, .forecastLocation .current-conditions {
  white-space: nowrap;
  max-width: 30%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forecast .today-conditions, .forecastLocation .today-conditions {
  flex: 1 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forecast-frame {
  display: block;
}

.forecast-frame.forecast-refreshed .card {
  animation: forecast-refreshed 2s ease-out;
}

@keyframes forecast-refreshed {
  from {
    box-shadow: 0 0 0 1px rgba(var(--bs-info-rgb), 0.6), 0 0 18px rgba(var(--bs-info-rgb), 0.45);
  }
  to {
    box-shadow: 0 0 0 1px rgba(var(--bs-info-rgb), 0), 0 0 18px rgba(var(--bs-info-rgb), 0);
  }
}
