.pvb-schedule-wrapper {
    max-width: 100%;
    margin: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.pvb-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    background: #fff;
    padding: 10px 0;
    z-index: 100;
}

.pvb-date-filter {
    margin-right: 20px;
}

.pvb-date-filter input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    width: 170px;
}

.pvb-weekday-filters {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pvb-weekday-btn {
    cursor: pointer;
    transition: opacity 0.2s;
    width: 50px;
    height: auto;
}

.pvb-weekday-btn:hover {
    opacity: 0.8;
}

.pvb-date-section {
    margin-bottom: 30px;
    scroll-margin-top: 100px;
}

.pvb-date-header {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
}

.pvb-schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    table-layout: fixed;
}

.pvb-schedule-table th,
.pvb-schedule-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pvb-schedule-table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Fixed column widths */
.pvb-schedule-table th.col-class,
.pvb-schedule-table td.col-class {
    width: 30%;
    min-width: 150px;
}

.pvb-schedule-table th.col-time,
.pvb-schedule-table td.col-time {
    width: 20%;
    min-width: 120px;
}

.pvb-schedule-table th.col-coach,
.pvb-schedule-table td.col-coach {
    width: 25%;
    min-width: 130px;
}

.pvb-schedule-table th.col-seats,
.pvb-schedule-table td.col-seats {
    width: 12.5%;
    min-width: 80px;
}

.pvb-schedule-table th.col-price,
.pvb-schedule-table td.col-price {
    width: 12.5%;
    min-width: 80px;
}

.pvb-schedule-table tr:hover {
    background: #f8f9fa;
}

.pvb-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px 0;
}

.pvb-pagination a,
.pvb-pagination span {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: all 0.2s;
}

.pvb-pagination a:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.pvb-pagination .current {
    background: #007bff;
    color: #fff;
    border-color: #0056b3;
}

@media screen and (max-width: 768px) {
    .pvb-schedule-wrapper {
        padding: 0 10px;
    }
    
    .pvb-schedule-table {
        font-size: 14px;
    }
    
    .pvb-schedule-table th,
    .pvb-schedule-table td {
        padding: 8px;
    }
    
    /* Maintain column widths on mobile */
    .pvb-schedule-table th.col-class,
    .pvb-schedule-table td.col-class {
        width: 30%;
        min-width: 120px;
    }

    .pvb-schedule-table th.col-time,
    .pvb-schedule-table td.col-time {
        width: 20%;
        min-width: 100px;
    }

    .pvb-schedule-table th.col-coach,
    .pvb-schedule-table td.col-coach {
        width: 25%;
        min-width: 110px;
    }

    .pvb-schedule-table th.col-seats,
    .pvb-schedule-table td.col-seats {
        width: 12.5%;
        min-width: 70px;
    }

    .pvb-schedule-table th.col-price,
    .pvb-schedule-table td.col-price {
        width: 12.5%;
        min-width: 70px;
    }
    
    .pvb-date-header {
        font-size: 1.1em;
    }
    
    .pvb-weekday-btn {
        width: 40px;
    }
}