/* === Root Variables === */
:root {
    --primary-color: #d53333;
    --primary-hover-color: #c42e2e;
    --secondary-color: #6c757d;
    --background-color: #f4f7f9;
    --text-color: #212529;
    --border-color: #dee2e6;
    --white-color: #fff;
    --female-color: #ff4d94;
    --male-color: #0d6efd;
    --font-family: 'Inter', sans-serif;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* === Base Styles === */
body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
}

.bus-booking-wrapper,.ticket-purchase-section {
    margin-top: 70px;
    
 
}
.container {
    max-width: 1200px;
    margin: 0 auto;
   
}

/* === Step Navigation === */
.bus-header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white-color);
    border-radius: 16px; /* Softer radius */
    padding: 20px 60px; /* Increased padding for more breathing room */
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Softer, more subtle shadow */
    border: 1px solid #f1f3f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bus-nav-item {
    display: flex;
    align-items: center;
    color: #909aa3; /* Refined inactive color */
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.bus-nav-item[style*="cursor: pointer"]:hover {
    color: #343a40; /* Darker text on hover */
}

.bus-nav-number {
    width: 28px; /* Slightly smaller for a tighter look */
    height: 28px;
    border-radius: 50%;
    background-color: #f1f3f5;
    color: #909aa3;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600; /* Semi-bold numbers */
    margin-right: 10px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.bus-nav-item.active .bus-nav-number {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 700;
}

.bus-nav-item.active .bus-nav-text {
    color: var(--text-color);
    font-weight: 600; /* Semi-bold active text */
}

.bus-nav-item.active {
    color: var(--text-color);
}

.bus-nav-connector {
    flex-grow: 1;
    height: 1px;
    background-color: #e9ecef;
    margin: 0 50px; /* Wider margin for better separation */
}

/* === Trip Header Card === */
.bus-trip-header-card {
    display: flex;
    justify-content: flex-start; /* Align items to the start */
    align-items: center;
    background-color: var(--white-color);
    padding: 15px 25px; /* Refined padding */
    border-radius: 14px; /* Slightly more rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); /* More subtle shadow */
    margin-bottom: 30px;
    border: 1px solid #f0f2f5; /* Lighter border */
    gap: 20px; /* Add gap between direct children */
}

.bus-trip-header-card .bus-route {
    flex-grow: 1; /* Allow route to take up available space */
}

.bus-change-route-btn {
    background-color: #f0f2f5; /* Lighter grey background */
    color: #495057; /* Darker text */
    border: none; /* No border */
    padding: 10px 20px;
    border-radius: 10px; /* Softer radius */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap; /* Prevent button text from wrapping */
}

.bus-change-route-btn:hover {
    background-color: #e9ecef;
    color: #212529;
}

/* === Route Change Form === */
.bus-route-change-form {
    background-color: var(--white-color);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    border: 1px solid #f1f3f5;
}

.bus-route-change-form h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
}

.bus-route-change-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.bus-route-change-form .form-group {
    display: flex;
    flex-direction: column;
}

.bus-route-change-form .form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.bus-route-change-form .form-control {
    border: none;
    border-bottom: 2px solid #e9ecef;
    padding: 10px 5px;
    font-size: 1rem;
    transition: border-color 0.2s ease-in-out;
}

.bus-route-change-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.bus-route-change-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.bus-route-change-form .btn {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.bus-route-change-form .btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--border-color);
}

.bus-route-change-form .btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.bus-route-change-form .btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.bus-route-change-form .btn-primary:hover {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
}

/* === Trip Header === */
.bus-trip-header {
    display: flex;
    align-items: center;
    gap: 15px;
    /* This rule is now redundant for the card, but might be used elsewhere */
}

.bus-direction-text {
    background-color: #e7f1ff;
    color: var(--primary-color);
    padding: 8px 14px; /* Slightly larger padding */
    border-radius: 8px;
    font-weight: 600; /* semi-bold */
    font-size: 0.95rem;
    flex-shrink: 0; /* Prevent shrinking */
}

