/* Shared wizard chrome: onboarding + migration wizards */

/* WordPress admin resets list styles on ul/ol; set explicitly in wizards. */
.evge-wizard-page .evge-onboarding-migration-choice-list,
.evge-wizard-page .evge-migration-wizard-reassurance-list {
	list-style-type: disc;
	list-style-position: outside;
}

.evge-wizard-page .evge-wizard-success-list,
.evge-wizard-page .evge-migration-wizard-scan-summary,
.evge-wizard-page .evge-migration-wizard-progress-list,
.evge-wizard-page .evge-wizard-substep-list {
	list-style-type: none;
}

.evge-wizard-page .evge-wizard-outer {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.evge-wizard-page .evge-wizard-outer.evge-wizard-outer--wide {
	max-width: 960px;
}

.evge-wizard-header {
	margin-bottom: 28px;
}

.evge-wizard-header-main {
	text-align: center;
}

.evge-wizard-header-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-bottom: 24px;
}

.evge-wizard-logo {
	display: block;
	height: 45px;
	width: auto;
}

.evge-wizard-header-title {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.evge-wizard-header-title-main {
	font-size: 1.5rem;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.2;
}

.evge-wizard-header-title-sub {
	font-size: 0.875rem;
	font-weight: 400;
	color: #646970;
	line-height: 1.2;
}

.evge-wizard-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

.evge-wizard-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #c3c4c7;
	border: 2px solid #c3c4c7;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.evge-wizard-dot-done {
	background: #2271b1;
	border-color: #2271b1;
}

.evge-wizard-dot-current {
	background: #2271b1;
	border-color: #2271b1;
	transform: scale(1.25);
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.3);
}

.evge-wizard-page .evge-wizard-wrap.evge-welcome-screen {
	padding: 40px;
	max-width: 500px;
	margin: 60px auto;
	border-radius: 5px;
	box-sizing: border-box;
	background-color: #fff;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.05);
	color: #003544;
}

.evge-wizard-page .evge-wizard-wrap.evge-welcome-screen.evge-wizard-wrap--wide {
	max-width: 960px;
}

.evge-wizard-page .evge-wizard-wrap .evge-wizard-content {
	background: transparent;
	border: none;
	box-shadow: none;
	padding-left: 0;
	padding-right: 0;
}

.evge-wizard-step-title {
	margin: 0 0 14px;
	font-size: 1.35rem;
}

.evge-wizard-step-body {
	margin: 0 0 8px;
	color: #50575e;
	line-height: 1.5;
	font-size: 15px;
}

.evge-wizard-actions {
	margin-top: 32px;
}

