@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  color-scheme: dark;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #090d16;
  color: #f1f5f9;
  -webkit-tap-highlight-color: transparent;
}

.glass-panel {
  background: rgba(18, 24, 38, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(30, 41, 59, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-section {
  display: none;
}

.tab-section.active {
  display: flex;
}

/* Exactly 1-second green blink on live weather / sync update (from QFF Weather App) */
@keyframes blinkGreen {
  0% { background-color: #090d16; box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
  30% { background-color: #22c55e; box-shadow: 0 0 10px #22c55e; }
  70% { background-color: #22c55e; box-shadow: 0 0 10px #22c55e; }
  100% { background-color: #090d16; box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
}

.blink-update {
  animation: blinkGreen 1s ease-in-out forwards;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.28);
  border-radius: 4px;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Leaflet overrides */
.leaflet-container {
  background: #090d16 !important;
  font-family: 'Inter', sans-serif !important;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(15, 23, 42, 0.96) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px !important;
}
.leaflet-popup-content {
  margin: 10px 12px !important;
}

/* Photo card hover zoom */
.photo-card img {
  transition: transform 0.25s ease;
}
.photo-card:hover img {
  transform: scale(1.03);
}

/* Safe area padding for iOS PWA home bar */
.pb-safe {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
