
        .schedule-table {
            table-layout: fixed;
            width: 100%;
        }
        .schedule-table th, .schedule-table td {
            text-align: center;
            vertical-align: middle;
            padding: 8px;
            border: 1px solid #dee2e6;
            white-space: nowrap; /* Prevent wrapping */
        }
        .schedule-table th {
            background-color: #343a40;
            color: white;
            position: sticky;
            top: 0;
            z-index: 2;
        }
        .time-slot {
            width: 100px;
            background-color: #e9ecef;
            font-weight: bold;
        }
        .booked {
            background-color: #ffc107;
            color: #212529;
        }
        .available {
            background-color: #28a745;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }
        .available:hover {
            background-color: #218838;
        }
        .unavailable {
            background-color: #6c757d;
            color: white;
            cursor: not-allowed;
        }
        .break-slot {
            background-color: #17a2b8;
            color: white;
            font-weight: bold;
            cursor: not-allowed;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }
        /* Mobile-specific styles */
        .mobile-schedule .list-group-item {
            padding: 0.75rem 1.25rem;
            border: none; /* Remove default borders for cleaner look */
        }
        /* Add bottom border to all list-group-items except the last one */
        .mobile-schedule .list-group-item:not(:last-child) {
            border-bottom: 1px solid #dee2e6;
        }
        .mobile-schedule .list-group-item > div {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            width: 100%;
        }
        .mobile-schedule .list-group-item .time-label {
            font-weight: normal;
            margin-bottom: 0.5rem;
            white-space: nowrap; /* Prevent wrapping */
            width: 100%; /* Ensure it takes full width */
        }
        .mobile-schedule .list-group-item .slot-status {
            margin-bottom: 0.5rem;
            white-space: nowrap; /* Prevent wrapping */
        }
        .mobile-schedule .list-group-item .slot-action {
            white-space: nowrap; /* Prevent wrapping */
        }
        /* Adjust button styles for better centering */
        .mobile-schedule .list-group-item.available .slot-action .btn {
            display: inline-block;
            white-space: nowrap; /* Prevent button text from wrapping */
        }
  /* Desktop View: Scale avatars to 150x150 pixels */
@media (min-width: 768px) {
    .schedule-table th img {
        width: 50px;
        height: 50px;
        object-fit: cover; /* Ensures the image covers the area without distortion */
    }
}
        
@media (max-width: 767px) {
    .mobile-schedule .accordion-button img {
        width: 30px;
        height: 30px;
        object-fit: cover; /* Ensures the image covers the entire area without distortion */
        margin-right: 0.5rem; /* Adjust spacing between avatar and name */
        border-radius: 50%; /* Ensures circular shape */
    }

    /* Adjust badge font size and padding for better fit */
    .mobile-schedule .accordion-button .badge {
        font-size: 0.8rem;
        padding: 0.2em 0.4em;
    }
}
/* Optional: Adjust badge cursor to indicate interactivity */
.mobile-schedule .accordion-button .badge {
    cursor: pointer;
}