/* Kosovo city list */

/* ===== Super-Modern Weather App CSS ===== */
:root {
  --bg: #e0f2fe;
  --bg2: #bae6fd;
  --card: rgba(15,23,42,0.85);
  --muted: #94a3b8;
  --shadow: 0 8px 32px 0 #0ea5e955;
  --radius: 22px;
  --accent: #0ea5e9;
  --accent2: #38bdf8;
  --accent3: #fbbf24;
  --text: #e0f2fe;
}
html.dark, body.dark {
  --bg: #0f172a;
  --bg2: #1e293b;
  --card: rgba(30,41,59,0.92);
  --muted: #64748b;
  --shadow: 0 8px 32px 0 #0ea5e955;
  --text: #e0f2fe;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) fixed;
  min-height: 100vh;
  transition: background 0.5s;
}
/* --- Modern Glassmorphism App Container --- */
.app {
  width: 100%;
  max-width: 600px;
  margin: 48px auto 36px auto;
  background: linear-gradient(120deg, rgba(30,41,59,0.97) 80%, rgba(14,165,233,0.10) 100%);
  border-radius: 2.5rem;
  box-shadow: 0 8px 40px 0 rgba(14,165,233,0.13), 0 2px 12px 0 rgba(0,0,0,0.10);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  padding: 2.2rem 2.2rem 1.7rem 2.2rem;
  position: relative;
  overflow: hidden;
}
  /* --- City List & Search: Modern, Glass, Gradient, Large, Beautiful --- */
  .city-list-wrap {
    margin: 1.7rem 0 1.2rem 0;
    padding: 1.3rem 2.2rem 1.3rem 2.2rem;
    background: linear-gradient(120deg, rgba(30,41,59,0.93) 80%, rgba(14,165,233,0.10) 100%);
    border-radius: 2.2rem;
    box-shadow: 0 4px 32px 0 rgba(14,165,233,0.10), 0 1.5px 8px 0 rgba(0,0,0,0.07);
    -webkit-backdrop-filter: blur(5px) saturate(1.1);
    backdrop-filter: blur(5px) saturate(1.1);
  }
  .city-list-title {
    font-size: 1.25rem;
    color: #0ea5e9;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px #bae6fd44;
  }
  .city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    justify-content: flex-start;
    margin-bottom: 0.2rem;
  }
  .city-btn {
    background: linear-gradient(120deg, #0ea5e9 60%, #38bdf8 100%);
    color: #fff;
    border: none;
    border-radius: 1.7rem;
    padding: 0.65rem 1.7rem;
    font-size: 1.18rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2.5px 10px 0 rgba(14,165,233,0.13);
    transition: background 0.16s, color 0.16s, transform 0.16s, box-shadow 0.16s;
    letter-spacing: 0.01em;
    outline: none;
    position: relative;
    z-index: 1;
  }
  .city-btn:hover, .city-btn:focus {
    background: linear-gradient(120deg, #38bdf8 60%, #0ea5e9 100%);
    color: #fff;
    transform: scale(1.11) translateY(-2px);
    box-shadow: 0 6px 24px 0 rgba(14,165,233,0.18);
  }
  .row[role="search"] {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    margin-bottom: 1.2rem;
    background: rgba(14,165,233,0.07);
    border-radius: 1.5rem;
    padding: 0.7rem 1.2rem;
    box-shadow: 0 2px 12px 0 rgba(14,165,233,0.07);
    -webkit-backdrop-filter: blur(3px) saturate(1.1);
    backdrop-filter: blur(3px) saturate(1.1);
  }
  #q[type="search"] {
    font-size: 1.13rem;
    border-radius: 1.2rem;
    border: 1.5px solid #0ea5e9;
    padding: 0.45rem 1.1rem;
    outline: none;
    transition: border 0.13s, box-shadow 0.13s;
    box-shadow: 0 1.5px 6px 0 rgba(14,165,233,0.07);
  }
  #q[type="search"]:focus {
    border: 2px solid #38bdf8;
    box-shadow: 0 2px 12px 0 rgba(14,165,233,0.13);
  }
  #btnSearch, #btnGeo {
    background: linear-gradient(120deg, #0ea5e9 60%, #38bdf8 100%);
    color: #fff;
    border: none;
    border-radius: 1.2rem;
    padding: 0.45rem 1.3rem;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1.5px 6px 0 rgba(14,165,233,0.10);
    transition: background 0.13s, color 0.13s, transform 0.13s;
    margin-left: 0.1rem;
    outline: none;
  }
  #btnSearch:hover, #btnGeo:hover, #btnSearch:focus, #btnGeo:focus {
    background: linear-gradient(120deg, #38bdf8 60%, #0ea5e9 100%);
    color: #fff;
    transform: scale(1.08) translateY(-1px);
    box-shadow: 0 4px 16px 0 rgba(14,165,233,0.13);
  }
  .forecast .emoji {
    font-size: 2.8rem;
    margin: 0.2rem 0 0.1rem 0;
    filter: drop-shadow(0 2px 8px #0ea5e9cc);
    z-index: 1;
  }
  .forecast .desc {
    font-size: 1.18rem;
    color: #bae6fd;
    margin-bottom: 0.18rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    z-index: 1;
  }
  .forecast .t {
    font-size: 1.32rem;
    font-weight: 700;
    margin-bottom: 0.18rem;
    color: #fbbf24;
    letter-spacing: 0.01em;
    z-index: 1;
  }
  .forecast .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    justify-content: center;
    margin-bottom: 0.13rem;
    z-index: 1;
  }
  .forecast .badge {
    background: rgba(14,165,233,0.16);
    color: #e0f2fe;
    border-radius: 1.3rem;
    padding: 0.22rem 0.85rem;
    font-size: 1.04rem;
    font-weight: 600;
    margin: 0.09rem 0.09rem;
    box-shadow: 0 1.5px 6px 0 rgba(14,165,233,0.10);
    border: 1.2px solid rgba(14,165,233,0.10);
    letter-spacing: 0.01em;
  }
  .forecast .day > div:first-child {
    font-size: 1.13rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 0.18rem;
    letter-spacing: 0.01em;
    z-index: 1;
  }
  .forecast .day .meta:last-child {
    margin-bottom: 0.1rem;
    margin-top: 0.18rem;
  }
