/* Migration Module Styles */



.migration-container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 20px;

}



/* Step indicators */

.step-indicator {

    display: flex;

    justify-content: space-between;

    margin: 30px 0;

    position: relative;

}



.step-indicator::before {

    content: '';

    position: absolute;

    top: 25px;

    left: 0;

    right: 0;

    height: 2px;

    background: #dee2e6;

    z-index: 0;

}



.step {

    flex: 1;

    text-align: center;

    position: relative;

    z-index: 1;

    background: white;

    padding: 0 10px;

}



.step-number {

    width: 50px;

    height: 50px;

    background: #f8f9fa;

    border: 2px solid #dee2e6;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 10px;

    font-weight: bold;

    transition: all 0.3s;

}



.step.active .step-number {

    background: #667eea;

    border-color: #667eea;

    color: white;

}



.step.completed .step-number {

    background: #28a745;

    border-color: #28a745;

    color: white;

}



/* Upload area */

.upload-area {

    border: 2px dashed #dee2e6;

    border-radius: 10px;

    padding: 40px;

    text-align: center;

    cursor: pointer;

    transition: all 0.3s;

    background: #f8f9fa;

}



.upload-area:hover {

    border-color: #667eea;

    background: white;

}



.upload-area i {

    font-size: 48px;

    color: #667eea;

    margin-bottom: 15px;

}



.upload-area.dragover {

    border-color: #28a745;

    background: #e8f5e9;

}



/* File list */

.file-item {

    background: white;

    border: 1px solid #dee2e6;

    border-radius: 5px;

    padding: 10px;

    margin: 5px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.file-item .file-name {

    display: flex;

    align-items: center;

    gap: 10px;

}



.file-item .file-size {

    color: #6c757d;

    font-size: 0.9em;

}



.file-item .file-status {

    padding: 3px 10px;

    border-radius: 12px;

    font-size: 0.8em;

}



.file-status.valid {

    background: #d4edda;

    color: #155724;

}



.file-status.invalid {

    background: #f8d7da;

    color: #721c24;

}



/* Validation issues */

.validation-issue {

    padding: 10px;

    margin: 5px 0;

    border-radius: 5px;

    display: flex;

    align-items: start;

    gap: 10px;

}



.issue-error {

    background: #fee;

    border-left: 4px solid #e74c3c;

}



.issue-warning {

    background: #fff3e0;

    border-left: 4px solid #f39c12;

}



.issue-success {

    background: #e8f5e9;

    border-left: 4px solid #27ae60;

}



.issue-icon {

    font-size: 1.2em;

    min-width: 24px;

}



.issue-content {

    flex: 1;

}



.issue-title {

    font-weight: bold;

    margin-bottom: 3px;

}



.issue-details {

    font-size: 0.9em;

    color: #6c757d;

}



/* Data preview table */

.preview-table {

    max-height: 400px;

    overflow-y: auto;

    border: 1px solid #dee2e6;

    border-radius: 5px;

}



.preview-table table {

    width: 100%;

    border-collapse: collapse;

    font-size: 0.9em;

}



.preview-table th {

    background: #f8f9fa;

    position: sticky;

    top: 0;

    z-index: 10;

    padding: 10px;

    text-align: left;

    border-bottom: 2px solid #dee2e6;

}



.preview-table td {

    padding: 8px 10px;

    border-bottom: 1px solid #dee2e6;

}



.preview-table tr:hover {

    background: #f8f9fa;

}



/* Import log */

.import-log {

    background: #2d2d2d;

    color: #f0f0f0;

    font-family: monospace;

    padding: 15px;

    border-radius: 5px;

    height: 300px;

    overflow-y: auto;

}



.log-entry {

    margin: 5px 0;

    padding: 3px 0;

    border-bottom: 1px solid #3d3d3d;

}



.log-time {

    color: #888;

    margin-right: 10px;

}



.log-info {

    color: #5bc0de;

}



.log-success {

    color: #5cb85c;

}



.log-warning {

    color: #f0ad4e;

}



.log-error {

    color: #d9534f;

}



/* Template cards */

.template-card {

    border: 1px solid #dee2e6;

    border-radius: 8px;

    padding: 20px;

    text-align: center;

    cursor: pointer;

    transition: all 0.3s;

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}



.template-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

    border-color: #667eea;

}



.template-card.selected {

    border: 2px solid #667eea;

    background: #f0f3ff;

}



.template-card i {

    font-size: 2.5em;

    margin-bottom: 10px;

}



/* Progress bar */

.progress-custom {

    height: 30px;

    border-radius: 15px;

    overflow: hidden;

    background: #f8f9fa;

}



.progress-custom .progress-bar {

    background: linear-gradient(90deg, #667eea, #764ba2);

    transition: width 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-weight: bold;

}



/* Responsive */

@media (max-width: 768px) {

    .step-indicator {

        flex-direction: column;

        gap: 10px;

    }

    

    .step-indicator::before {

        display: none;

    }

    

    .step {

        display: flex;

        align-items: center;

        text-align: left;

        gap: 15px;

    }

    

    .step-number {

        margin: 0;

    }

}