/* ═══════════════════════════════════
   WEATHER WIDGET
═══════════════════════════════════ */
.weather-widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

/* ── Current temperature card ── */
.weather-current {
  background: linear-gradient(145deg, #1d4ed8 0%, #0ea5e9 55%, #38bdf8 100%);
  border-radius: 24px;
  padding: 22px 20px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border: none;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.35);
}

/* Decorative circles */
.weather-current::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.weather-current::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -20px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.weather-temp {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  font-family: var(--font-heading, 'Be Vietnam Pro', sans-serif);
}
.weather-city {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 6px;
  font-weight: 500;
}
.weather-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
  text-transform: capitalize;
}

/* Humidity + wind pills */
.weather-details {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.weather-detail-pill {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 11px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.weather-current-icon {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: -4px;
  width: 84px;
  height: 84px;
}
.weather-current-icon svg {
  width: 84px;
  height: 84px;
}
.weather-sun-svg {
  filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.6));
}

/* ── White cards (hourly + weekly) ── */
.weather-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid #f0f1f3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* ── Hourly & weekly rows ── */
.weather-hourly,
.weather-weekly {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.weather-hour-item,
.weather-day-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.weather-hour-temp,
.weather-day-temp {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}
.weather-hour-time,
.weather-day-name {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
}
.weather-hour-icon,
.weather-day-icon {
  width: 28px;
  height: 28px;
}