.place { font-size: 20px; font-weight: 800; }
.desc { font-size: 15px; color: var(--muted); }
.temp {
  font-size: 62px; font-weight: 900; line-height: 1; letter-spacing: -2px;
  text-shadow: 0 4px 16px #0ea5e9cc;
  color: var(--accent2);
  filter: drop-shadow(0 2px 8px #0ea5e955);
}
.meta {
  display: flex; gap: 10px; color: var(--muted); font-size: 14px; margin-top: 6px; flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(90deg, #0ea5e933 60%, #38bdf833 100%);
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid #0ea5e955;
  font-weight: 500;
  color: #e0f2fe;
  box-shadow: 0 1px 4px #0ea5e922;
}
/* --- 5 Day Forecast Table: Modern, Professional, Glassmorphism --- */
.forecast {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 1.2rem;
}
.forecast .day {
  background: linear-gradient(135deg, rgba(30,41,59,0.92) 60%, rgba(14,165,233,0.18) 100%);
  border-radius: 2.2rem;
  box-shadow: 0 8px 32px 0 rgba(14,165,233,0.18), 0 1.5px 8px 0 rgba(0,0,0,0.10);
  padding: 1.7rem 1.3rem 1.3rem 1.3rem;
  min-width: 200px;
  max-width: 240px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 2.5px solid rgba(14,165,233,0.18);
  margin-bottom: 0.7rem;
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(7px) saturate(1.2);
  backdrop-filter: blur(7px) saturate(1.2);
}
.forecast .day:hover {
  transform: translateY(-10px) scale(1.045);
  box-shadow: 0 12px 40px 0 rgba(14,165,233,0.28), 0 2px 12px 0 rgba(0,0,0,0.13);
  border-color: #38bdf8;
}
.forecast .day::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(14,165,233,0.13) 0%, rgba(14,165,233,0.01) 100%);
  z-index: 0;
}
.forecast .emoji {
  font-size: 2.8rem;
  margin: 0.2rem 0 0.1rem 0;
  filter: drop-shadow(0 2px 8px #0ea5e9cc);
  z-index: 1;
}
.forecast .desc {
  font-size: 1.18rem;
  color: #bae6fd;
  margin-bottom: 0.18rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  z-index: 1;
}
.forecast .t {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 0.18rem;
  color: #fbbf24;
  letter-spacing: 0.01em;
  z-index: 1;
}
.forecast .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  justify-content: center;
  margin-bottom: 0.13rem;
  z-index: 1;
}
.forecast .badge {
  background: rgba(14,165,233,0.16);
  color: #e0f2fe;
  border-radius: 1.3rem;
  padding: 0.22rem 0.85rem;
  font-size: 1.04rem;
  font-weight: 600;
  margin: 0.09rem 0.09rem;
  box-shadow: 0 1.5px 6px 0 rgba(14,165,233,0.10);
  border: 1.2px solid rgba(14,165,233,0.10);
  letter-spacing: 0.01em;
}
.forecast .day > div:first-child {
  font-size: 1.13rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.18rem;
  letter-spacing: 0.01em;
  z-index: 1;
}
.forecast .day .meta:last-child {
  margin-bottom: 0.1rem;
  margin-top: 0.18rem;
}
.hint {
  margin-top: 18px; font-size: 14px; color: #bfe5ffcc; text-align: center; font-style: italic;
}
.loading { opacity: .7; }
.error { background: #36151a; border: 1.5px solid #f43f5e; color: #fff0f3; box-shadow: 0 2px 12px #f43f5e33; }
.sr-only { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.forecast-title { margin-bottom: 8px; font-weight: 700; font-size: 16px; color: var(--accent3); letter-spacing: .2px; }
/* Kosovo city list */
.city-list-wrap {
  margin: 18px 0 8px 0;
}
.city-list-title {
  font-size: 14px;
  color: #bfe5ff;
  margin-bottom: 6px;
}
.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  justify-content: flex-start;
}
.city-btn {
  background: #0ea5e9;
  color: #063047;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-weight: 600;
  box-shadow: 0 1px 4px #0ea5e922;
}
.city-btn:hover, .city-btn:focus {
  background: #67e8f9;
  color: #0e1628;
}
/* Satellite image section */
.satellite-img-wrap {
  text-align: center;
}
.satellite-img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid #1e293b;
  box-shadow: 0 2px 8px #0369a122;
}
.satellite-caption {
  font-size: 12px;
  color: #bfe5ffcc;
  margin-top: 4px;
}
/* Leaflet map container */
/* --- Satellite Map Modern Glassmorphism --- */
.satellite-map {
  height: 340px;
  max-width: 98%;
  margin: 0 auto 18px auto;
  border-radius: 2.2rem;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(14,165,233,0.18), 0 1.5px 8px 0 rgba(0,0,0,0.10);
  border: 2.5px solid rgba(14,165,233,0.18);
  background: linear-gradient(120deg, rgba(14,165,233,0.10) 60%, rgba(59,130,246,0.07) 100%);
  -webkit-backdrop-filter: blur(7px) saturate(1.2);
  backdrop-filter: blur(7px) saturate(1.2);
  padding: 0.7rem 0.7rem 0.7rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leaflet-container {
  border-radius: 2.2rem;
}
/* Responsive design for mobile and desktop */
@media (max-width: 900px) {
  .app {
    max-width: 99vw;
    margin: 10px auto 10px auto;
    padding: 10px 2vw;
    border-radius: 0;
  }
  .card {
    padding: 12px 6px;
    margin-top: 10px;
    border-radius: 12px;
  }
  .satellite-map {
    height: 180px;
    border-radius: 10px;
  }
}
@media (max-width: 600px) {
  .app {
    max-width: 100vw;
    margin: 0;
    padding: 2vw 0.5vw;
    border-radius: 0;
    min-height: 100vh;
  }
  .row {
    flex-direction: column;
    gap: 6px;
  }
  input[type="search"] {
    font-size: 15px;
    padding: 12px 10px;
  }
  button {
    font-size: 15px;
    padding: 10px 10px;
    border-radius: 12px;
  }
  h1 {
    font-size: 18px;
    margin: 8px 0 12px;
  }
  .card {
    padding: 7px 2px;
    margin-top: 8px;
    border-radius: 8px;
  }
  .current {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .place { font-size: 16px; }
  .desc { font-size: 13px; }
  .temp { font-size: 36px; }
  .meta { font-size: 12px; gap: 6px; }
  .badge { padding: 4px 8px; font-size: 12px; }
  .forecast {
    grid-template-columns: repeat(2,1fr);
    gap: 6px;
  }
  .day { padding: 7px 2px; font-size: 13px; }
  .t { font-size: 13px; }
  .city-list {
    gap: 5px;
    justify-content: flex-start;
  }
  .city-btn {
    font-size: 13px;
    padding: 5px 8px;
    border-radius: 7px;
  }
  .satellite-map {
    height: 110px;
    border-radius: 6px;
  }
  .satellite-img {
    border-radius: 8px;
  }
  .satellite-caption {
    font-size: 14px;
    color: #fbbf24;
    margin-top: 8px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px #bae6fd44;
  }
}
/* Leaflet CSS */
@import url('https://unpkg.com/leaflet@1.9.4/dist/leaflet.css');

/* Leaflet JS */
/* @import url('https://unpkg.com/leaflet@1.9.4/dist/leaflet.js');  Removed: JS cannot be imported in CSS */   