/*
  Custom styles for Pogoda service.
  TailwindCSS handles most styling through the CDN.
  This file holds small custom tweaks and overrides.
*/

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f1f5f9;
  color: #0f172a;
}

.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.scroll-shadows {
  position: relative;
}

.scroll-shadows::before,
.scroll-shadows::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: none;
  z-index: 5;
}

.scroll-shadows::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.12), transparent);
}

.scroll-shadows::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.12), transparent);
}
