/* DataHub - Import Wizard Styles */

.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 16px 0;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    flex: 0 0 auto;
    padding: 0 24px;
}

.wizard-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    left: calc(50% + 24px);
    width: calc(100% - 16px);
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.wizard-step.completed:not(:last-child)::after {
    background: var(--primary);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-light);
    border: 2px solid var(--border);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.2s;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}

.wizard-step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.wizard-step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.wizard-step.completed .step-number {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: white;
}

.wizard-step.completed .step-label {
    color: var(--accent-green-text);
}

.wizard-panel {
    display: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.wizard-panel.active {
    display: block;
}

.source-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.source-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s;
}

.source-card:hover {
    border-color: var(--muted-light);
    box-shadow: var(--shadow-sm);
}

.source-card:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.source-card.selected,
.source-card.active {
    border-color: var(--primary);
    background: #eff6ff;
}

.source-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.02em;
}

.source-icon.similarweb-bg,
.similarweb-bg {
    background: #3b82f6;
}

.source-icon.sensortower-bg,
.sensortower-bg {
    background: #8b5cf6;
}

.source-icon.gtrends-bg,
.gtrends-bg {
    background: #ea4335;
}

.source-icon.dump-bg,
.dump-bg {
    background: #f59e0b;
}

.source-icon.va-bg,
.va-bg {
    background: #0ea5e9;
}

.source-info {
    flex: 1;
    min-width: 0;
}

.source-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    margin: 0 0 4px 0;
}

.source-desc {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

.success-container {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 16px auto;
}

.success-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px 0;
}

.success-message {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0 0 24px 0;
}

@media (max-width: 600px) {
    .wizard-step {
        padding: 0 12px;
    }

    .wizard-step:not(:last-child)::after {
        left: calc(50% + 12px);
        width: calc(100% - 8px);
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .source-cards {
        grid-template-columns: 1fr;
    }
}
