/**
 * Weekly Forecast Styles - Compact Design
 * Shows 7-day forecast with just temp and icon
 */

.weather-weekly-forecast {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.forecast-day-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.375rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.forecast-day-item:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(167, 139, 186, 0.2);
}

.forecast-day-name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.forecast-day-icon {
  font-size: 1.75rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.forecast-day-temp {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Current Day Highlight */
.forecast-day-item.current-day {
  background: rgba(255, 215, 0, 0.3);
  border-color: #ffd700;
  box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

.forecast-day-item.current-day .forecast-day-name {
  color: #ffd700;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .weather-weekly-forecast {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .forecast-day-item:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 480px) {
  .weather-weekly-forecast {
    grid-template-columns: repeat(3, 1fr);
  }

  .forecast-day-item:nth-child(n + 4) {
    display: none;
  }

  .forecast-day-name {
    font-size: 0.625rem;
  }

  .forecast-day-icon {
    font-size: 1.5rem;
  }

  .forecast-day-temp {
    font-size: 0.75rem;
  }
}

/* Hide expand button and details for compact mode */
.weather-widget-compact .weather-expand-btn {
  display: none;
}

.weather-widget-compact .weather-details {
  display: none !important;
}

.weather-widget-compact .weather-footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}
