/* Layout for graph and table */
.graph-and-table {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.graph-section {
    flex: 1;
    min-width: 300px;
}

.table-section {
    flex: 1;
    min-width: 300px;
    overflow-x: auto;
}

/* Table styles */
.attendance-data-table,
.documents-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.attendance-data-table th,
.attendance-data-table td,
.documents-data-table th,
.documents-data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.attendance-data-table th,
.documents-data-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .graph-and-table {
        flex-direction: column;
    }
}