.container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  max-height: 0;
  transition: max-height 0.4s ease-in-out, background-color 0.4s ease-in-out;
}

.container .wrapper #overlay {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  right: 0;
  z-index: 99;
  display: flex;
}

.container .wrapper #overlay h2 {
  position: absolute;
  right: 10px;
  background: #fff;
  top: 10px;
  height: 35px;
  width: 35px;
  color: #000;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  border-radius: 50%;
  cursor: pointer;
}

.container .wrapper .d-none1 {
  display: none !important;
}

.container.proBack {
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.container.stickyBack {
  background: #fff;
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  max-height: 100px;
}

.container.stickyBack .wrapper .header .headerleft button h2 {
  color: #0678b1;
}

.container.stickyBack .wrapper .header .headerleft .cityDrop button h3 {
  color: #000;
}

.container .wrapper .header .headerleft .cityDrop .d-none {
  display: none;
}

.container.stickyBack .wrapper .header .headerleft .cityDrop button i {
  color: #666;
}

.container.stickyBack .wrapper .header .headerleft .logo a img {
  filter: none;
}

.container.stickyBack .wrapper .header .headerRight ul li:last-child a {
  background: #0678b1;
  border: 1px solid #0678b1;
  color: #fff;
}

.container.stickyBack .wrapper .header .headerRight ul li a {
  color: #000;
}

.container.stickyBack .wrapper .header .headerRight ul li a img {
  filter: none;
}

.container.stickyBack .wrapper .header .headerRight ul li a strong {
  opacity: 1;
}

.container.stickyBack .wrapper .header .headerleft button {
  color: #000;
}

/* Wrapper */
.container .wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Sidebar */
.container .wrapper .sidebar {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: 6px 0 12px rgba(0, 0, 0, 0.08);
  transition: left 0.4s ease-in-out, box-shadow 0.3s ease-in-out;
  z-index: 100;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding: 0;
}

.container .wrapper .sidebar.active {
  left: 0;
  box-shadow: 8px 0 20px rgba(0, 0, 0, 0.12);
}

/* Header */
.container .wrapper .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

/* Header Left */
.container .wrapper .header .headerleft {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  min-width: 0;
}

/* Button in Header Left */
.container .wrapper .header .headerleft button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 25px;
  color: #fff;
}

.container .wrapper .header .headerleft button h2 {
  color: #fff;
  font-size: 30px;
  margin: 0;
}

/* Logo */
.container .wrapper .header .headerleft .logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.container .wrapper .header .headerleft .logo a img {
  filter: brightness(0) invert(1);
  max-height: 50px;
  width: auto;
}

.container .wrapper .header .headerleft .logo a .icon {
  border: 4px solid #0678b1;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .wrapper .header .headerleft .logo a .icon i {
  color: #0678b1;
  font-size: 20px;
}

.container .wrapper .header .headerleft .logo a h2 {
  font-size: 28px;
  color: #0678b1;
  margin: 0;
}

.container .wrapper .header .headerleft .logo a h2 span {
  color: orange;
}

/* City Drop */
.container .wrapper .header .headerleft .cityDrop {
  position: relative;
  margin-left: 20px;
}

.container .wrapper .header .headerleft .cityDrop button {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.container .wrapper .header .headerleft .cityDrop button h3 {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.container .wrapper .header .headerleft .cityDrop button i {
  font-size: 15px;
  color: #fff;
  transition: transform 0.3s ease;
}

.container .wrapper .header .headerleft .cityDrop button i.drop {
  transform: rotate(180deg);
}

/* Header Right */
.container .wrapper .header .headerRight ul {
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.container .wrapper .header .headerRight ul li a {
  display: flex;
  gap: 5px;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  color: #fff;
  position: relative;
}

.container .wrapper .header .headerRight ul li a img {
  width: 25px;
  height: 25px;
  object-fit: cover;
  filter: brightness(0) invert(1);
}

.container .wrapper .header .headerRight ul li a strong {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0678b1;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 0 10px;
  border-radius: 4px;
  opacity: 0;
  text-transform: capitalize;
}

.container .wrapper .header .headerRight ul li:last-child a {
  background: #f9fafb;
  border: 1px solid #f9fafb;
  color: #444;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  justify-content: center;
}

.container .wrapper .header .headerRight ul li:last-child a i {
  font-size: 22px;
}

/* Border line at bottom */
.container .borderLine {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--progress, 0%);
  height: 4px;
  background: #0678b1;
}

/* Hide both by default */
.desktopCityDropdown,
.mobileCityDrop {
  display: none;
}

/* Desktop & tablet: show dropdowncity */
@media (min-width: 769px) {
  .desktopCityDropdown {
    display: block;
  }
}

/* Mobile: show mobiledrop */
@media (max-width: 768px) {
  .mobileCityDrop {
    display: block;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .container {
    max-height: 100px;
    background: #fff;
    transition: none;
  }

  .container .wrapper {
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding: 0;
  }

  .container .wrapper .sidebar {
    width: 300px;
    left: -300px;
  }

  .container .wrapper .header {
    padding: 5px 10px;
  }

  .container .wrapper .header .headerleft {
    gap: 5px;
  }

  .container .wrapper .header .headerleft .icon {
    color: #000;
  }

  .container .wrapper .header .headerleft .logo a {
    gap: 8px;
  }

  .container .wrapper .header .headerleft .logo a img {
    filter: none;
  }

  .container .wrapper .header .headerleft .logo a .icon {
    border-color: #0678b1;
    min-width: 40px;
    height: 40px;
    width: 40px;
  }

  .container .wrapper .header .headerleft .logo a .icon i {
    color: #0678b1;
  }

  .container .wrapper .header .headerleft .logo a h2 {
    font-size: 20px;
    color: #0678b1;
    white-space: nowrap;
    margin: 0;
  }

  .container .wrapper .header .headerleft .cityDrop button h3 {
    color: #000;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .container .wrapper .header .headerleft .cityDrop {
    margin-left: 0;
  }

  .container .wrapper .header .headerleft .cityDrop button i {
    color: #000;
  }

  .container .wrapper .header .headerRight ul li:first-child a {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1299px) {
  .container .wrapper {
    width: 100%;
  }

  .container .wrapper .header {
    padding: 5px 10px;
  }
}
