/* My Bookings Styles */
.bookings-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.bookings-header {
    margin-bottom: 40px;
}

.bookings-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.bookings-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-item {
    padding: 15px 5px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-item:hover {
    color: var(--primary-red);
}

.tab-item.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 25px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 30px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.booking-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(214, 57, 65, 0.2);
}

/* Left Section: Bus Info */
.bus-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.bus-icon-circle {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-red);
}

.operator-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.bus-type {
    font-size: 13px;
    color: var(--text-muted);
    background: #f1f1f1;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

/* Middle Section: Route & Time */
.route-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.route-path {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-dark);
}

.route-path i {
    font-size: 14px;
    color: var(--text-muted);
}

.time-details {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: var(--text-muted);
}

.time-details span i {
    margin-right: 8px;
}

/* Right Section: Status & Actions */
.booking-status-box {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-confirmed { background: #e6f7ee; color: #00b34a; }
.status-cancelled { background: #ffebeb; color: #d63941; }
.status-pending { background: #fff8e6; color: #ffab00; }

.price-tag {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Empty State */
.empty-bookings {
    text-align: center;
    padding: 80px 20px;
}

.empty-bookings img {
    max-width: 300px;
    margin-bottom: 30px;
}

.empty-bookings h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-bookings p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .booking-card {
        grid-template-columns: 1fr 1.5fr;
        gap: 20px;
    }
    .booking-status-box {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid var(--border-color);
        padding-top: 20px;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .booking-card {
        grid-template-columns: 1fr;
    }
    .booking-status-box {
        grid-column: span 1;
    }
    .route-path {
        font-size: 16px;
    }
    .time-details {
        flex-direction: column;
        gap: 5px;
    }
}
