.csv-importer-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.csv-importer-container h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.database-info {
    background: #e7f3ff;
    padding: 10px 15px;
    border-left: 4px solid #0073aa;
    margin: 15px 0;
    font-size: 14px;
}

.csv-importer-container h3 {
    color: #555;
    margin-top: 20px;
}

.csv-importer-container h3.success {
    color: #46b450;
}

.csv-importer-container h3.error {
    color: #dc3232;
}

/* Form styles */
.csv-import-form {
    margin: 20px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Button styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #0073aa;
    color: #fff;
}

.btn-primary:hover {
    background-color: #005a87;
}

.btn-secondary {
    background-color: #666;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #555;
}

.btn-danger {
    background-color: #dc3232;
    color: #fff;
}

.btn-danger:hover {
    background-color: #a00;
}

/* Import actions */
.import-actions {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: #fff3cd;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
}

/* Progress bar */
.import-progress {
    margin: 20px 0;
}

.progress-bar-container {
    width: 100%;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0073aa 0%, #00a0d2 100%);
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-text {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Progress stats */
.progress-stats {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.progress-stats p {
    margin: 8px 0;
    color: #333;
}

.progress-stats strong {
    color: #0073aa;
    min-width: 140px;
    display: inline-block;
}

/* Import log */
.import-log {
    margin-top: 20px;
}

.import-log h4 {
    margin-bottom: 10px;
    color: #555;
}

#import_log_content {
    max-height: 200px;
    overflow-y: auto;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

.log-entry {
    padding: 4px 0;
    border-bottom: 1px solid #e0e0e0;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-info {
    color: #333;
}

.log-success {
    color: #46b450;
    font-weight: 600;
}

.log-warning {
    color: #f0ad4e;
}

.log-error {
    color: #dc3232;
    font-weight: 600;
}

/* Complete/Error messages */
.import-complete,
.import-error {
    text-align: center;
    padding: 40px 20px;
}

.import-complete p,
.import-error p {
    font-size: 16px;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .csv-importer-container {
        margin: 10px;
        padding: 15px;
    }
    
    .progress-stats strong {
        display: block;
        margin-bottom: 5px;
    }
}
