/* Kompakt Kurumsal Excel Import Wizard */

/* Wizard Container */
.excel-wizard {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
}

/* Step Indicator */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.wizard-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wizard-step.active .step-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    transform: scale(1.15);
}

.wizard-step.completed .step-circle {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-top: 10px;
    transition: color 0.3s;
}

.wizard-step.active .step-label {
    color: #667eea;
    font-size: 15px;
}

/* Kurumsal Content Area */
.wizard-content-area {
    background: white;
    border-radius: 16px;
    padding: 40px;
    min-height: 500px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}

.wizard-content-area:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

/* File Upload Card */
.file-upload-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 2px dashed #2196f3;
    transition: all 0.3s;
    cursor: pointer;
}

.file-upload-card:hover {
    border-color: #1976d2;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    transform: translateY(-2px);
}

.file-info-card {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-item strong {
    display: block;
    color: #2e7d32;
    margin-bottom: 8px;
    font-size: 13px;
}

.info-item-value {
    font-size: 18px;
    font-weight: 600;
    color: #1b5e20;
}

/* Mapping Cards */
.mapping-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.mapping-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mapping-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    transform: translateX(5px);
}

.excel-column-badge {
    background: linear-gradient(135deg, #e3f2fd 0%, #90caf9 100%);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: #0d47a1;
    display: inline-block;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(13, 71, 161, 0.2);
}

.target-column-badge {
    background: linear-gradient(135deg, #e8f5e9 0%, #81c784 100%);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: #1b5e20;
    display: inline-block;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(27, 94, 32, 0.2);
}

.sample-data-preview {
    background: #fff3e0;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px;
    color: #e65100;
    font-family: 'Courier New', monospace;
    margin-top: 8px;
    border-left: 3px solid #ff9800;
}

.match-quality-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
}

.match-auto {
    background: #e8f5e9;
    color: #2e7d32;
}

.match-manual {
    background: #fff3e0;
    color: #ef6c00;
}

/* Summary Section */
.import-summary {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 5px solid #fbc02d;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.summary-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Progress Bar */
.import-progress-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.progress-header {
    text-align: center;
    margin-bottom: 20px;
}

.progress-header h4 {
    color: #667eea;
    margin: 0 0 10px;
}

.progress-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.progress-stat {
    text-align: center;
}

.progress-stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.progress-stat-label {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Preview Table */
.preview-table {
    background: #fafafa;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    max-height: 200px;
    overflow: auto;
    border: 1px solid #e0e0e0;
}

.preview-table pre {
    margin: 0;
    white-space: pre;
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes countUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes progressGlow {
    0% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    }
    100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
    }
}

.wizard-content-area > * {
    animation: slideInRight 0.4s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-steps::before {
        display: none;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .info-grid,
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

