/* 天气卡片样式 */
.weather-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 2rem;
  color: #fff;
  margin: 1.5rem 0;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.weather-card h2 {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1rem;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.weather-item {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.weather-item .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.weather-item .label {
  font-size: 0.8rem;
  opacity: 0.9;
  display: block;
  margin-bottom: 0.25rem;
}

.weather-item .value {
  font-size: 1.1rem;
  font-weight: bold;
  display: block;
}

.weather-section {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
}

.weather-section h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.weather-section p {
  margin: 0;
  line-height: 1.6;
  opacity: 0.95;
}

.forecast-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.forecast-item {
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  flex: 1;
  min-width: 120px;
}

.forecast-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.update-time {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
