
.table-container {
    width: 100%;
}

table {
    border-collapse: collapse;
    width: auto;
    min-width: 100%;
}

th,
td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    min-width: 50px;
}

th {
    background-color: #eee;
    font-weight: bold;
}

th.week-header {
    text-align: center;
}

thead th:nth-of-type(n+2):hover {
    background: #bbbbbb;
}

tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.grade-span {
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 15px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.2s;
}

td:hover .grade-span {
    transform: scale(1.2);
}

td.non-attendance {
    border: 2px dotted black;
}

.lo-grade-span {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 5px;
    border: 1px solid #ccc;
}


#studentSummaryModal {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 15px;
    /* Increased padding */
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 250px;
}

#studentSummaryModal h4,
#studentSummaryModal p {
    margin: 5px 0;
    font-size: 1em;
    line-height: 1.4;
}

#studentSummaryModal h4 {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.2em;
}

#studentSummaryModal p strong {
    font-weight: bold;
}