/**
 * Settings Wizard Styles
 */

:root {
	--wz-primary: #032075;
	--wz-primary-hover: #0d2f8d;
	--wz-accent: #ffbd59;
	--wz-accent-hover: #f08c00;
	--wz-warning: #c8102e;
	--wz-warning-hover: #e04841;
	--wz-success: #1e7e34;
	--wz-success-bg: #f0fff0;
	--wz-text-dark: #0a0a0a;
	--wz-text-main: #1d2327;
	--wz-text-muted: #444;
	--wz-border: #ccd0d4;
	--wz-bg-light: #f1f3f5;
}

/* Wizard Container */
.wizard-wrap {
	max-width: 95%;
	margin: 20px auto;
	background: #fff;
	border: 1px solid var(--wz-border);
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 30px;
}

/* Content Area */
.wizard-step h2 {
	color: var(--wz-primary);
	margin-top: 0;
}

.wizard-content {
	padding: 30px 0;
}

.wizard-wrap h1 {
	background: #f1f1f1;
	border-bottom: 1px solid var(--wz-border);
	margin: -30px -30px 0;
	padding: 20px 30px;
	font-size: 24px;
	font-weight: 400;
	color: var(--wz-primary);
}

/* Steps Navigation */
.wizard-steps-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 -30px;
	padding: 20px 30px;
	background: #f9f9f9;
	border-bottom: 1px solid #eee;
	list-style: none;
	gap: 20px;
	flex-wrap: wrap;
}

.wizard-steps-nav li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 10px 15px;
	border-radius: 6px;
	background: #fff;
	border: 2px solid #ddd;
	min-width: 120px;
	transition: all 0.3s ease;
	position: relative;
}

.wizard-steps-nav li.active {
	border-color: var(--wz-primary);
	background: #eef9ff;
	color: var(--wz-primary);
	font-weight: 600;
}

.wizard-steps-nav li.done {
	border-color: var(--wz-success);
	background: var(--wz-success-bg);
	color: var(--wz-success);
}

.wizard-steps-nav li.done::before {
	content: "✓";
	position: absolute;
	top: -8px;
	right: -8px;
	width: 20px;
	height: 20px;
	background: var(--wz-success);
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
	font-weight: bold;
}

.wizard-steps-nav .step-number {
	display: block;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 4px;
	color: var(--wz-text-muted);
}

.wizard-steps-nav li.active .step-number {
	color: var(--wz-primary);
}

.wizard-steps-nav li.done .step-number {
	color: var(--wz-success);
}

.wizard-steps-nav .step-name {
	display: block;
	font-size: 12px;
	line-height: 1.2;
	color: var(--wz-text-main);
}

.wizard-steps-nav li.active .step-name {
	color: var(--wz-primary);
	font-weight: 600;
}

.wizard-steps-nav li.done .step-name {
	color: var(--wz-success);
}

.wizard-steps-nav li.done .step-link {
	display: block;
	padding: 10px;
	margin: -10px;
	text-decoration: none !important;
	color: inherit;
	transition: all 0.2s ease;
	cursor: pointer;
}

.wizard-steps-nav li.done .step-link:hover {
	color: var(--wz-primary);
	text-decoration: none !important;
}

.wizard-steps-nav li.done a.step-link,
.wizard-steps-nav li.done a.step-link:link,
.wizard-steps-nav li.done a.step-link:visited,
.wizard-steps-nav li.done a.step-link:active,
.wizard-steps-nav li.done a.step-link:hover {
	text-decoration: none !important;
}

.wizard-steps-nav li.done:hover {
	background-color: #c3e6cb;
	border-color: var(--wz-success);
}

