.search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 28px auto 8px;
  padding: 0 18px;
  gap: 20px;
  box-sizing: border-box;
}

.MeghVani {
  font-size: 40px;
  font-weight: 800;
  color: #f7fbfe;
  letter-spacing: -0.6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.vani {
  color: var(--accent);
  font-weight: 900;
  font-size: 40px;
  margin-left: 2px;
}

.search-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

#pincode {
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: inherit;
  min-width: 180px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
#pincode:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(0,191,255,0.06);
}

.search-controls button {
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 700;
}
.map-and-data {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: start;
  max-width: 1100px;
  width: 100%;
  margin: 18px auto 28px;
  padding: 0 18px;
  box-sizing: border-box;
}

.demo-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-box {
  width: 100%;
  height: 318px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.03);
}

.weather-current {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.weather-icon {
  width: 96px;
  height: 96px;
}

.current-temp {
  margin: 4px 0 0;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
}

.weather-main { font-size: 1.1rem; opacity: 0.95; }
.weather-meta { font-size: 0.95rem; opacity: 0.8; }


.weekly-weather {
  max-width: 1100px;
  margin: 18px auto 60px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  box-sizing: border-box;
  align-items: stretch;
}

.weather-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  min-height: 160px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.weather-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.5);
}

.weather-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.weather-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.date {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 2px;
}

.temp-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: center;
}

.temperature {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.unit {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.description {
  font-size: 0.95rem;
  text-transform: capitalize;
  opacity: 0.9;
}

.details {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.9;
}

.Meghsuchna, .suchna {
  font-size: 34px;
  font-weight: 800;
  color: #f6fbfd;
  margin: 18px 0 8px;
}
.suchna { color: var(--accent); }

@media (max-width: 1024px) {
  .map-and-data { grid-template-columns: 1fr; }
  .map-box { height: 320px; max-width: 100%; }
  .demo-box { width: 100%; }
  .weekly-weather { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .MeghVani { font-size: 34px; }
}

@media (max-width: 720px) {
  .search { flex-direction: column; gap: 12px; padding: 0 12px; align-items: center; }
  .MeghVani { font-size: 28px; text-align: center; }
  .vani { font-size: 28px; }
  .map-box { height: 260px; }
  .current-temp { font-size: 2.1rem; }
  .weather-icon { width: 64px; height: 64px; }
  .weekly-weather { gap: 12px; padding: 0 12px; }
  .Meghsuchna, .suchna { font-size: 26px; text-align: center; }
}
.leaflet-top, .leaflet-bottom { z-index: 450 !important; }