.weather-widget {
  font-family: "Inter", sans-serif;
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(240,249,255,0.95));
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  color: #0c4a6e;
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.25), 0 0 0 1px rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  gap: 24px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
}
.weather-widget .ww-header {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(14, 165, 233, 0.1);
}
.weather-widget .ww-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: #0c4a6e;
}
.weather-widget .ww-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.weather-widget .ww-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.weather-widget .ww-sun-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #f59e0b;
  font-size: 0.875rem;
  font-weight: 600;
}
.weather-widget .ww-sun-compact i {
  color: #f59e0b;
}
.weather-widget .ww-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.weather-widget .ww-current {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
}
.weather-widget .ww-icon {
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 20px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}
.weather-widget .ww-temp {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  color: #0c4a6e;
  margin-bottom: 8px;
}
.weather-widget .ww-unit {
  font-size: 2rem;
  color: #0369a1;
  font-weight: 600;
}
.weather-widget .ww-desc {
  font-size: 1rem;
  color: #64748b;
  margin-top: 4px;
  font-weight: 500;
  line-height: 1.4;
}
.weather-widget .ww-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.weather-widget .ww-details > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: rgba(14, 165, 233, 0.08);
  border-radius: 14px;
  transition: all 0.25s ease;
  border: 1.5px solid rgba(14, 165, 233, 0.12);
}
.weather-widget .ww-details > div:hover {
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.2);
}
.weather-widget .detail-icon {
  font-size: 1.5rem;
}
.weather-widget .detail-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.weather-widget .detail-value {
  font-size: 1rem;
  font-weight: 700;
  color: #0c4a6e;
  text-align: center;
}
.weather-widget .detail-value span {
  color: #0369a1;
}
#weather-canvas {
  pointer-events: none;
  opacity: 0.3;
}

#hero-advice .bg-white\/10 {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
#hero-advice .bg-white\/10:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}
#hero-advice h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}
#hero-advice ul li {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.25s ease;
  border-left: 4px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}
#hero-advice ul li:hover {
  background: rgba(255, 255, 255, 0.18);
  border-left-color: rgba(255, 255, 255, 0.8);
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#hero-tasks li .task-icon,
#hero-risks li .risk-icon,
#hero-notes li .note-icon {
  font-size: 1.4rem;
  display: inline-block;
  min-width: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
#hero-tasks li .task-text,
#hero-risks li .risk-text,
#hero-notes li .note-text {
  flex: 1;
}

.weather-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.weather-particle {
  position: absolute;
  background: white;
  opacity: 0.6;
  animation: fall linear infinite;
}
.raindrop {
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent);
}
.snowflake {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}
.star {
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 3px 1px rgba(255,255,255,0.8);
  animation: twinkle 3s ease-in-out infinite;
}
.cloud {
  width: 60px;
  height: 20px;
  background: rgba(255,255,255,0.3);
  border-radius: 20px;
  animation: float 20s linear infinite;
}
@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}
@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}
@keyframes float {
  from {
    transform: translateX(-100px);
  }
  to {
    transform: translateX(calc(100vw + 100px));
  }
}
.daily-forecast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.forecast-day-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.forecast-day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.forecast-day-card .day-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}
.forecast-day-card .day-icon {
  font-size: 2.5rem;
  margin: 8px 0;
}
.forecast-day-card .day-temps {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  margin-bottom: 12px;
}
.forecast-day-card .temp-max {
  font-weight: 600;
  color: #0f172a;
}
.forecast-day-card .temp-min {
  color: #64748b;
}
.forecast-day-card .day-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}
.forecast-day-card .detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.forecast-day-card .rain-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.forecast-day-card .rain-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.hourly-forecast-container {
  margin-top: 20px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.hourly-timeline {
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding-top: 16px;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
  scroll-behavior: smooth;
}
.hourly-timeline::-webkit-scrollbar {
  height: 8px;
}
.hourly-timeline::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.hourly-timeline::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.hourly-timeline::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.hour-column {
  min-width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  border-right: 1px solid #e2e8f0;
  transition: all 0.3s;
  position: relative;
}
.hour-column:last-child {
  border-right: none;
}
.hour-column:hover {
  background: #f8fafc;
}
.hour-column.current-hour {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 197, 253, 0.1));
  border: 2px solid #3b82f6;
  border-radius: 12px;
  margin: 0 4px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
  z-index: 10;
}
.hour-column.current-hour::before {
  content: 'TERAZ';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  white-space: nowrap;
}
.hour-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 8px;
}
.hour-icon {
  font-size: 2rem;
  margin: 4px 0;
}
.hour-temp {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 8px 0;
}
.hour-rain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 8px 0;
}
.hour-rain-amount {
  font-size: 0.7rem;
  color: #3b82f6;
  font-weight: 600;
}
.hour-rain-bar {
  width: 40px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}
