﻿body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

    /* Allow body scroll when modal is tall */
    body.modal-open {
        overflow-y: auto !important;
    }

.top-header {
    background: white;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #d32f2f;
}

    .logo span {
        color: #1976d2;
    }

.top-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;    
    font-size: 14px;
}

.lienamount-section {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    background: #ffecec;
    border-radius: 6px;
    color: red;
}

.lien-amount {
    font-weight: 600;
    color: red;
}

.wallet-section {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 6px;
}

.wallet-amount {
    font-weight: 600;
    color: #2e7d32;
}

.wallet-ledger-icon {
    cursor: pointer;
    color: #1976d2;
    font-size: 18px;
    margin-left: 8px;
    transition: all 0.3s ease;
}

    .wallet-ledger-icon:hover {
        transform: scale(1.2);
        color: #1565c0;
    }

.refresh-icon {
    cursor: pointer;
    color: #666;
    font-size: 16px;
    margin-left: 8px;
}

.load-wallet-icon {
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
    margin-left: 8px;
}

    .load-wallet-icon:hover {
        background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    }

    .load-wallet-icon:active {
        transform: scale(0.95);
    }

.user-dropdown {
    position: relative;
}

.user-name {
    cursor: pointer;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 6px;
    font-weight: 500;
}

    .user-name:hover {
        background: #e0e0e0;
    }

.dropdown-menu-custom {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 180px;
    display: none;
    z-index: 1000;
}

    .dropdown-menu-custom.show {
        display: block;
    }

.dropdown-item-custom {
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

    .dropdown-item-custom:last-child {
        border-bottom: none;
    }

    .dropdown-item-custom:hover {
        background: #f5f5f5;
    }

.search-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
    color: white;
}

.search-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.search-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: nowrap;
}

.search-field {
    flex: 1;
    min-width: 180px;
}

    .search-field label {
        display: block;
        margin-bottom: 5px;
        color: #333;
        font-weight: 500;
        font-size: 14px;
    }

.content-body-card {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}


.control-label {
    display: block;
    margin-bottom: 3px;
    color: #555;
    font-weight: 500;
    font-size: 12px;
}


.input-wrapper {
    position: relative;
}

