/* Bus Timetable Public CSS */

.bus-timetable-single-main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: inherit;
}

.bus-timetable-header {
    margin-bottom: 30px;
    text-align: center;
}

.bus-timetable-thumbnail {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.bus-timetable-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.bus-timetable-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
}

.bus-timetable-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

/* Table Styles */
.bus-timetable-table-container {
    margin-top: 40px;
    margin-bottom: 60px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.bus-timetable-public-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 1rem;
    text-align: left;
}

.bus-timetable-public-table thead tr {
    background-color: #34495e;
    color: #ffffff;
    text-align: left;
}

.bus-timetable-public-table th,
.bus-timetable-public-table td {
    padding: 16px 20px;
}

.bus-timetable-public-table tbody tr {
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.2s ease;
}

.bus-timetable-public-table tbody tr:last-of-type {
    border-bottom: 2px solid #34495e;
}

.bus-timetable-public-table tbody tr:hover {
    background-color: #f8f9fa;
}

.btt-time-cell {
    font-weight: 600;
    color: #e74c3c;
}

.bus-timetable-no-data {
    padding: 20px;
    background: #fff3cd;
    color: #856404;
    border-radius: 8px;
    border-left: 5px solid #ffeeba;
    font-weight: 500;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .bus-timetable-public-table thead {
        display: none;
    }

    .bus-timetable-public-table tr {
        display: block;
        border-bottom: 3px solid #eee;
        margin-bottom: 10px;
    }

    .bus-timetable-public-table tbody tr:last-of-type {
        border-bottom: 3px solid #eee;
    }

    .bus-timetable-public-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
        padding: 12px 15px;
        text-align: right;
    }

    .bus-timetable-public-table td:last-child {
        border-bottom: 0;
    }

    .bus-timetable-public-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #34495e;
        margin-right: 15px;
        text-transform: uppercase;
        font-size: 0.85rem;
    }

    .bus-timetable-title {
        font-size: 2rem;
    }
}