.hour-rain-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.hour-wind {
  font-size: 0.7rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}
.hour-precip-prob {
  font-size: 0.65rem;
  color: #6b7280;
  margin-top: 2px;
}
.weather-widget .ww-footer {
  padding-top: 12px;
  border-top: 1px solid rgba(14, 165, 233, 0.1);
  font-size: 0.7rem;
  color: #94a3b8;
  text-align: right;
}
.chart-block {
  background: radial-gradient(circle at top left, rgba(224, 242, 254, 0.8), #ffffff);
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(14, 165, 233, 0.08);
}
.chart-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .chart-header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}
.chart-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0f172a;
}
.chart-sub {
  font-size: 0.9rem;
  color: #475569;
}
.chart-note {
  font-size: 0.75rem;
  color: #64748b;
}
.chart-canvas {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 116, 144, 0.08), rgba(14, 116, 144, 0));
  padding: 12px;
}

.advice-modern-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.advice-modern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}
.advice-modern-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.advice-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.advice-modern-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.advice-modern-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.advice-modern-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.8), rgba(248, 250, 252, 0.4));
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #334155;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.advice-modern-list li:hover {
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.9), rgba(241, 245, 249, 0.6));
  border-left-color: #3b82f6;
  transform: translateX(4px);
}
.advice-modern-list li::before {
  content: "•";
  font-weight: bold;
  color: #3b82f6;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.rec-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.rec-tab:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.rec-tab.active {
  background: #0f172a;
  border-color: #0f172a;
  color: white;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
}

.month-tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.month-tab:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.month-tab.active {
  background: #0f172a;
  border-color: #0f172a;
  color: white;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
}
.month-tab.current {
  position: relative;
}
.month-tab.current::after {
  content: '●';
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.6rem;
  color: #10b981;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.month-nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  min-width: 40px;
  min-height: 40px;
}
.month-nav-arrow:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #0f172a;
}
.month-nav-arrow:active {
  transform: scale(0.95);
}

.weather-rec-card {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px solid #fbbf24;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.weather-rec-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 8px;
}
.weather-rec-card p {
  color: #78350f;
  font-size: 0.875rem;
  line-height: 1.6;
}

.rec-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  border: 2px solid transparent;
}
.rec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #3b82f6;
}
.rec-card.priority-high { border-left: 4px solid #ef4444; }
.rec-card.priority-medium { border-left: 4px solid #f59e0b; }
.rec-card.priority-low { border-left: 4px solid #10b981; }

.rec-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.rec-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  flex: 1;
}
.rec-card-category {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: #e0f2fe;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0369a1;
}
.rec-card-description {
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.rec-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}
.rec-tag {
  padding: 4px 10px;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #64748b;
}
.rec-priority {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}
.rec-priority.high { background: #fee2e2; color: #991b1b; }
.rec-priority.medium { background: #fef3c7; color: #92400e; }
.rec-priority.low { background: #d1fae5; color: #065f46; }

#advice ul li {
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.6), rgba(248, 250, 252, 0.4));
  border-radius: 10px;
  border-left: 3px solid #3b82f6;
  transition: all 0.2s;
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#advice ul li:hover {
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.8), rgba(241, 245, 249, 0.6));
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#advice ul li::before {
  content: "•";
  font-weight: bold;
  color: #3b82f6;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .daily-forecast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
