

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.form-group input[type="file"],
.form-group select {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.csv-preview {
    margin-top: 30px;
}

.csv-preview h3 {
    margin-bottom: 10px;
}

.csv-preview table {
    width: 100%;
    border-collapse: collapse;
}

.csv-preview table th,
.csv-preview table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.custom-alert {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 12px 20px;
    border-radius: 8px;
    position: relative;
    margin-bottom: 20px;
}

.close-alert {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 20px;
    cursor: pointer;
}

.upload-spinner {
    margin-top: 20px;
    text-align: center;
}

.loader {
    width: 35px;
    height: 35px;
    border: 4px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#csvPreview {
    overflow-x: auto;
    max-width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.custom-alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    position: relative;
}
.custom-alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.custom-alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.custom-alert .close-alert {
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
    font-weight: bold;
}