.evge-wizard-actions .button,
.evge-wizard-actions .evge-button {
	display: inline-block;
	padding: 16px 36px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	min-height: 52px;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.evge-processing-wrap-flex {
	position: relative;
	display: inline-flex;
	gap: 10px;
	align-items: center;
}

.evge-processing-wrap-flex.evge-is-processing .evge-spinner-container {
	position: relative;
	top: 0;
	left: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.evge-wizard-page .evge-fade {
	opacity: 0.6;
}

.evge-wizard-page .evge-processing-wrap-flex.evge-is-processing .evge-spinner-circle {
	box-sizing: border-box;
	width: 22px;
	height: 22px;
	border-radius: 100%;
	border: 3px solid rgba(34, 113, 177, 0.2);
	border-top-color: #2271b1;
	animation: evge-wizard-spin 0.8s infinite linear;
}

.evge-wizard-page .evge-is-processing .evge-spinner-container {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

@keyframes evge-wizard-spin {
	100% { transform: rotate(360deg); }
}

.evge-wizard-ajax-message {
	margin-top: 12px;
	font-size: 13px;
}

.evge-wizard-ajax-message.evge-error {
	color: #b32d2e;
}

.evge-wizard-ajax-message.evge-success {
	color: #00a32a;
	text-align: right;
}

.evge-wizard-success-list {
	margin: 16px 0 24px;
	padding-left: 0;
	list-style-type: none;
}

.evge-wizard-success-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
}

.evge-wizard-success-list-icon {
	flex-shrink: 0;
	width: 1.25em;
	height: 1.25em;
	color: #00a32a;
	line-height: 1;
}

.evge-wizard-success-list-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.evge-wizard-cta-footer {
	text-align: right;
	margin-top: 18px;
}

.evge-wizard-cta-footer.evge-wizard-cta-footer--left {
	text-align: left;
}

.evge-wizard-cta-footer.evge-wizard-success-primary {
	margin-top: 20px;
	gap: 12px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	text-align: left;
}

.evge-wizard-cta-with-chevron {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 36px;
	font-size: 17px;
	font-weight: 600;
	min-height: 52px;
	border-radius: 6px;
	text-decoration: none;
}

.evge-wizard-cta-with-chevron .evge-button-carat {
	font-size: 1.1em;
	line-height: 1;
	opacity: 0.9;
}

.evge-wizard-page .button-primary,
.evge-wizard-page .evge-wizard-cta-with-chevron.button-primary,
.evge-wizard-page .evge-button.evge-primary {
	padding: 6px 28px;
	font-weight: normal;
	font-size: 16px;
}

.evge-wizard-btn-small {
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 500;
	min-height: auto;
	border-radius: 4px;
}

.evge-wizard-success-primary .evge-wizard-cta-with-chevron {
	display: inline-flex !important;
	align-items: center;
	gap: 14px;
}

.evge-wizard-success-cta-note {
	margin: 12px 0 20px;
	font-size: 14px;
	color: #50575e;
}

.evge-wizard-success-other-heading {
	font-size: 13px;
	font-weight: 600;
	color: #50575e;
	margin: 24px 0 8px;
	padding: 0;
	line-height: 1.3;
}

.evge-wizard-success-secondary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 0;
}

.evge-wizard-support-footer {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #dcdcde;
	text-align: center;
	font-size: 13px;
	color: #646970;
}

.evge-wizard-support-footer a {
	color: #2271b1;
	text-decoration: none;
}

.evge-wizard-support-footer a:hover,
.evge-wizard-support-footer a:focus {
	text-decoration: underline;
}

/* Clickable step dots (e.g. CSV import wizard) */
.evge-wizard-page .evge-wizard-dot-link {
	text-decoration: none;
	display: inline-flex;
}

/* Numbered sub-steps within a wizard step */
.evge-wizard-page .evge-wizard-substep-list {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.evge-wizard-substep {
	display: flex;
	gap: 16px;
	margin: 0 0 28px;
	padding: 0 0 28px;
	border-bottom: 1px solid #dcdcde;
}

.evge-wizard-substep:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.evge-wizard-substep-marker {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #2271b1;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 28px;
	text-align: center;
}

.evge-wizard-substep-body {
	flex: 1;
	min-width: 0;
}

.evge-wizard-substep-title {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 600;
}

.evge-wizard-substep .evge-wizard-step-body:first-of-type {
	margin-top: 0;
}

.evge-wizard-section-title {
	margin: 24px 0 8px;
	font-size: 1rem;
	font-weight: 600;
}

.evge-wizard-download-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.evge-wizard-cta-footer--split {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	text-align: left;
}

.evge-wizard-callout {
	margin: 16px 0 0;
	padding: 10px 12px;
	background: #fcf9e8;
	border-left: 4px solid #dba617;
	color: #50575e;
}

/* Collapsible advanced / reference panels */
.evge-wizard-advanced {
	margin-top: 12px;
}

.evge-wizard-advanced-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	font-weight: 600;
	padding: 10px 0;
	list-style: none;
}

.evge-wizard-advanced-summary::-webkit-details-marker {
	display: none;
}

.evge-wizard-advanced-carat.evge-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.evge-wizard-advanced-carat svg {
	display: block;
	transition: transform 0.2s ease;
}

.evge-wizard-advanced[open] .evge-wizard-advanced-carat svg {
	transform: rotate(180deg);
}

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

.evge-wizard-ref-section {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #dcdcde;
}

.evge-wizard-ref-section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.evge-wizard-ref-heading {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}

.evge-wizard-ref-count {
	font-weight: 400;
	color: #646970;
}

.evge-wizard-ref-help {
	margin: 0 0 8px;
}

.evge-wizard-ref-search-wrap {
	margin: 0 0 8px;
}

.evge-wizard-ref-search {
	max-width: 240px;
}

.evge-wizard-ref-table {
	margin-top: 0;
}

.evge-wizard-ref-table .evge-wizard-ref-value {
	font-size: 12px;
}

.evge-wizard-ref-copy-col {
	width: 72px;
	text-align: right;
}

.evge-wizard-ref-empty {
	margin: 0;
	color: #646970;
	font-style: italic;
}

.evge-wizard-ref-table tr.is-hidden {
	display: none;
}

.evge-wizard-progress-bar {
	height: 8px;
	background: #dcdcde;
	border-radius: 4px;
	overflow: hidden;
	margin: 8px 0 12px;
}

.evge-wizard-progress-fill {
	display: block;
	height: 100%;
	background: #2271b1;
	border-radius: 4px;
	transition: width 0.3s ease;
}
