/* Migration wizard — styles not shared with onboarding */

.evge-migration-wizard-page .evge-wizard-wrap.evge-welcome-screen {
	max-width: 560px;
}

.evge-migration-wizard-scan-summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 16px 0 20px;
	padding: 0;
	list-style-type: none;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	overflow: hidden;
}

.evge-migration-wizard-scan-summary-item {
	padding: 10px 12px;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #1d2327;
	border-bottom: 1px solid #c3c4c7;
	border-right: 1px solid #c3c4c7;
}

.evge-migration-wizard-scan-summary-item:nth-child(2n) {
	border-right: none;
}

.evge-migration-wizard-scan-summary-item:nth-last-child(-n+2) {
	border-bottom: none;
}

.evge-migration-wizard-scan-summary--with-registrations .evge-migration-wizard-scan-summary-item:nth-last-child(-n+2) {
	border-bottom: 1px solid #c3c4c7;
}

.evge-migration-wizard-scan-summary-item--full-width {
	grid-column: 1 / -1;
	border-right: none;
	border-bottom: none;
}

@media screen and (max-width: 480px) {
	.evge-migration-wizard-scan-summary {
		grid-template-columns: 1fr;
	}

	.evge-migration-wizard-scan-summary-item {
		border-right: none;
	}

	.evge-migration-wizard-scan-summary-item:nth-last-child(-n+2) {
		border-bottom: 1px solid #c3c4c7;
	}

	.evge-migration-wizard-scan-summary--with-registrations .evge-migration-wizard-scan-summary-item:nth-last-child(-n+2) {
		border-bottom: 1px solid #c3c4c7;
	}

	.evge-migration-wizard-scan-summary-item:last-child,
	.evge-migration-wizard-scan-summary-item--full-width {
		border-bottom: none;
	}
}

.evge-migration-wizard-reassurance {
	margin: 0 0 24px;
}

.evge-migration-wizard-reassurance-lead {
	margin-bottom: 12px;
}

.evge-migration-wizard-reassurance-list {
	margin: 0;
	padding-left: 1.25em;
	list-style-type: disc;
	list-style-position: outside;
}

.evge-migration-wizard-reassurance-list li {
	margin-bottom: 6px;
	color: #50575e;
	line-height: 1.45;
}

.evge-migration-wizard-reassurance-list li:last-child {
	margin-bottom: 0;
}

.evge-migration-wizard-import-start {
	text-align: right;
	margin-top: 24px;
}

.evge-migration-wizard-stalled-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.evge-migration-wizard-progress {
	display: none;
	margin-top: 8px;
}

.evge-migration-wizard-progress.is-visible {
	display: block;
}

.evge-migration-wizard-progress-list {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.evge-migration-wizard-progress-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #dcdcde;
}

.evge-migration-wizard-progress-item:last-child {
	border-bottom: none;
}

.evge-migration-wizard-progress-label {
	font-weight: 600;
	color: #1d2327;
}

.evge-migration-wizard-progress-stats {
	font-size: 13px;
	color: #646970;
	white-space: nowrap;
}

.evge-migration-wizard-progress-item.is-active .evge-migration-wizard-progress-label {
	color: #2271b1;
}

.evge-migration-wizard-progress-item.is-done .evge-migration-wizard-progress-label {
	color: #00a32a;
}

.evge-migration-wizard-advanced {
	margin-top: 28px;
}

.evge-migration-wizard-advanced summary {
	cursor: pointer;
	font-size: 13px;
	color: #50575e;
	font-weight: 600;
}

.evge-migration-wizard-advanced-panel {
	margin-top: 12px;
	padding: 12px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	font-size: 13px;
	color: #646970;
}

.evge-migration-wizard-summary-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0 24px;
}

@media screen and (max-width: 600px) {
	.evge-migration-wizard-summary-grid {
		grid-template-columns: 1fr;
	}
}

.evge-migration-wizard-summary-card {
	padding: 14px 16px;
	background: #f6f7f7;
	border-radius: 4px;
	border: 1px solid #dcdcde;
}

.evge-migration-wizard-summary-card strong {
	display: block;
	font-size: 1.5rem;
	line-height: 1.2;
	color: #1d2327;
	margin-bottom: 4px;
}

.evge-migration-wizard-summary-card span {
	font-size: 13px;
	color: #646970;
}

.evge-migration-wizard-calendar-url {
	margin: 16px 0;
	padding: 12px 14px;
	background: #f0f6fc;
	border-radius: 4px;
	font-size: 14px;
}

.evge-migration-wizard-calendar-url code {
	font-size: 13px;
}

.evge-migration-wizard-next-step-card {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #dcdcde;
}

.evge-migration-wizard-next-step-card h3 {
	margin: 0 0 8px;
	font-size: 1rem;
}

.evge-support-migration-report {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #dcdcde;
}

.evge-support-migration-report-title {
	margin: 0 0 16px;
	font-size: 1rem;
	font-weight: 600;
}

.evge-migration-wizard-report-meta {
	margin: 0 0 16px;
	font-size: 14px;
	color: #646970;
}

.evge-migration-wizard-report-section {
	margin-bottom: 24px;
}

.evge-migration-wizard-report-section h3 {
	margin: 0 0 10px;
	font-size: 1rem;
}

.evge-migration-wizard-failed-items {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
}

.evge-migration-wizard-failed-item {
	padding: 12px 14px;
	border-bottom: 1px solid #dcdcde;
}

.evge-migration-wizard-failed-item:last-child {
	border-bottom: none;
}

.evge-migration-wizard-failed-item-header {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: baseline;
}

.evge-migration-wizard-failed-item-type {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #646970;
}

.evge-migration-wizard-failed-item-label {
	font-weight: 600;
	color: #1d2327;
}

.evge-migration-wizard-failed-item-error {
	margin: 6px 0 0;
	font-size: 13px;
	color: #646970;
}

.evge-migration-wizard-failed-items-note {
	margin: 10px 0 0;
	font-size: 13px;
	color: #646970;
}

.evge-support-migration .evge-section-header-icon svg {
	width: 20px;
	height: 20px;
	color: #D37362;
}

.evge-support-migration-actions .evge-support-page-button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	margin: 0;
	font-family: inherit;
	font-size: 13px;
	line-height: 30px;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}

.evge-support-migration-actions .evge-support-page-button:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}
