/* csv-import.css - Styles untuk fitur import CSV */

.csv-import-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.csv-preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9rem;
}

.csv-preview-table th {
    background-color: var(--primary);
    color: white;
    padding: 10px;
    text-align: left;
    font-weight: 600;
}

.csv-preview-table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.csv-preview-table tbody tr:hover {
    background-color: #f5f5f5;
}

.status-valid {
    color: #2e7d32;
    font-weight: 600;
}

.status-invalid {
    color: #c62828;
    font-weight: 600;
}

.status-warning {
    color: #ef6c00;
    font-weight: 600;
}

.import-summary {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.import-summary.error {
    background-color: #ffebee;
    border-color: #ffcdd2;
}

.import-summary.warning {
    background-color: #fff3e0;
    border-color: #ffe0b2;
}

.import-progress {
    margin-top: 15px;
}

.progress-bar-container {
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--viii);
    border-radius: 10px;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.csv-template-info {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.csv-template-info h5 {
    color: var(--secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.csv-template-info ul {
    margin: 0;
    padding-left: 20px;
}

.csv-template-info li {
    margin-bottom: 5px;
    color: #555;
}

.batch-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .csv-preview-table {
        font-size: 0.8rem;
    }
    
    .csv-preview-table th,
    .csv-preview-table td {
        padding: 8px 6px;
    }
    
    .batch-actions {
        flex-direction: column;
    }
    
    .batch-actions button {
        width: 100%;
    }
}