.import-wizard-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 30px;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 8px;
	overflow-x: auto;
}

.import-card-open {
	overflow: visible;
}

.import-section-head {
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 12px;
}

.import-section-title {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #0f172a;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.import-section-title-spaced {
	margin-bottom: 20px;
}

.import-section-title-tight {
	margin-bottom: 6px;
}

.import-section-desc {
	font-size: 0.8rem;
	color: #94a3b8;
	margin-top: 2px;
}

.import-section-desc-spaced {
	margin-bottom: 16px;
}

.import-muted-small {
	font-size: 0.85rem;
}

.import-link-small {
	font-size: 0.78rem;
}

.import-table-actions {
	width: 5%;
}

.import-empty-state {
	border: 2px dashed #e2e8f0;
	border-radius: 8px;
	padding: 40px;
}

.import-empty-icon,
.import-state-icon {
	font-size: 1.5rem;
	color: #94a3b8;
}

.import-empty-icon {
	font-size: 2rem;
}

.import-wizard-check {
	font-size: 0.65rem;
}

.import-hidden {
	display: none;
}

.import-source-button {
	flex: 1;
}

.import-input-compact {
	font-size: 0.9rem;
}

.import-intro-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #0f172a;
}

.import-intro-desc {
	font-size: 0.85rem;
	color: #94a3b8;
	margin-top: 4px;
}

.import-drop-zone {
	border: 2px dashed #cbd5e1;
	border-radius: 8px;
	padding: 40px 20px;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.import-drop-zone.dragover {
	border-color: #3b82f6;
	background: #eff6ff;
}

.import-drop-icon {
	font-size: 2rem;
	color: #94a3b8;
}

.import-drop-text {
	font-size: 0.9rem;
	color: #64748b;
	margin-top: 8px;
}

.import-drop-action {
	text-decoration: underline;
}

.import-drop-help {
	font-size: 0.75rem;
	color: #94a3b8;
	margin-top: 4px;
}

.import-file-selected {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	padding: 12px 16px;
	margin-top: 8px;
}

.import-file-name {
	font-size: 0.85rem;
	font-weight: 500;
}

.import-loading-spinner {
	width: 2rem;
	height: 2rem;
}

.import-loading-text {
	font-size: 0.85rem;
	color: #64748b;
	margin-top: 8px;
}

.import-detect-info,
.import-config-summary {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 16px;
}

.import-config-summary {
	background: #f0fdf4;
	border-color: #bbf7d0;
	padding: 10px 16px;
	font-size: 0.84rem;
}

.import-detect-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: #0f172a;
}

.import-detect-badge {
	font-size: 0.78rem;
	padding: 5px 12px;
	border-radius: 6px;
}

.import-detect-type {
	background: #eff6ff;
	color: #2563eb;
}

.import-detect-separator {
	background: #fefce8;
	color: #ca8a04;
}

.import-detect-node {
	background: #f0fdf4;
	color: #16a34a;
}

.import-detect-rows {
	background: #faf5ff;
	color: #7c3aed;
}

.import-detect-cols {
	background: #fff1f2;
	color: #e11d48;
}

