/* ==========================================================================
   ImproveSEO Onboarding Wizard — Styles
   Scoped inside #improveseo-onboarding-wrap to avoid leaking into WP admin.
   Brand palette: primary #1C7293 · dark #0B132B · mint #2EC4B6 · bg #FAFAFB
   ========================================================================== */

/* ── Root layout ─────────────────────────────────────────────────────────── */
.improveseo-onboarding-body {
	background: #FAFAFB;
	margin: 0;
	padding: 0;
}

#improveseo-onboarding-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

/* ── Screen wrapper ──────────────────────────────────────────────────────── */
.iseo-screen {
	width: 100%;
	max-width: 520px;
	animation: iseoFadeIn 0.25s ease;
}

@keyframes iseoFadeIn {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── Card ────────────────────────────────────────────────────────────────── */
.iseo-card {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	padding: 40px 48px;
}

.iseo-card-center {
	text-align: center;
}

@media (max-width: 480px) {
	.iseo-card {
		padding: 28px 24px;
	}
}

/* ── Logo ────────────────────────────────────────────────────────────────── */
.iseo-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
}

.iseo-logo img {
	height: 36px;
	width: auto;
}

.iseo-logo-text {
	font-size: 20px;
	font-weight: 700;
	color: #0B132B;
	letter-spacing: -0.3px;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
.iseo-headline {
	font-size: 24px;
	font-weight: 700;
	color: #0B132B;
	margin: 0 0 12px;
	line-height: 1.3;
}

.iseo-subline {
	font-size: 15px;
	color: #555;
	line-height: 1.6;
	margin: 0 0 24px;
}

.iseo-subline-sm {
	font-size: 13px;
	color: #777;
	line-height: 1.5;
	margin: 8px 0 24px;
}

/* ── Benefits list ───────────────────────────────────────────────────────── */
.iseo-benefits {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
}

.iseo-benefits li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #444;
	padding: 6px 0;
}

.iseo-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: #E0F7F5;
	color: #2EC4B6;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.iseo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	padding: 10px 20px;
	cursor: pointer;
	transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
	text-decoration: none;
	border: none;
	outline: none;
	font-family: inherit;
}

.iseo-btn:active {
	transform: scale(0.98);
}

.iseo-btn-primary {
	background: #1C7293;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(28, 114, 147, 0.3);
}

.iseo-btn-primary:hover:not(:disabled) {
	background: #155f7a;
	box-shadow: 0 4px 12px rgba(28, 114, 147, 0.4);
}

.iseo-btn-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.iseo-btn-ghost {
	background: transparent;
	color: #1C7293;
	border: 1.5px solid #1C7293;
}

.iseo-btn-ghost:hover {
	background: #EBF5F8;
}

.iseo-btn-large {
	width: 100%;
	padding: 14px 20px;
	font-size: 16px;
	margin-bottom: 12px;
}

.iseo-btn-sm {
	padding: 6px 14px;
	font-size: 13px;
	margin-left: 8px;
}

.iseo-button-row {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.iseo-button-row .iseo-btn-primary {
	flex: 1;
	width: auto;
	margin-bottom: 0;
}

/* ── Links ───────────────────────────────────────────────────────────────── */
.iseo-link-muted {
	display: block;
	text-align: center;
	color: #888;
	font-size: 13px;
	text-decoration: none;
	margin-top: 16px;
}

.iseo-link-muted:hover {
	color: #555;
	text-decoration: underline;
}

.iseo-skip-line {
	text-align: center;
	margin-top: 16px;
}

.iseo-skip-line a {
	color: #999;
	font-size: 12px;
	text-decoration: none;
}

.iseo-skip-line a:hover {
	color: #666;
	text-decoration: underline;
}

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.iseo-spinner {
	width: 56px;
	height: 56px;
	border: 4px solid #e3e8f0;
	border-top-color: #1C7293;
	border-radius: 50%;
	animation: iseoSpin 0.8s linear infinite;
	margin: 0 auto 8px;
}

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

/* ── Success icon ────────────────────────────────────────────────────────── */
.iseo-success-icon {
	width: 64px;
	height: 64px;
	background: #E0F7F5;
	color: #2EC4B6;
	border-radius: 50%;
	font-size: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-weight: 700;
}

/* ── Rocket icon ─────────────────────────────────────────────────────────── */
.iseo-rocket-icon {
	font-size: 48px;
	margin-bottom: 16px;
}

/* ── Suggested keyword pill ──────────────────────────────────────────────── */
.iseo-suggested-keyword {
	background: #EBF5F8;
	border: 1.5px solid #9ECFE6;
	border-radius: 8px;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #155f7a;
	margin: 0 0 12px;
	word-break: break-word;
}

/* ── Welcome name ────────────────────────────────────────────────────────── */
.iseo-welcome-name {
	font-size: 15px;
	color: #555;
	margin-bottom: 28px;
}

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.iseo-alert {
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 16px;
}

.iseo-alert-info {
	background: #EBF5F8;
	border: 1px solid #9ECFE6;
	color: #155f7a;
}

.iseo-alert-link {
	font-weight: 600;
	text-decoration: underline;
	color: inherit;
	margin-left: 6px;
	white-space: nowrap;
}

.iseo-alert-warning {
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
}

.iseo-alert-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

/* ── Form fields ─────────────────────────────────────────────────────────── */
.iseo-field {
	margin-bottom: 18px;
}

.iseo-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
}

.iseo-optional {
	font-weight: 400;
	color: #9ca3af;
}

.iseo-input,
.iseo-select {
	width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	font-family: inherit;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	color: #0B132B;
	box-sizing: border-box;
	transition: border-color 0.15s, box-shadow 0.15s;
	-webkit-appearance: none;
	appearance: none;
}

.iseo-input:focus,
.iseo-select:focus {
	outline: none;
	border-color: #1C7293;
	box-shadow: 0 0 0 3px rgba(28, 114, 147, 0.12);
}

.iseo-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}

.iseo-readonly-info {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 4px;
}

.iseo-readonly-info p {
	margin: 0 0 6px;
	font-size: 13px;
	color: #555;
}

.iseo-readonly-info p:last-child {
	margin-bottom: 0;
}

.iseo-readonly-info .iseo-label {
	display: inline;
	margin-right: 6px;
}

/* ── Credit awareness notice (Screen 3) ─────────────────────────────────── */
.iseo-credit-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #EBF5F8;
	border: 1px solid #9ECFE6;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 13px;
	color: #1C7293;
	line-height: 1.5;
	margin-bottom: 24px;
	text-align: left;
}

.iseo-credit-icon {
	font-size: 16px;
	flex-shrink: 0;
	margin-top: 1px;
}

/* ── Guide tip (Screen 5) ───────────────────────────────────────────────── */
.iseo-guide-tip {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #EBF5F8;
	border: 1px solid #9ECFE6;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 13px;
	color: #1C7293;
	line-height: 1.5;
	margin-bottom: 20px;
	text-align: left;
}

.iseo-guide-tip-icon {
	font-size: 16px;
	flex-shrink: 0;
	margin-top: 1px;
}
