body {
    background: #f8f9fa;
}

.nav-pills .nav-link {
    font-size: 1.1rem;
    border-radius: 0;
    border-left: 4px solid transparent;
    color: #495057;
    padding: 0.9rem 1.25rem;
    text-align: left;
}

.nav-pills .nav-link.active {
    background-color: white;
    border-left-color: #0d6efd;
    color: #0d6efd;
    font-weight: bold;
    box-shadow: 2px 0 5px rgba(13, 110, 253, 0.2);
}

.tab-content {
    background: white;
    border-radius: 0.3rem;
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.dropdown-box {
    position: absolute;
    width: 90%;
    max-width: 300px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 999;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.trip-form {
    display: none;
}

.trip-form.active {
    display: block;
}

@media (max-width: 768px) {
    .nav-pills {
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
    }

    .nav-pills .nav-link {
        flex: 1;
        text-align: center;
        border-left: none !important;
        border-bottom: 3px solid transparent;
    }

    .nav-pills .nav-link.active {
        border-left: none;
        border-bottom-color: #0d6efd;
    }

    .tab-content {
        margin-top: 1rem;
    }
}

.form-control-custom {
    height: 40px;
    padding: 0 15px;
    border-radius: 0;
    border: 2px solid #efefef;
    width: 100%;
    background: #f5f5f5;
    font-size: 14px;
    border-radius: 50px;
}

.custom-btn {
    border-color: #0d77fd;
    color: #0d6efd;
    background: #fff;
    white-space: nowrap;
}

.tour-style .tour-content-wrap {
    max-width: 385px;
}

.tour-thumb-style {
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
    border: 2px solid #0d2d8c;
    margin-top: 22px;
}

.tour-style .tour-thumb a::before {
    position: absolute;
    content: "";
    display: block;
    height: 100%;
    width: 385px;
    top: 0;
    left: 0;
    opacity: 0.8;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(180deg,
            rgba(28, 31, 57, 0) 17.61%,
            #0d1b2a 100%);
}

.tour-offer .team-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px 30px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tour-content-name {
    position: absolute;
    bottom: -30px;
    background: #0d1482;
    width: 85%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 7px 0;
    border: 3px solid #efb736;
    border-radius: 18px;
}

.white-text a {
    color: white;
}

.dropdown-menu {
    border: 1px solid #ccc;
    border-radius: 0;
}

/* search show */
.tab-button.active {
    background-color: #002366;
    color: #fff;
    border-color: #002366;
}

.tab-button {
    min-width: 80px;
    border-radius: 0;
    text-align: center;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
}

.day-name {
    display: block;
    font-weight: bold;
    font-size: 0.8rem;
}

.date-number {
    display: block;
    font-size: 0.95rem;
}

.filter-controls {
    background-color: #fff;
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.flight-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
}

.header-row {
    background: #f5f5f5;
    font-weight: bold;
    padding: 8px 0;
    text-align: center;
    font-size: 0.9rem;
}

.flight-time {
    font-size: 1.3rem;
    font-weight: bold;
}

.strike-text {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8rem;
}

.airline-logo {
    width: 35px;
}

.btn-nonstop {
    border: 1px solid black;
    background: white;
    font-size: 0.85rem;
    padding: 2px 8px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .flight-time {
        font-size: 1.1rem;
    }

    .tab-button {
        min-width: 70px;
        font-size: 0.8rem;
    }

    .header-row {
        display: none;
    }

    .flight-card .row>div {
        margin-bottom: 10px;
    }

    .filter-controls {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-controls select,
    .filter-controls button {
        width: 100%;
    }
}

.flight-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.flight-time {
    font-size: 1.5rem;
    font-weight: bold;
}

.strike-text {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.airline-logo {
    width: 30px;
}

.btn-stop {
    border: 1px solid black;
    background: white;
    font-size: 0.9rem;
    padding: 3px 10px;
}

.duration-section {
    text-align: center;
}

.arrow-line {
    width: 100%;
    height: 1px;
    background-color: black;
    position: relative;
    margin: 8px 0;
}

.arrow-line::after {
    content: "";
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid black;
}

.transit-text {
    font-size: 0.85rem;
    color: gray;
}

.duration-section .plane-icon {
    font-size: 1rem 16px;
    color: purple;
}

.arrow-line::after {
    content: "";
    position: absolute;
    right: 0;
    top: -5px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid black;
}

@media (max-width: 767.98px) {
    #v-pills-tab .nav-link {
        width: 100%;
    }
    .nav-pills {
        flex-direction: column !important;
    }
}
 .trip-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
  }

  .trip-thumb img {
    width: 100%;
    height: auto;
    display: block;
  }

  .trip-tag {
    position: absolute;
    top: -1px;
    left: -5px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    background: #00007d;
    border-top-left-radius: 5px;
    width: 124px;
    border: 1px solid #ffffff;
  }

  .trip-tag-border {
    display: inline-block;
    padding: 3px 11px;
    position: relative;
    color: white;
    text-decoration: none;
  }

  .trip-tag-border::after {
    content: '';
    position: absolute;
    border-bottom-left-radius: 4px;
    left: 1px;
    bottom: -15px;
    border-top: 16px solid #00007d;
    border-right: 16px solid transparent;
    transform: scale(-1) rotate(-90deg);
  }

  .trip-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
  }

  .trip-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  }

  .trip-title a {
    color: white;
    text-decoration: none;
  }

  .trip-title a:hover {
    text-decoration: underline;
  }

    .section-header {
      background-color: #e9ecef;
      padding: 10px;
      font-weight: bold;
      text-align: center;
      border: 1px solid #ccc;
    }

    .accordion-button:not(.collapsed) {
      background-color: #e2e6ea;
    }

    .card-header {
      font-weight: bold;
    }

    .info-box {
      background-color: #f8f9fa;
      border: 1px solid #ddd;
      padding: 10px;
      margin-bottom: 20px;
    }

    .img-sample {
      width: 100%;
      height: auto;
    }

    .card-header {
      font-weight: bold;
      background: #ccc;
      font-weight: bold;
      padding: 10px;
      font-size: 16px;
      min-height: 40px;
    }

    .flag-img {
      width: 100px;
      height: auto;
    }

    iframe{
      width: 100%;
      border: 1px solid #ccc;
      border-radius: 0.5rem;
    }
