/* ===== Chart Component ===== */

#attendanceChart {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    position: relative;
    z-index: 1;
    border-radius: 8px;
}

#attendanceChart.visible {
    opacity: 1;
}

/* Chart container styling to match modern-ui theme */
.chart-container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.chart-wrapper {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(4px);
    margin-top: 1rem;
}

.chart-container h4 {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 600;
    margin: 0 0 8px 0;
    padding: 0;
}