.import-preview-wrap {
	overflow-x: auto;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.import-preview-table {
	font-size: 0.78rem;
}

.import-preview-head {
	background: #f8fafc;
}

.import-preview-th {
	font-size: 0.72rem;
	font-weight: 600;
	color: #64748b;
	white-space: nowrap;
	padding: 8px 12px;
}

.import-preview-td {
	font-size: 0.75rem;
	color: #475569;
	white-space: nowrap;
	padding: 6px 12px;
}

.import-preview-note {
	font-size: 0.72rem;
	color: #94a3b8;
	margin-top: 6px;
	text-align: right;
}

.import-progress-status {
	font-size: 0.85rem;
	font-weight: 600;
}

.import-progress-percent {
	font-size: 0.85rem;
	color: #64748b;
}

.import-progress-track {
	height: 8px;
	border-radius: 4px;
}

.import-progress-bar {
	width: 0;
	transition: width 0.3s;
}

.import-stat-card {
	border-radius: 8px;
}

.import-stat-added {
	background: #f0fdf4;
}

.import-stat-updated {
	background: #eff6ff;
}

.import-stat-skipped {
	background: #fefce8;
}

.import-stat-danger {
	background: #fef2f2;
}

.import-stat-value {
	font-size: 1.5rem;
	font-weight: 700;
}

.import-stat-value-added {
	color: #16a34a;
}

.import-stat-value-updated {
	color: #2563eb;
}

.import-stat-value-skipped {
	color: #ca8a04;
}

.import-stat-value-danger {
	color: #dc2626;
}

.import-stat-label {
	font-size: 0.75rem;
	color: #64748b;
	text-transform: uppercase;
}

.import-log {
	background: #f8fafc;
	border-radius: 8px;
	padding: 12px;
	max-height: 300px;
	overflow-y: auto;
	font-size: 0.8rem;
	font-family: monospace;
}

.import-log-line {
	color: #64748b;
}

.import-log-line-error {
	color: #dc2626;
}

.import-log-line-success {
	color: #16a34a;
}

.import-complete-icon {
	font-size: 3rem;
	color: #16a34a;
}

.import-price-rules-header {
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.import-price-rules-empty {
	font-size: 0.84rem;
}

.import-rule-icon {
	color: #94a3b8;
}

.import-hidden-field {
	display: none;
}

.import-slim-text {
	font-size: 0.82rem;
}

.import-category-cell {
	position: relative;
}

.import-category-name {
	font-size: 0.88rem;
}

.import-category-suggestions {
	position: absolute;
	z-index: 100;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	max-height: 200px;
	overflow-y: auto;
	left: 12px;
	right: 12px;
	top: 100%;
}

.import-category-suggestion {
	cursor: pointer;
	font-size: 0.84rem;
	border-bottom: 1px solid #f8f9fb;
}

.import-category-suggestion-title {
	font-weight: 600;
}

.import-category-suggestion-path {
	color: #94a3b8;
	font-size: 0.75rem;
}

.import-sortable-th {
	cursor: pointer;
}

.import-sort-icon {
	font-size: 0.7rem;
	opacity: 0.4;
}

.import-modifier-card {
	border: 1px solid #f1f5f9;
	border-radius: 8px;
}

.import-rule-field {
	width: 30%;
}

.import-rule-type {
	width: 20%;
}

.import-report-log {
	background: #f8f9fb;
	padding: 12px;
	border-radius: 8px;
	font-size: 0.78rem;
	max-height: 300px;
	overflow-y: auto;
	margin: 0;
}

.import-legacy-category-check {
	font-weight: bold;
}

.import-wizard-step {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #94a3b8;
	font-size: 0.8rem;
	font-weight: 500;
	white-space: nowrap;
	padding: 6px 12px;
	border-radius: 8px;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.import-wizard-step:hover {
	color: #64748b;
	background: #f8fafc;
}

.import-wizard-step.active {
	color: #fff;
	background: var(--bg-primary);
	font-weight: 600;
	box-shadow: 0 2px 5px -2px rgba(0, 0, 0, 0.2);
}

.import-wizard-step.completed {
	color: #16a34a;
}

.import-step-num {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: 700;
	background: #f1f5f9;
	color: #94a3b8;
	flex-shrink: 0;
}

.import-wizard-step.completed .import-step-num {
	background: #16a34a;
	color: #fff;
}

.import-wizard-step.active .import-step-num {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.import-wizard-divider {
	flex: 0 0 24px;
	height: 1px;
	background: #e2e8f0;
	margin: 0 4px;
}

.import-toggle-tile {
	display: block;
	cursor: pointer;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px 16px;
	background: #fff;
	transition: background 0.15s, border-color 0.15s;
}

.import-toggle-tile:hover {
	border-color: #cbd5e1;
	background: #fafbfc;
}

.import-toggle-tile.active {
	border-color: #3b82f6;
	background: #eff6ff;
}

.import-toggle-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: #f1f5f9;
	color: #94a3b8;
	transition: background 0.15s, color 0.15s;
}

.import-toggle-icon .fe {
	font-size: 1rem;
}

.import-toggle-tile.active .import-toggle-icon {
	background: #3b82f6;
	color: #fff;
}

.import-toggle-copy {
	min-width: 0;
}

.import-toggle-label {
	font-size: 0.84rem;
	font-weight: 600;
	color: #0f172a;
}

.import-toggle-desc {
	font-size: 0.74rem;
	color: #94a3b8;
	margin-top: 1px;
}

.import-toggle-switch {
	padding-left: 0;
}

.import-toggle-check {
	margin: 0;
}

@media (max-width: 767.98px) {
	.import-wizard-steps {
		justify-content: flex-start;
	}

	.import-wizard-divider {
		flex-basis: 14px;
	}
}
