.mainheadbox ul {
  padding-left: 0px;
}

.mainheadbox ul li {
  list-style: none;
  text-align: end;
}

.mainheadbox ul li span {
  font-size: 12px;
  color: rgba(238, 77, 77, 1);
  font-weight: 600;
}

.loginnumbox {
  font-size: 20px;
  font-weight: 600;
}

.mainheadbox ul li:first-child {
  padding-right: 12px;
  border-right: 2px solid rgba(224, 224, 224, 1);
}

.loginsignupbtn {
  background: var(--dynamic-color);
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  width: 166px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.loginnumbox a {
  color: #000;
  text-decoration: none;
}

.headermenu button {
  border: none;
}

.headermenu .dropdown-toggle::before {
  display: none;
}

.headermenu ul {
  top: 47px !important;
  right: 0px !important;
}

.headermenu ul li:first-child {
  padding-right: 0px;
}

.headermenu ul li .dropdown-item {
  text-align: left;
}

.headermenu ul li .dropdown-item:hover {
  background: #ffeddc;
}

.dropstart .dropdown-toggle::before {
  display: none !important;
}

/* ===== Mobile Styles ===== */
@media (max-width: 991px) {
  .mainheadbox ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
  }

  .mainheadbox ul li:first-child {
    border-right: 0px;
    padding-right: 0px;
  }

  .mainheadbox ul li {
    width: 100%;
  }

  .loginnumbox {
    font-size: 14px;
  }

  .loginsignupbtn {
    width: 100%;
    justify-content: center;
  }

  .navbar-toggler {
    border: none;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280,0,0,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  .collapse:not(.show) {
    display: none !important;
  }

  .mainheadbox ul {
    margin-right: 0px !important;
    width: 100%;
  }


}

/* ===== Very Small Screens ===== */
@media (max-width: 480px) {
  .loginnumbox {
    flex-direction: column;
    align-items: flex-start;
  }

  .loginnumbox img {
    height: 16px;
  }

  .loginsignupbtn {
    font-size: 13px;
    padding: 7px 14px;
  }
}

.topitemsflx svg path {
  fill: var(--dynamic-color)
}



/* top flight routes new design */

.route-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  position: relative;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--dynamic-footer1), var(--dynamic-footer2));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.route-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.airline-chip {
  position: absolute;
  top: -18px;
  right: 18px;
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.airline-chip img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.route-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.city-code {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.route-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(to right,
      #cbd5e1,
      #cbd5e1 6px,
      transparent 6px,
      transparent 12px);
  margin: 0 10px;
  position: relative;
}

.route-line i {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dynamic-color);
  background: #ffffff;
  padding: 0 4px;
}

.price-box {
  margin-top: 14px;
}

.price-label {
  font-size: 13px;
  color: #64748b;
}

.price-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--dynamic-color);
}

.book-btn {
  margin-top: 6px;
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-weight: 700;
  background: #e0f2fe;
  color: var(--dynamic-color);
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.route-card:hover .book-btn {
  opacity: 1;
  transform: translateY(0);
  background: var(--dynamic-color);
  color: #ffffff;
  text-decoration: none;
}