.prestasi-siswa-frontend {
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.filter-container {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-container input,
.filter-container select,
.filter-container button {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filter-container button {
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}

.filter-container button.reset-button {
    background: #cc0000;
}

.prestasi-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.prestasi-table th,
.prestasi-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.prestasi-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.prestasi-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.prestasi-table tr:hover {
    background-color: #f1f1f1;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #0073aa;
    border-radius: 4px;
}

.pagination .current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.pagination a:hover {
    background: #f2f2f2;
}

/* Prestasi Siswa Frontend Styles */
.prestasi-siswa-frontend {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 30px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ... (existing styles) ... */

/* File info styles */
.file-info {
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

/* Export button */
.export-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.export-csv-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.export-csv-button:hover {
    background-color: #219653;
}

.export-loading {
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Spin animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .prestasi-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .export-actions {
        margin-top: 10px;
    }
    
    .file-info {
        max-width: 120px;
    }
}