/* Weather Forecast Table Styles */
.weather-forecast {
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.weather-table-container {
  width: 100%;
}

.weather-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.weather-table thead th {
  padding: 12px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
  text-align: center;
  vertical-align: middle;
  line-height: 1.2;
}

.weather-table thead th.month-header {
  text-align: left;
  padding-left: 16px;
  font-size: 0.875rem;
}

.weather-table thead .weather-icon {
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
}

.weather-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

.weather-table tbody tr:hover {
  background-color: #f9fafb;
}

.weather-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.weather-table td {
  padding: 10px 8px;
  color: #4b5563;
  text-align: center;
}

.weather-table .month-cell {
  font-weight: 600;
  color: #1f2937;
  text-align: left;
  padding-left: 16px;
  white-space: nowrap;
}

/* Temperature styling */
.temp-max {
  color: #dc2626;
  font-weight: 600;
}

.temp-min {
  color: #2563eb;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .weather-forecast {
    padding: 1rem;
    margin: 1rem 0;
  }

  .weather-table {
    font-size: 0.75rem;
  }

  .weather-table thead th {
    padding: 8px 4px;
    font-size: 0.65rem;
  }

  .weather-table thead .weather-icon {
    font-size: 0.875rem;
  }

  .weather-table tbody td {
    padding: 8px 4px;
  }

  .weather-table .month-cell {
    padding-left: 8px;
    font-size: 0.75rem;
  }
}

/* Remove row-specific background colors since we're using alternating rows */
.temp-day-row,
.temp-night-row,
.sunshine-row,
.sunshine-hours-row,
.rain-days-row,
.precipitation-row,
.humidity-row,
.uv-row {
  background-color: transparent;
}