.bus-route {
    font-size: 1.4rem; /* Larger font size */
    font-weight: 600; /* Bolder */
    color: #212529; /* Main text color */
    white-space: nowrap; /* Prevent wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === Date Selection - Resimde Olduğu Gibi === */
.bus-date-selection {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    gap: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.bus-date-items {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    scroll-behavior: smooth;
    min-width: 0;
}

.bus-date-items::-webkit-scrollbar {
    display: none;
}

.bus-date-item {
    background: #fff;
    border: none;
    border-right: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 16px 20px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    flex: 1;
    min-width: 100px;
    color: #333;
}

.bus-date-item:last-child {
    border-right: none;
}

.bus-date-item:hover {
    background: #f0f0f0;
    transform: none;
    box-shadow: none;
}

.bus-date-item.active {
    background-color: #dc0a0a;
    color: #fff;
    border-color: #dc0a0a;
    box-shadow: none;
    transform: none;
    border-radius: 12px;
}

.bus-date-item .day-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: block;
}

.bus-date-item .day-month {
    font-weight: 400;
    font-size: 0.85rem;
    color: #666;
    opacity: 0.9;
}

.bus-date-item.active .day-month {
    color: #fff;
    opacity: 1;
}

.bus-date-item.active .day-month {
    color: rgba(255, 255, 255, 0.8);
}

.bus-date-nav-btn {
    background: linear-gradient(135deg, #d53333 0%, #b82b2b 100%);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 12px;
    color: #fff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    min-width: 44px;
    height: 44px;
}

.bus-date-nav-btn:hover {
    background: linear-gradient(135deg, #b82b2b 0%, #991f1f 100%);
    color: #fff;
}

/* === Trip List === */
.bus-trip-list-section {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
    padding: 0;
}

/* Minimize table to single row view */
.bus-trip-table-wrapper {
    max-height: 200px;
    overflow-y: auto;
}

.bus-trip-table-header {
    display: none; /* Hide header for cleaner look */
}

.bus-trip-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f3f5;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.bus-trip-item:last-child {
    border-bottom: none;
}

.bus-trip-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Minimalist trip info layout */
.bus-trip-times {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}

.bus-trip-times .bus-departure-hour {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
}

.bus-trip-times .bus-trip-duration {
    font-size: 0.8rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

/* Hide bus type text, show only parentheses content */
.bus-trip-type .bus-type-text {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.bus-trip-type .bus-type-text::before {
    content: "(";
}

.bus-trip-type .bus-type-text::after {
    content: ")";
}

/* Hide everything except what's inside parentheses */
.bus-trip-type .bus-type-text {
    text-indent: -9999px;
    position: relative;
}

.bus-trip-type .bus-type-text::before {
    content: "(2+1)";
    text-indent: 0;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.bus-trip-amenities {
    display: flex;
    flex-direction: row;
    gap: 8px;
    font-size: 1rem;
    opacity: 0.7;
    justify-content: center;
}

.bus-trip-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    min-width: 80px;
}

.bus-select-btn {
    margin-left: auto;
}

.bus-select-text {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(213, 51, 51, 0.2);
}

.bus-select-text:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(213, 51, 51, 0.3);
}

.bus-night-notice {
    padding: 12px 0;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    background-color: #2c3e72;
    border-radius: 0;
    margin: 12px 0;
    font-weight: 500;
}

/* Satır içi gece bilgisi */
.inline-night-info {
    background: #2c3e72;
    color: #fff;
    padding: 8px 20px;
    font-size: 0.85rem;
    text-align: left;
}

.inline-night-info td {
    padding: 8px 20px !important;
}

/* === Modals === */
.bus-gender-modal, .bus-warning-modal, .bus-discount-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.bus-modal-content {
    background-color: var(--white-color);
    margin: auto;
    padding: 35px 40px;
    border: none;
    width: 90%;
    max-width: 520px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.bus-gender-modal.show .bus-modal-content,
.bus-warning-modal.show .bus-modal-content,
.bus-discount-modal.show .bus-modal-content {
    transform: scale(1);
}

.bus-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f5;
    margin-bottom: 25px;
}

.bus-modal-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
}

.bus-modal-close {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
    background-color: #f8f9fa;
}

.bus-modal-close:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}

.bus-modal-body {
    margin-bottom: 30px;
    line-height: 1.6;
}

.bus-modal-body p {
    margin: 0 0 15px 0;
    color: var(--text-color);
    font-size: 1rem;
}

.bus-modal-body p:last-child {
    margin-bottom: 0;
}

.bus-modal-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.bus-modal-btn {
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bus-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.bus-modal-continue {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover-color) 100%);
    color: var(--white-color);
}

.bus-modal-continue:hover {
    background: linear-gradient(135deg, var(--primary-hover-color) 0%, #b02626 100%);
}

.bus-modal-cancel {
    background-color: #f8f9fa;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.bus-modal-cancel:hover {
    background-color: #e9ecef;
    border-color: var(--secondary-color);
}

.bus-modal-discount {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: var(--white-color);
}

.bus-modal-discount:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #17a2b8 100%);
}
.bus-continue-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.bus-continue-btn:disabled {
    background-color: var(--secondary-color);
    cursor: not-allowed;
}

/* === Responsive === */
@media (max-width: 768px) {
    .bus-nav-text {
        display: none;
    }
    .bus-trip-table-header, .bus-trip-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }
    .bus-trip-item > div {
        border-bottom: 1px solid var(--border-color);
        padding: 5px 0;
    }
    .bus-select-btn {
        padding-top: 10px;
    }

    .bus-date-item .day-name{
        font-size:12px;
    }
}

