        .class-timetable {
            width: 100%;
            border-collapse: collapse;
            color: white;
            background-color: #2A2E33;
        }

        .class-timetable th, .class-timetable td {
            border: 1px solid #ccc;
            padding: 10px;
            text-align: center;
            font-size: 1.2em;
        }

        .class-timetable th {
            background-color: #263245;
            color: #fff;
        }

        .class-entry {
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
            cursor: pointer;
            text-align: left;
        }

        .class-entry h3 {
            margin: 0;
            font-size: 1.2em;
        }

        .class-entry p {
            margin: 5px 0 0;
            font-size: 0.9em;
        }

        .class-entry.available {
            background-color: #8DC63F;
            color: white;
            text-align: center;
            font-size: 15px;
        }
        .class-entry.disabled {
            background: #9F2D56;
            text-align: center;
            font-size: 15px;
            cursor: not-allowed;
            position: relative;
        }
        .class-entry.disabled::before {
            content: 'Booked';
            position: absolute;
            right: -13px;
            background: green;
            top: -10px;
            padding: 3px;
            border-radius: 2px;
        }

        .class-entry.taken {
            background-color: #D3D3D3;
            color: white;
        }

        .popup {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.4);
            padding-top: 60px;
        }

        .popup-content-table {
            background-color: #fff;
            margin: 5% auto;
            color: #323232;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            position: relative;
            box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        }

        .popup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #ccc;
            padding-bottom: 10px;
            margin-bottom: 10px;
        }

        .popup-header h3 {
            margin: 0;
        }

        .close {
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
        }

        .popup-body p {
            margin: 10px 0;
        }

        .popup-body p strong {
            display: inline-block;
            width: 100px;
        }

        .booking-time {
            margin: 20px 0;
        }

        .booking-time label {
            display: block;
            margin-bottom: 5px;
        }

        .booking-time input {
            padding: 5px;
            width: 100%;
            font-size: 1em;
        }

        .popup-body button {
            background-color: #8DC63F;
            color: white;
            border: none;
            padding: 10px 20px;
            font-size: 1em;
            cursor: pointer;
            border-radius: 5px;
        }

        .popup-body button:hover {
            background-color: #76a828;
        }


        table.class-timetable {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 16px;
            text-align: left;
        }
        
        table.class-timetable thead tr {
            background-color: #009879;
            color: #ffffff;
            text-align: left;
            font-weight: bold;
        }
        
        table.class-timetable th,
        table.class-timetable td {
            padding: 12px 15px;
            border: 1px solid #dddddd;
        }
        
        table.class-timetable tbody tr {
            border-bottom: 1px solid #dddddd;
        }
        
        table.class-timetable tbody tr:nth-of-type(even) {
            background-color: #314966;
        }
        
        table.class-timetable tbody tr:last-of-type {
            border-bottom: 2px solid #009879;
        }
        
        /* Hover effect for table rows */
        table.class-timetable tbody tr:hover {
            background-color: #314966;
        }
        



        /* Add this to your theme's stylesheet or in the header section of your HTML */
#loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -60px;
    margin-top: -60px;
    z-index: 1000;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
