/**
 * AmbassadorHub – Wizard styles
 *
 * The wizard sits inside the normal WordPress admin interface (sidebar visible,
 * toolbar visible) and uses the shared AdminPage::header() banner — the same
 * dark gradient header as every other AmbassadorHub admin page.
 *
 * Structure (within .wrap, after AdminPage::header()):
 *   .ambh-wizard-container     Centres the card (max 620px)
 *     .ambh-wizard-card        White card, matches other plugin cards
 *       .ambh-wizard-dots
 *       .ambh-wizard-card__body
 *         .ambh-wizard-step-form
 *           .ambh-wizard-step__content
 *           .ambh-wizard-card__footer
 */


/* ==========================================================================
   Card — matches the visual style of other plugin admin cards
   ========================================================================== */

.ambh-wizard-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* ==========================================================================
   Progress dots
   ========================================================================== */

.ambh-wizard-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 20px 32px 0;
	flex-wrap: wrap;
}

.ambh-wizard-dot {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f0f0f1;
	border: 2px solid #dcdcde;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 600;
	color: #646970;
	cursor: default;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ambh-wizard-dot.is-active {
	background: var(--wp-admin-theme-color);
	border-color: var(--wp-admin-theme-color);
	color: #fff;
}

.ambh-wizard-dot.is-done {
	background: #00a32a;
	border-color: #00a32a;
	color: #fff;
}

.ambh-wizard-dot.is-done .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* ==========================================================================
   Body
   ========================================================================== */

.ambh-wizard-card__body {
	padding: 24px 32px 0;
	flex: 1;
}

.ambh-wizard-step__title {
	font-size: 17px;
	font-weight: 600;
	color: #1d2327;
	margin: 0 0 12px;
}

.ambh-wizard-step__content {
	color: #3c434a;
	line-height: 1.6;
}

.ambh-wizard-step__content p:first-child {
	margin-top: 0;
}

.ambh-wizard-step__content .description {
	color: #646970;
	font-style: normal;
}

/* Page status list (CreatePagesStep) */
.ambh-wizard-pages-list {
	list-style: none;
	margin: 12px 0;
	padding: 0;
}

.ambh-wizard-pages-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f1;
}

.ambh-wizard-pages-list li:last-child {
	border-bottom: none;
}

.ambh-wizard-page-icon {
	font-size: 16px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.ambh-wizard-page-icon--done {
	color: #00a32a;
}

.ambh-wizard-page-icon--pending {
	color: #646970;
}

/* Disclosure list */
.ambh-wizard-telemetry-list {
	margin: 10px 0 16px 0;
	padding-left: 20px;
	color: #3c434a;
}

.ambh-wizard-telemetry-list li {
	margin-bottom: 4px;
}

/* Status badge */
.ambh-wizard-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 3px;
	margin-bottom: 12px;
}

.ambh-wizard-status--done {
	background: #edfaef;
	color: #00a32a;
}

.ambh-wizard-status--pending {
	background: #f0f0f1;
	color: #646970;
}

/* ==========================================================================
   Footer / navigation
   ========================================================================== */

.ambh-wizard-card__footer {
	margin-top: 24px;
	padding: 16px 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ambh-wizard-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ambh-wizard-skip-btn.button {
	color: #646970;
	border-color: #dcdcde;
}

.ambh-wizard-skip-btn.button:hover {
	color: #1d2327;
	border-color: #8c8f94;
}

.ambh-wizard-step-count {
	font-size: 12px;
	color: #646970;
	margin: 0;
}

/* ==========================================================================
   Welcome step illustration
   ========================================================================== */

.ambh-wizard-welcome-icon {
	width: 48px;
	height: 48px;
	display: block;
	margin: 0 0 14px;
}

/* ==========================================================================
   Notices within wizard (test email result, etc.)
   ========================================================================== */

.ambh-wizard-notice {
	border-left: 4px solid #dcdcde;
	background: #f0f0f1;
	padding: 8px 12px;
	margin-bottom: 14px;
	border-radius: 0 3px 3px 0;
}

.ambh-wizard-notice--success {
	border-color: #00a32a;
	background: #edfaef;
	color: #007017;
}

.ambh-wizard-notice--error {
	border-color: #d63638;
	background: #fcf0f1;
	color: #8a1f1f;
}

/* ==========================================================================
   PSP link button
   ========================================================================== */

.ambh-wizard-psp-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 10px;
}

/* ==========================================================================
   Opt-in checkbox area
   ========================================================================== */

.ambh-wizard-optin-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 600;
	color: #1d2327;
	cursor: pointer;
	margin-bottom: 4px;
}

.ambh-wizard-optin-label input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
}