/* === Seat Selection Area === */
.bus-seat-selection-area {
    display: none; /* Initially hidden */
    margin-top: 20px;
    background: var(--white-color);
    border-radius: 16px;
    padding: 0; /* Remove padding for full control */
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    border: 1px solid #f0f2f5;
}

/* Top Info Bar */
.bus-info .bus-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}
.bus-info .info-group {
    display: flex;
    align-items: center;
    gap: 15px;
}
.bus-company-logo {
    height: 34px;
}

/* Logo yerine API'den gelen sefer özelliği yazısı (sefer listesinde) */
.bus-trip-feature-text{
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    background: var(--white-color);
    line-height: 1;
    white-space: nowrap;
}
.bus-close-btn {
    background-color: #f0f2f5;
    color: #495057;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}


/* === Seat Selection Summary Bar === */
.seat-summary-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #d53333 0%, #b82b2b 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(213, 51, 51, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 900;
    backdrop-filter: blur(10px);
    display: none;
}

.seat-summary-bar.show {
    display: block;
}

.seat-summary-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.summary-info {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.summary-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.summary-route {
    font-size: 1.2rem;
    font-weight: 800;
}

.summary-time {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.summary-date {
    font-size: 0.8rem;
    opacity: 0.9;
    color: #fff;
}

.summary-trip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-seats {
    font-size: 0.85rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
    color: #fff;
}

.summary-seats.multiple {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.summary-departure,
.summary-return {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding-left: 12px;
}

.summary-return {
    border-left-color: rgba(255, 255, 255, 0.5);
}

/* Gidiş ve Dönüş yan yana */
.summary-departure,
.summary-return {
    display: inline-flex;
    flex-direction: column;
}

.summary-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.summary-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.summary-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 1rem;
}

.summary-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.summary-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.summary-btn-continue {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    color: #d53333;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.summary-btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
}

/* === Sefer Bilgileri Detay Stilleri === */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.bus-trip-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #d53333;
    font-size: 0.9rem;
}

.bus-trip-detail-item strong {
    font-weight: 600;
    color: #495057;
    flex-shrink: 0;
    margin-right: 12px;
}

.bus-trip-detail-item span {
    color: #2c3e50;
    font-weight: 500;
    text-align: right;
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .bus-trip-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        text-align: left;
    }
    
    .bus-trip-detail-item span {
        text-align: left;
        font-weight: 600;
        color: #d53333;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .seat-summary-bar {
        padding: 10px 12px 8px 12px;
        bottom: 90px !important;
        left: 10px;
        right: 10px;
        border-radius: 12px;
        z-index: 99997 !important;
    }
    
    .seat-summary-container {
        flex-direction: column;
        gap: 6px;
        align-items: stretch;
    }
    
    .summary-info {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    /* Gidiş ve Dönüş Wrapper - Yan Yana */
    .summary-routes-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    /* Gidiş ve Dönüş kutuları */
    .summary-departure,
    .summary-return {
        border-left: none;
        padding: 10px;
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
        text-align: center;
    }
    
    .summary-label {
        font-size: 0.75rem;
        font-weight: 700;
        margin-bottom: 4px;
    }
    
    .summary-route-detail {
        font-size: 0.85rem;
        font-weight: 600;
        color: #fff;
    }
    
    .summary-route-arrow {
        font-size: 0.7rem;
        opacity: 0.7;
        margin: 2px 0;
    }
    
    .summary-trip-info {
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    
    .summary-date {
        font-size: 0.75rem;
    }
    
    .summary-time {
        font-size: 1rem;
        font-weight: 700;
    }
    
    .summary-seats {
        font-size: 0.75rem;
        margin-top: 4px;
    }
    
    /* Toplam Fiyat */
    .summary-total {
        text-align: center;
        padding: 4px 0;
    }
    
    .summary-price {
        font-size: 1.3rem;
        font-weight: 800;
    }
    
    /* Butonlar - yukarı çekildi */
    .summary-actions {
        justify-content: center;
        gap: 10px;
        margin-top: -2px;
        padding-bottom: 0;
    }
    
    .summary-btn {
        flex: 1;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .summary-routes-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .summary-departure,
    .summary-return {
        padding: 10px 8px;
    }
    
    .summary-route-detail {
        font-size: 0.75rem;
    }
    
    .summary-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

.no-trips-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(145deg, #f9fafc, #ffffff);
    border: 1px solid #e0e6ed;
    border-radius: 16px;
    max-width: 520px;
    margin: 50px auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.4s ease;
}

.no-trips-icon {
    font-size: 72px;
    margin-bottom: 20px;
    animation: bounce 1.5s infinite;
}

.no-trips-content h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #1f2937;
    font-weight: 600;
}

.search-criteria {
    background: #f3f4f6;
    padding: 14px;
    border-radius: 10px;
    width: 100%;
    
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.criteria-item {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 15px;
}

.criteria-label {
    font-weight: 600;
    color: #4b5563;
}

.criteria-value {
    font-weight: 700;
    color: #111827;
}

.suggestions {
    font-size: 14px;
    color: #4b5563;
    margin-top: 10px;
}

.suggestions p {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.suggestions li::before {
    content: "💡";
    font-size: 18px;
}

.no-trips-btn {
    margin-top: 20px;
    background-color: #2563eb;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.no-trips-btn:hover {
    background-color: #1e40af;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Swap Button for Route Change Form */
.bus-route-change-form .swap-btn,
.bus-route-change-form .desktop-swap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d53333;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    align-self: flex-end;
    margin-bottom: 3px;
    flex-shrink: 0;
}

.bus-route-change-form .swap-btn:hover,
.bus-route-change-form .desktop-swap-btn:hover {
    background: #b82828;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(213, 51, 51, 0.3);
}

.bus-route-change-form .swap-btn svg,
.bus-route-change-form .desktop-swap-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.bus-route-change-form .route-change-stations {
    margin-bottom: 20px;
    position: relative;
}

@media (min-width: 769px) {
    .bus-route-change-form .route-change-stations {
        display: grid;
        grid-template-columns: 1fr 46px 1fr;
        gap: 16px;
        align-items: end;
    }

    .bus-route-change-form .route-change-stations .mobile-form-row {
        margin-bottom: 0;
    }

    .bus-route-change-form .route-change-stations .mobile-swap-stations-btn {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        width: 46px;
        height: 46px;
        border-radius: 8px;
    }
}

/* Mobile responsive spacing tweaks (avoid large gaps) */
@media (max-width: 768px) {
    .bus-route-change-form .form-row {
        gap: 12px;
        margin-bottom: 15px;
    }

    .bus-route-change-form .route-change-stations .mobile-swap-stations-btn {
        position: absolute;
        top: 50%;
        right: 16px;
        left: auto;
        transform: translateY(-50%);
        z-index: 3;
    }

    .bus-route-change-form .form-group label {
        margin-bottom: 6px;
    }
}