.swap-icon-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.swap-icon {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .swap-icon:hover {
        background: #667eea;
        color: white;
        transform: rotate(180deg);
    }

.date-shortcuts {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.date-shortcut-btn {
    padding: 9px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    white-space: nowrap;
    height: 38px;
    display: flex;
    align-items: center;
}

    .date-shortcut-btn:hover {
        background: #e0e0e0;
    }

.search-btn-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.search-btn {
    padding: 9px 40px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    height: 38px;
    display: flex;
    align-items: center;
}

    .search-btn:hover {
        background: #b71c1c;
    }

.typeahead-dropdown {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 350px;
    overflow-y: auto;
    width: 100%;
    display: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    margin-top: 4px;
}

.typeahead-header {
    padding: 10px 16px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.typeahead-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

    .typeahead-item:last-child {
        border-bottom: none;
    }

    .typeahead-item:hover {
        background: #f0f7ff;
    }

.typeahead-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.typeahead-content {
    flex: 1;
}

.typeahead-city {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.typeahead-state {
    font-size: 12px;
    color: #999;
}

.filters-section {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    position: sticky;
    top: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-group {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

    .filter-group:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.filter-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

    .filters-header h5 {
        margin: 0;
        font-weight: 700;
        color: #333;
        font-size: 18px;
    }

.clear-all-btn {
    background: none;
    border: none;
    color: #667eea;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

    .clear-all-btn:hover {
        text-decoration: underline;
    }

.filter-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.filter-card {
    padding: 6px 8px;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: white;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .filter-card:hover {
        border-color: #667eea;
        background: #f0f7ff;
    }

    .filter-card.active {
        border-color: #667eea;
        background: #fffbea;
    }

.filter-card-icon {
    font-size: 24px;
    margin-bottom: 2px;
    line-height: 1;
}

.filter-card-label {
    font-size: 10px;
    font-weight: 500;
    color: #555;
    line-height: 1.2;
}

.price-range-container {
    padding: 5px 0;
}

.price-range-slider {
    width: 100%;
    height: 5px;
    border-radius: 3px;
    background: #e8e8e8;
    position: relative;
    margin: 18px 0 15px 0;
}

.price-range-track {
    height: 100%;
    background: #667eea;
    border-radius: 3px;
    position: absolute;
}

.price-range-handle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: absolute;
    top: -6.5px;
    cursor: pointer;
    transition: transform 0.1s;
}

    .price-range-handle:hover {
        transform: scale(1.15);
    }

.price-range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.filter-group .form-control, .filter-group .form-control-sm {
    font-size: 13px;
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    height: auto;
}

    .filter-group .form-control:focus, .filter-group .form-control-sm:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
        outline: none;
    }

.sort-pills {
    margin-bottom: 20px;
}

.sort-pill {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

    .sort-pill:hover {
        background: #f8f9fa;
    }

    .sort-pill.active {
        background: #667eea;
        color: white;
        border-color: #667eea;
    }

    .sort-pill.sort-asc {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .sort-pill.sort-desc {
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    }

.operator-card {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.operator-header {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .operator-header:hover {
        background: #e9ecef;
    }

.operator-name {
    font-weight: 600;
    font-size: 16px;
}

.operator-stats {
    font-size: 13px;
    color: #666;
}

.bus-list {
    display: none;
}

    .bus-list.expanded {
        display: block;
    }

.bus-item {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 8px;
    background: white;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

    .bus-item:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }

.bus-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: #333;
    line-height: 1.3;
}

.bus-type {
    display: inline-block;
    padding: 4px 10px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    font-weight: 500;
}

.bus-berth-info {
    color: #666;
    font-size: 13px;
    margin-top: 2px;
}

.offer-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #FFF3E0;
    color: #E65100;
    border-radius: 6px;
    font-size: 12px;
    margin: 6px 8px 6px 0;
    font-weight: 500;
    border: 1px solid #FFE0B2;
}

    .offer-badge.pink {
        background: #FCE4EC;
        color: #C2185B;
        border-color: #F8BBD0;
    }

    .offer-badge.purple {
        background: #F3E5F5;
        color: #7B1FA2;
        border-color: #E1BEE7;
    }

.rating-badge {
    background: #4CAF50;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .rating-badge.yellow-rating {
        background: #FFC107;
        color: #333;
    }

.review-count {
    color: #666;
    font-size: 12px;
    margin-left: 4px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #666;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.2s;
}

    .icon-btn:hover {
        background: #f5f5f5;
        border-color: #999;
    }

.badge-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #E3F2FD;
    color: #1976D2;
    border-radius: 6px;
    font-size: 12px;
    margin: 0 6px;
    font-weight: 500;
}

.price-container {
    text-align: right;
}

.save-tag {
    background: #FFEB3B;
    color: #F57C00;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
}

.price-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.price-final {
    background: #FFEB3B;
    color: #F57C00;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    display: inline-block;
}

.price-label {
    font-size: 14px;
    color: #666;
}

.seats-left {
    color: #4CAF50;
    font-size: 12px;
    margin-top: 10px;
    font-weight: 600;
    display: block;
    text-align: center;
}

.bus-time {
    font-size: 18px;
    font-weight: 600;
}

.bus-duration {
    color: #666;
    font-size: 13px;
}

.journey-timeline {
    display: flex;
    align-items: center;
    gap: 15px;
}

.journey-point {
    text-align: center;
}

.journey-time {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.journey-city {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.journey-line-wrapper {
    flex: 1;
    text-align: center;
    position: relative;
}

.journey-line {
    height: 2px;
    background: linear-gradient(to right, #667eea, #764ba2);
    position: relative;
}

.journey-duration {
    font-size: 12px;
    color: #666;
    background: white;
    padding: 2px 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.bus-rating {
    color: #ff9800;
    font-weight: 600;
}

.bus-rating-yellow {
    color: #FFD700;
    font-weight: 600;
    background: #FFF9E6;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

.discount-tag {
    background: #FFE5E5;
    color: #E74C3C;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 8px;
}

.view-seats-btn {
    background: #E17168 !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    transition: all 0.2s !important;
    width: 100%;
}

    .view-seats-btn:hover {
        background: #D15F56 !important;
    }

.price-seats-container {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    display: inline-block;
    max-width: 200px;
    margin-bottom: -45px;
}

.amenity-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 11px;
    margin: 2px;
}

.seat-modal .modal-dialog {
    max-width: 1200px;
    max-height: none;
    margin: 0.5rem auto;
}

.seat-layout {
    display: grid;
    gap: 6px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

    .seat-layout.layout-2x2 {
        grid-template-columns: repeat(5, 38px);
    }

    .seat-layout.layout-sleeper {
        grid-template-columns: repeat(4, 45px);
    }

    .seat-layout.layout-mixed {
        grid-template-columns: repeat(5, 40px);
    }

.seat {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.2s;
    background: white;
    min-width: 38px;
    min-height: 38px;
}

    .seat.sleeper {
        aspect-ratio: 2/1;
    }

    .seat.available:hover {
        border-color: #667eea;
        transform: scale(1.1);
    }

    .seat.selected {
        background: #667eea;
        color: white;
        border-color: #667eea;
    }

    .seat.booked {
        background: #e0e0e0;
        color: #999;
        cursor: not-allowed;
    }

    .seat.ladies {
        background: #fce4ec;
        border-color: #f48fb1;
    }

    .seat.empty {
        border: none;
        cursor: default;
    }

.legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-box {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.results-section {
    display: none;
    margin-top: 30px;
}

.seatfilterbtns {
    font-size: 12px !important;
}

/* Bus Loader Styles */
.bus-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.15);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(1px);
}

.bus-loader-container {
    text-align: center;
    position: relative;
}

.bus-loader-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.bus-icon-loader {
    width: 250px;
    height: 250px;
    display: block;
    animation: busMove 2s ease-in-out infinite;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4));
}

@keyframes busMove {
    0%, 100% {
        transform: translateX(-70px);
    }

    50% {
        transform: translateX(70px);
    }
}

.loader-text {
    margin-top: 25px;
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loader-dots {
    display: inline-block;
    width: 60px;
    text-align: left;
}

    .loader-dots::after {
        content: '...';
        animation: dots 1.5s steps(4, end) infinite;
    }

@keyframes dots {
    0%, 20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%, 100% {
        content: '...';
    }
}

.price-filter-btn {
    padding: 6px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s;
    cursor: pointer;
}

    .price-filter-btn:hover {
        border-color: #667eea;
        background: #f0f7ff;
        color: #667eea;
    }

    .price-filter-btn.active {
        background: #667eea;
        color: white;
        border-color: #667eea;
        font-weight: 600;
    }

#seatLayout {
    max-width: 100%;
    overflow-x: auto;
}

.seat-modal .modal-body {
    overflow-x: hidden;
    overflow-y: visible;
    padding: 15px;
}

/* Tabs Active State */
.nav-tabs .nav-link.active {
    background: white !important;
    color: #667eea !important;
    border-bottom: 3px solid #667eea !important;
    font-weight: 700 !important;
}

.nav-tabs .nav-link {
    transition: all 0.3s;
}

    .nav-tabs .nav-link:hover {
        background: #f0f7ff;
        color: #667eea;
    }

/* Hide scrollbars completely while maintaining scroll functionality */
#boardingPointsContainer,
#droppingPointsContainer,
.seat-modal .col-md-7,
.seat-modal .col-md-7 > div[style*="overflow-y: auto"],
#passengerModal .modal-body,
#busDetailsContent,
#boardingPointsList,
#droppingPointsList {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    #boardingPointsContainer::-webkit-scrollbar,
    #droppingPointsContainer::-webkit-scrollbar,
    .seat-modal .col-md-7::-webkit-scrollbar,
    .seat-modal .col-md-7 > div[style*="overflow-y: auto"]::-webkit-scrollbar,
    #passengerModal .modal-body::-webkit-scrollbar,
    #busDetailsContent::-webkit-scrollbar,
    #boardingPointsList::-webkit-scrollbar,
    #droppingPointsList::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
        width: 0;
        height: 0;
    }

/* Modal scrolling control */
.seat-modal .modal-content {
    max-height: none;
    display: flex;
    flex-direction: column;
}

.seat-modal .modal-dialog {
    display: flex;
    align-items: flex-start;
}

/* Seats area scrolls with modal body */
.seat-modal .col-md-7 {
    overflow-y: visible;
    overflow-x: hidden;
}

/* Right side boarding/dropping scrolls with modal body */
.seat-modal .col-md-5 {
    overflow-y: visible;
}

/* Keep modal footer visible and fixed at bottom */
.seat-modal .modal-footer {
    flex-shrink: 0;
    padding: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Keep modal header visible and fixed at top */
.seat-modal .modal-header {
    flex-shrink: 0;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

/* Bus Details Modal Tabs */
.bus-detail-tab {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    background: #f8f9fa;
}

    .bus-detail-tab:hover {
        background: #e9ecef;
        color: #333;
    }

    .bus-detail-tab.active {
        background: white;
        color: #667eea;
        border-bottom: 3px solid #667eea;
        font-weight: 600;
    }

/* Bus Details Content Area */
#busDetailsContent {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
}

#boardingPointsList,
#droppingPointsList {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
}

/* View More Buttons */
#viewMoreBoarding,
#viewMoreDropping {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: white;
    border: 2px solid #667eea;
    border-radius: 6px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

    #viewMoreBoarding:hover,
    #viewMoreDropping:hover {
        background: #667eea;
        color: white;
    }

@media (max-width: 768px) {
    .filters-section {
        position: static;
    }

    .seat-modal .modal-dialog {
        max-width: 95%;
        max-height: none;
        margin: 0.3rem auto;
    }

    .seat-modal .modal-content {
        max-height: none;
    }

    .seat-modal .modal-body {
        overflow-y: visible;
    }

    .seat-layout.layout-2x2 {
        grid-template-columns: repeat(5, 32px);
    }

    .seat {
        min-width: 32px;
        min-height: 32px;
        font-size: 9px;
    }

    .search-row {
        flex-direction: column;
    }

    .search-field, .swap-icon-wrapper, .date-shortcuts, .search-btn-wrapper {
        width: 100%;
    }

    
}



/*Below css for TravelTrack and TravelHistory*/

.breadcrumb {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 30px;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .breadcrumb a {
        color: white;
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.2s;
    }

        .breadcrumb a:hover {
            opacity: 1;
            text-decoration: underline;
        }

    .breadcrumb .current {
        font-weight: bold;
        opacity: 1;
    }

.page-indicator {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 15px;
}


.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .radio-option input[type="radio"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #667eea;
    }

    .radio-option label {
        font-size: 14px;
        cursor: pointer;
        color: #333;
    }

.form-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.btn-search {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

    .btn-search:hover {
        background: #c82333;
    }

.grid-container {
    max-width: 1200px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.grid-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

th {
    padding: 6px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
}

tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

    tbody tr:hover {
        background: #f8f9fa;
    }

td {
    padding: 6px;
    font-size: 12px;
    color: #555;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

    .status.confirmed {
        background: #d4edda;
        color: #155724;
    }

    .status.pending {
        background: #fff3cd;
        color: #856404;
    }

    .status.cancelled {
        background: #f8d7da;
        color: #721c24;
    }

    .status.success {
        background: #d4edda;
        color: #155724;
    }

    .status.failed {
        background: #f8d7da;
        color: #721c24;
    }

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.page-info {
    color: #666;
    font-size: 14px;
}

.page-buttons {
    display: flex;
    gap: 5px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

    .page-btn:hover:not(:disabled) {
        background: #f8f9fa;
    }

    .page-btn.active {
        background: #667eea;
        color: white;
        border-color: #667eea;
    }

    .page-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.no-data {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}


/*end of travel track and travel history*/

/* Discount Save Tag Styling */
.discount-save-tag {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.container{
    margin-top:10px;
}


.NumberToWordsoutput {
    margin-top: 12px;
    font-size: 12px;
    font-weight: bold;
    color: orangered;
}