.wizard-steps-nav li.done .step-link:focus {
	outline: 2px solid var(--wz-primary);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Actions */
.wizard-actions {
	border-top: 1px solid #eee;
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 20px -30px 0;
	padding-left: 30px;
	padding-right: 30px;
}

.wizard-actions .button-primary {
	background-color: var(--wz-primary) !important;
	border-color: var(--wz-primary) !important;
	color: #fff !important;
	text-shadow: none !important;
	box-shadow: none !important;
}

.wizard-actions .button-primary:hover,
.wizard-actions .button-primary:focus {
	background-color: var(--wz-primary-hover) !important;
	border-color: var(--wz-primary-hover) !important;
	color: #fff !important;
}

.wizard-button-skip {
	background-color: #fff !important;
	border-color: var(--wz-warning) !important;
	color: var(--wz-warning) !important;
	text-shadow: none !important;
	box-shadow: none !important;
}

.wizard-button-skip:hover,
.wizard-button-skip:focus {
	background-color: var(--wz-warning) !important;
	border-color: var(--wz-warning) !important;
	color: #fff !important;
}

/* Progress Bar */
.wizard-progress {
	padding: 20px 30px;
	border-bottom: 1px solid #eee;
	background: #fafafa;
	margin: 0 -30px;
}

.wizard-progress-fill {
	height: 100%;
	background-color: var(--wz-primary);
	transition: width 0.3s ease;
}

/* Completion Page Styles */
.wizard-completion-content {
	padding: 30px 0;
}

.wizard-setup-top-actions {
	display: flex;
	justify-content: flex-start;
	gap: 20px;
	margin-bottom: 30px;
}

.wizard-setup-top-actions .button {
	min-height: 50px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	background-color: var(--wz-primary) !important;
	border-color: var(--wz-primary) !important;
	color: #ffffff !important;
	text-shadow: none !important;
	box-shadow: none !important;
	border-radius: 6px;
}

.wizard-setup-top-actions .button:first-child {
	background-color: var(--wz-warning) !important;
	border-color: var(--wz-warning) !important;
}

.wizard-setup-top-actions .button:first-child:hover {
	background-color: var(--wz-warning-hover) !important;
	border-color: var(--wz-warning-hover) !important;
}

.wizard-setup-top-actions .button:hover,
.wizard-setup-top-actions .button:focus {
	background-color: var(--wz-primary-hover) !important;
	border-color: var(--wz-primary-hover) !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.wizard-setup-guidance {
	background: var(--wz-bg-light);
	border: 2px solid var(--wz-primary);
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 30px;
	color: var(--wz-text-main);
}

.wizard-setup-guidance p {
	margin: 0;
	color: var(--wz-text-main);
	font-size: 15px;
}

.wizard-setup-guidance strong {
	color: var(--wz-primary);
}

.wizard-setup-next-actions-horizontal {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wizard-setup-next-actions-horizontal li {
	flex: 1;
	min-width: 200px;
	text-align: center;
}

.wizard-setup-next-actions-horizontal .button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	padding: 10px 15px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.2s ease;
	flex-direction: row;
	gap: 8px;
	background-color: var(--wz-primary) !important;
	border-color: var(--wz-primary) !important;
	color: #ffffff !important;
	text-shadow: none !important;
	box-shadow: none !important;
}

.wizard-setup-next-actions-horizontal li.setup-product .button,
.wizard-setup-next-actions-horizontal li.setup-sections a.button-primary {
	background-color: var(--wz-accent) !important;
	border-color: var(--wz-accent) !important;
	color: var(--wz-text-dark) !important;
}

.wizard-setup-next-actions-horizontal li.setup-product .button:hover,
.wizard-setup-next-actions-horizontal li.setup-sections a.button-primary:hover {
	background-color: var(--wz-accent-hover) !important;
	border-color: var(--wz-accent-hover) !important;
	color: var(--wz-text-dark) !important;
}

.wizard-setup-next-actions-horizontal .button:hover,
.wizard-setup-next-actions-horizontal .button:focus {
	background-color: var(--wz-primary-hover) !important;
	border-color: var(--wz-primary-hover) !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.wizard-setup-next-actions-horizontal .dashicons {
	margin-right: 0;
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.wizard-action-description {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	color: var(--wz-text-muted);
}

.wizard-setup-pro-features {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.wizard-setup-pro-features h3 {
	margin: 0 0 15px 0;
	color: var(--wz-text-main);
	font-size: 1.1em;
	font-weight: 600;
}

.wizard-setup-pro-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wizard-setup-pro-actions li {
	flex: 1;
	min-width: 200px;
	text-align: center;
}

.wizard-setup-pro-actions .button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	padding: 10px 15px;
	font-size: 14px;
	font-weight: 600;
	flex-direction: row;
	gap: 8px;
	background-color: #fff !important;
	border: 1px solid var(--wz-primary) !important;
	color: var(--wz-primary) !important;
	text-shadow: none !important;
	box-shadow: none !important;
}

.wizard-setup-pro-actions .button:hover {
	background-color: var(--wz-primary) !important;
	color: #fff !important;
}

.wizard-setup-pro-actions .dashicons {
	margin-right: 0;
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.wizard-setup-resources {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.wizard-setup-resources h3 {
	margin: 0 0 15px 0;
	color: var(--wz-text-main);
	font-size: 1.1em;
	font-weight: 600;
}

.wizard-setup-resource-links {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wizard-setup-resource-links li {
	flex: 1;
	min-width: 200px;
	text-align: center;
}

.wizard-setup-resource-links .button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 10px 15px;
	min-height: 50px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.2s ease;
	flex-direction: row;
	gap: 8px;
	background-color: #fff !important;
	border: 1px solid var(--wz-primary) !important;
	color: var(--wz-primary) !important;
	text-shadow: none !important;
	box-shadow: none !important;
}

.wizard-setup-resource-links .button:hover {
	background-color: var(--wz-primary) !important;
	color: #fff !important;
}

.wizard-setup-resource-links .dashicons {
	margin-right: 0;
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.wizard-completion-header h1 {
	background: none;
	border: none;
	padding: 0;
	margin: 0 0 15px 0;
	color: var(--wz-primary);
	font-size: 28px;
}

.wizard-completion-message {
	font-size: 16px;
	color: var(--wz-text-muted);
	margin: 0;
	line-height: 1.5;
}

/* ... rest of the code remains the same ... */

.wizard-step.welcome-step h2 {
	font-size: 24px;
	margin-bottom: 20px;
	color: var(--wz-primary);
}

.wizard-step.welcome-step .wizard-step-description {
	font-size: 18px;
	line-height: 1.6;
	max-width: 600px;
	margin: 0 auto 40px auto;
}

/* ... rest of the code remains the same ... */

.wizard-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid var(--wz-primary);
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}