.open-city-popup {
  position: absolute;
  top: 6px;
  right: 15px;
  background: #274775;
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 4px;
  border: none;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10000;
  /* z-index: 9999; */
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  /* Professional look ke liye */
  letter-spacing: 0.5px;
}

.open-city-popup i {
  color: #ff782d;
  /* Icon ko Orange rakha hai highlight ke liye */
  font-size: 12px;
}

.open-city-popup:hover {
  /* background: #FF782D; */
  background: #a76948;
  /* Hover pe background orange */
  color: #fff;
}

.open-city-popup:hover i {
  color: #fff;
  /* Hover pe icon white */
}

/* Overlay */
.city-popup-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  display: none;
}

/* Popup */
.city-popup-overlay .city-popup {
  width: 950px;
  height: 587px;
  max-width: 95%;
  background: #fff;
  border-radius: 12px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

/* Header */
.city-popup-overlay .city-popup-header {
  padding: 30px 16px 16px 16px;
  border-bottom: 1px solid #eee;
}

/* Search */
.city-popup-overlay .city-search-box {
  position: relative;
}

.city-popup-overlay .city-search-box input {
  width: 100%;
  height: 46px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 50px 0 45px;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

.city-popup-overlay .city-search-icon {
  position: absolute;
  left: 15px;
  top: 11px;
  font-size: 18px;
  color: #999;
}

/* Clear Search */
.city-popup-overlay .search-clear-btn {
  position: absolute;
  right: 14px;
  top: 11px;
  width: 22px;
  height: 22px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  background: #d7d7d7;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: none;
}

/* Search Result */
.city-popup-overlay .search-results-wdt {
  display: none;
  max-height: 420px;
  overflow-y: auto;
  border-top: 1px solid #eee;
}

.city-popup-overlay .search-city-item {
  display: flex;
  gap: 15px;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
  transition: 0.3s;
}

.city-popup-overlay .search-city-item:hover {
  background: #f7f7f7;
}

.city-popup-overlay .search-city-icon {
  font-size: 18px;
  color: #777;
}

.city-popup-overlay .search-city-info h4 {
  margin: 0;
  font-size: 16px;
  color: #111;
}

.city-popup-overlay .search-city-info p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #777;
}

/* Content */
.city-popup-overlay .city-popup-content {
  padding: 25px;
}

.city-popup-overlay .city-title {
  text-align: center;
  font-size: 17px;
  color: #444;
  margin-bottom: 25px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Popular Cities */
.city-popup-overlay .popular-cities {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
}

.city-popup-overlay .city-item {
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.city-popup-overlay .city-item:hover {
  transform: translateY(-4px);
}

.city-popup-overlay .city-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.city-popup-overlay .city-item p {
  margin: 0;
  font-size: 15px;
  color: #444;
}

/* Other Cities */
.city-popup-overlay .other-cities-wdt {
  display: none;
  margin-top: 40px;
  height: 200px;
  overflow: auto;
}

.city-popup-overlay .other-cities-title {
  text-align: center;
  font-size: 17px;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 20px;
  font-weight: 600;
}

.city-popup-overlay .other-cities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 30px;
}

.city-popup-overlay .other-cities a {
  text-decoration: none;
  color: #777;
  font-size: 13px;
}

.city-popup-overlay .other-cities a:hover {
  color: #e50914;
}

/* Footer */
.city-popup-overlay .city-popup-footer {
  text-align: center;
  padding: 20px;
}

.city-popup-overlay .city-popup-footer button {
  background: none;
  border: none;
  color: #e50914;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
}

/* Close Popup */
.city-popup-overlay .city-popup-close {
  position: absolute;
  top: 0px;
  right: 0px;
  /* width: 30px; */
  width: 45px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff8c00;
  border-radius: 0px 0px 0px 20px;
  font-size: 22px;
  /* color: #666; */
  color: #fff;
  cursor: pointer;
  z-index: 999999;
  transition: 0.3s;
}

.city-popup-overlay .city-item,
.city-popup-overlay .search-city-item,
.city-popup-overlay .other-city-link {
  text-decoration: none;
}

@media (max-width: 992px) {
  .open-city-popup {
    top: 52px;
    right: 7%;
  }
}
@media (max-width: 905px) {
  .open-city-popup {
    top: 69px;
    right: 7%;
  }
}
@media (max-width: 768px) {
  .open-city-popup {
    top: 73px;
    right: 65px;
    padding: 4px 10px;
    font-size: 11px;
  }

  .city-popup-overlay .city-popup {
    width: 100%;
    max-width: 100%;
    /* height: 90vh; */
    height: 70vh;
    max-height: 90vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  /* Scroll Content */
  .city-popup-overlay .city-popup-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
  }

  /* Search Result Scroll */
  .city-popup-overlay .search-results-wdt {
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Popular Cities */
  .city-popup-overlay .popular-cities {
    gap: 18px;
    justify-content: flex-start;
  }

  .city-popup-overlay .city-item {
    width: 70px;
  }

  .city-popup-overlay .city-item img {
    width: 52px;
    height: 52px;
  }

  .city-popup-overlay .city-item p {
    font-size: 13px;
  }

  /* Other Cities */
  .city-popup-overlay .other-cities {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Footer */
  .city-popup-overlay .city-popup-footer {
    padding: 16px;
    border-top: 1px solid #eee;
    background: #fff;
  }

  .city-popup-overlay .popular-cities {
    gap: 20px;
  }

  .city-popup-overlay .other-cities {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .city-popup-overlay .city-popup {
    top: 54%;
  }
}

@media (max-width: 485px) {
  .city-popup-overlay .popular-cities {
    justify-content: flex-start;
    /* justify-content: center; */
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
  }
  .open-city-popup {
    top: 93px;
    right: 65px;
    padding: 4px 10px;
    font-size: 11px;
  }
}

.no-city-found {
  padding: 40px 20px;
  text-align: center;
  color: #666;
  font-size: 16px;
  font-family: "Jost", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Optional: Ek sad face ya icon add karne ke liye (CSS se) */
.no-city-found::before {
  content: "🔍"; /* Aap yahan koi icon ya emoji daal sakte hain */
  font-size: 30px;
  margin-bottom: 5px;
  opacity: 0.6;
}
