/**
 * Oliver Pay admin page styles.
 *
 * Full-width, conversion-optimized layout with trust signals,
 * hero sections, and modern SaaS aesthetics.
 *
 * All rules scoped under #oliver-pos-pay for specificity over WP admin chrome.
 *
 * @package    OliverPOS
 * @subpackage OliverPOS/assets/css
 * @since      2.0.0
 */

/* ── Full-page escape from WP admin chrome ────────────────────── */
#oliver-pos-pay.oliver-pos-pay-fullpage {
	margin: -20px -20px 0 -2px;
	min-height: calc(100vh - 32px);
	background: #f8fafb;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

@media screen and (max-width: 782px) {
	#oliver-pos-pay.oliver-pos-pay-fullpage {
		margin: -10px -10px 0;
		min-height: calc(100vh - 46px);
	}
}

/* ── Progress stepper ─────────────────────────────────────────── */
#oliver-pos-pay .opay-progress {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	padding: 0 32px;
}

#oliver-pos-pay .opay-progress-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 680px;
	margin: 0 auto;
	padding: 16px 0;
	gap: 0;
}

#oliver-pos-pay .opay-progress-step {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

#oliver-pos-pay .opay-progress-indicator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	background: #e2e8f0;
	color: #94a3b8;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

#oliver-pos-pay .opay-progress-step.active .opay-progress-indicator {
	background: var(--oliver-primary, #14BDD1);
	color: #fff;
	box-shadow: 0 0 0 4px rgba(20, 189, 209, 0.2);
}

#oliver-pos-pay .opay-progress-step.completed .opay-progress-indicator {
	background: #28E279;
	color: #fff;
}

#oliver-pos-pay .opay-progress-label {
	font-size: 13px;
	font-weight: 500;
	color: #94a3b8;
}

#oliver-pos-pay .opay-progress-step.active .opay-progress-label {
	color: var(--oliver-primary-dark, #0A8FAF);
	font-weight: 600;
}

#oliver-pos-pay .opay-progress-step.completed .opay-progress-label {
	color: #065f46;
}

#oliver-pos-pay .opay-progress-connector {
	width: 40px;
	height: 2px;
	background: #e2e8f0;
	margin: 0 12px;
	flex-shrink: 0;
	transition: background 0.3s ease;
}

#oliver-pos-pay .opay-progress-connector.completed {
	background: #28E279;
}

@media screen and (max-width: 600px) {
	#oliver-pos-pay .opay-progress {
		padding: 0 16px;
	}

	#oliver-pos-pay .opay-progress-label {
		display: none;
	}

	#oliver-pos-pay .opay-progress-connector {
		width: 24px;
		margin: 0 8px;
	}
}

/* ── Hero section (registration) ──────────────────────────────── */
#oliver-pos-pay .opay-hero {
	background: linear-gradient(135deg, #0F232B 0%, #1a4a5a 40%, #14BDD1 100%);
	padding: 60px 40px 72px;
	position: relative;
	overflow: hidden;
}

#oliver-pos-pay .opay-hero::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(20, 189, 209, 0.15) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

#oliver-pos-pay .opay-hero::after {
	content: "";
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(40, 226, 121, 0.08) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

#oliver-pos-pay .opay-hero-inner {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 60px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: center;
	position: relative;
	z-index: 1;
}

#oliver-pos-pay .opay-hero-badge {
	margin-bottom: 20px;
}

#oliver-pos-pay .opay-hero-badge .opay-powered-by {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

#oliver-pos-pay .opay-hero-badge .opay-stripe-wordmark {
	color: #fff;
	height: 16px;
	width: auto;
}

#oliver-pos-pay .opay-hero-title {
	font-size: 40px;
	font-weight: 800;
	color: #fff;
	line-height: 1.15;
	margin: 0 0 16px;
	letter-spacing: -0.02em;
}

#oliver-pos-pay .opay-hero-subtitle {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.65;
	margin: 0 0 32px;
	max-width: 540px;
}

/* ── Trust badges ─────────────────────────────────────────────── */
#oliver-pos-pay .opay-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

#oliver-pos-pay .opay-trust-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
}

#oliver-pos-pay .opay-trust-badge .opay-check-icon,
#oliver-pos-pay .opay-trust-badge .opay-shield-icon {
	color: #28E279;
	flex-shrink: 0;
}

/* ── Form card (hero right column) ────────────────────────────── */
#oliver-pos-pay .opay-hero-form {
	position: relative;
	z-index: 2;
}

#oliver-pos-pay .opay-form-card {
	background: #fff;
	border-radius: 16px;
	padding: 36px;
	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.15),
		0 1px 3px rgba(0, 0, 0, 0.08);
}

#oliver-pos-pay .opay-form-card h2 {
	font-size: 22px;
	font-weight: 700;
	color: #1F5160;
	margin: 0 0 6px;
}

#oliver-pos-pay .opay-form-card > p {
	font-size: 14px;
	color: #64748b;
	margin: 0 0 24px;
	line-height: 1.5;
}

#oliver-pos-pay .opay-form-card .oliver-pos-pay-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#oliver-pos-pay .opay-form-card .oliver-pos-pay-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

#oliver-pos-pay .opay-form-card .oliver-pos-pay-field label {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
}

#oliver-pos-pay .opay-form-card .oliver-pos-pay-field input[type="text"],
#oliver-pos-pay .opay-form-card .oliver-pos-pay-field input[type="email"] {
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	padding: 11px 14px;
	font-size: 15px;
	color: #1e293b;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
	box-sizing: border-box;
	background: #f8fafc;
}

#oliver-pos-pay .opay-form-card .oliver-pos-pay-field input:focus {
	border-color: var(--oliver-primary, #14BDD1);
	box-shadow: 0 0 0 3px rgba(20, 189, 209, 0.15);
	outline: none;
	background: #fff;
}

#oliver-pos-pay .opay-form-card .oliver-pos-pay-actions {
	padding-top: 4px;
}

#oliver-pos-pay .opay-form-footer {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
	font-size: 12px;
	color: #94a3b8;
}

#oliver-pos-pay .opay-form-footer .opay-shield-icon {
	color: #94a3b8;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

/* ── Primary CTA button ──────────────────────────────────────── */
#oliver-pos-pay .opay-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 13px 28px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, var(--oliver-primary, #14BDD1) 0%, #0a9fb2 100%);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(20, 189, 209, 0.3);
	line-height: 1.4;
	letter-spacing: 0.01em;
}

#oliver-pos-pay .opay-btn-primary:hover {
	background: linear-gradient(135deg, #11a8ba 0%, #088999 100%);
	box-shadow: 0 4px 16px rgba(20, 189, 209, 0.4);
	transform: translateY(-1px);
}

#oliver-pos-pay .opay-btn-primary:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(20, 189, 209, 0.3);
}

#oliver-pos-pay .opay-btn-primary:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

/* ── Features section (below hero) ────────────────────────────── */
#oliver-pos-pay .opay-features-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 40px;
}

#oliver-pos-pay .opay-section-title {
	font-size: 28px;
	font-weight: 700;
	color: #1F5160;
	text-align: center;
	margin: 0 0 40px;
}

#oliver-pos-pay .opay-features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

#oliver-pos-pay .opay-feature-item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 28px 24px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

#oliver-pos-pay .opay-feature-item:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	transform: translateY(-2px);
}

#oliver-pos-pay .opay-feature-icon {
	margin-bottom: 16px;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 189, 209, 0.08);
	border-radius: 12px;
}

#oliver-pos-pay .opay-feature-item h3 {
	font-size: 16px;
	font-weight: 600;
	color: #1F5160;
	margin: 0 0 8px;
}

#oliver-pos-pay .opay-feature-item p {
	font-size: 14px;
	color: #64748b;
	line-height: 1.6;
	margin: 0;
}

/* ── Social proof footer ──────────────────────────────────────── */
#oliver-pos-pay .opay-social-proof {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 32px 40px 48px;
	font-size: 14px;
	color: #94a3b8;
}

#oliver-pos-pay .opay-social-proof-divider {
	color: #cbd5e1;
}

#oliver-pos-pay .opay-social-proof .opay-powered-by {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #94a3b8;
}

#oliver-pos-pay .opay-social-proof .opay-stripe-wordmark {
	color: #94a3b8;
	height: 14px;
	width: auto;
}

/* ── Powered by Stripe (default/inline) ───────────────────────── */
#oliver-pos-pay .opay-powered-by {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	font-weight: 500;
	color: #64748b;
}

#oliver-pos-pay .opay-stripe-wordmark {
	color: #635bff;
	height: 16px;
	width: auto;
}

/* ── Check / shield icons (defaults) ──────────────────────────── */
#oliver-pos-pay .opay-check-icon {
	color: #28E279;
	flex-shrink: 0;
}

#oliver-pos-pay .opay-shield-icon {
	color: var(--oliver-primary, #14BDD1);
	flex-shrink: 0;
}

/* ── Messages ─────────────────────────────────────────────────── */
#oliver-pos-pay .oliver-pos-pay-message {
	margin-top: 16px;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.5;
}

#oliver-pos-pay .oliver-pos-pay-message.oliver-pos-pay-msg-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

#oliver-pos-pay .oliver-pos-pay-message.oliver-pos-pay-msg-success {
	background: #f0fdf4;
	color: #065f46;
	border: 1px solid #bbf7d0;
}

#oliver-pos-pay .oliver-pos-pay-message.oliver-pos-pay-msg-info {
	background: #f0f9ff;
	color: #0369a1;
	border: 1px solid #bae6fd;
}

/* ── Plans state ──────────────────────────────────────────────── */
#oliver-pos-pay .opay-plans-hero {
	padding: 52px 40px 0;
	text-align: center;
}

#oliver-pos-pay .opay-section-subtitle {
	font-size: 16px;
	color: #64748b;
	margin: 8px auto 0;
	max-width: 480px;
	line-height: 1.6;
}

#oliver-pos-pay .opay-plans-container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px;
}

#oliver-pos-pay .oliver-pos-pay-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

#oliver-pos-pay .oliver-pos-pay-plans-loading {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 40px;
	justify-content: center;
	color: #64748b;
	font-size: 14px;
	grid-column: 1 / -1;
}

#oliver-pos-pay .oliver-pos-pay-plan-card {
	background: #fff;
	border: 1.5px solid #e2e8f0;
	border-radius: 16px;
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#oliver-pos-pay .oliver-pos-pay-plan-card:hover {
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

#oliver-pos-pay .oliver-pos-pay-plan-card.recommended {
	border-color: var(--oliver-primary, #14BDD1);
	border-width: 2px;
	position: relative;
	box-shadow: 0 8px 32px rgba(20, 189, 209, 0.12);
}

#oliver-pos-pay .oliver-pos-pay-plan-card.recommended::before {
	content: attr(data-badge);
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, var(--oliver-primary, #14BDD1), #0a9fb2);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 18px;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

#oliver-pos-pay .oliver-pos-pay-plan-name {
	font-size: 18px;
	font-weight: 700;
	color: #1F5160;
	margin-bottom: 10px;
}

#oliver-pos-pay .oliver-pos-pay-plan-price {
	font-size: 36px;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 4px;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

#oliver-pos-pay .oliver-pos-pay-plan-price .interval {
	font-size: 15px;
	font-weight: 400;
	color: #94a3b8;
}

#oliver-pos-pay .oliver-pos-pay-plan-desc {
	font-size: 14px;
	color: #64748b;
	margin-bottom: 20px;
	line-height: 1.5;
}

#oliver-pos-pay .oliver-pos-pay-plan-features {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	flex: 1;
}

#oliver-pos-pay .oliver-pos-pay-plan-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
	font-size: 14px;
	color: #334155;
	line-height: 1.4;
}

#oliver-pos-pay .oliver-pos-pay-plan-features li::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 1px;
	background: #28E279;
	border-radius: 50%;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

#oliver-pos-pay .oliver-pos-pay-plan-action {
	margin-top: auto;
}

#oliver-pos-pay .oliver-pos-pay-plan-action .button {
	width: 100%;
	text-align: center;
	justify-content: center;
	padding: 11px 24px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	height: auto;
	line-height: 1.4;
}

#oliver-pos-pay .oliver-pos-pay-plan-action .button-primary {
	background: linear-gradient(135deg, var(--oliver-primary, #14BDD1) 0%, #0a9fb2 100%);
	border-color: transparent;
	box-shadow: 0 2px 8px rgba(20, 189, 209, 0.3);
}

#oliver-pos-pay .oliver-pos-pay-plan-action .button-primary:hover {
	background: linear-gradient(135deg, #11a8ba 0%, #088999 100%);
	box-shadow: 0 4px 12px rgba(20, 189, 209, 0.4);
}

/* "Included with every plan" section */
#oliver-pos-pay .opay-included-section {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 40px 40px;
}

#oliver-pos-pay .opay-included-title {
	font-size: 20px;
	font-weight: 600;
	color: #1F5160;
	text-align: center;
	margin: 0 0 24px;
}

#oliver-pos-pay .opay-included-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px 24px;
}

#oliver-pos-pay .opay-included-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	color: #334155;
	padding: 10px 0;
}

#oliver-pos-pay .opay-included-item .opay-check-icon {
	width: 18px;
	height: 18px;
}

/* ── Onboarding state (two-column) ────────────────────────────── */
#oliver-pos-pay .opay-onboarding-layout {
	display: grid;
	grid-template-columns: 380px 1fr;
	min-height: calc(100vh - 100px);
}

#oliver-pos-pay .opay-onboarding-sidebar {
	background: linear-gradient(180deg, #0F232B 0%, #1a4a5a 100%);
	padding: 48px 36px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

#oliver-pos-pay .opay-onboarding-title {
	font-size: 28px;
	font-weight: 800;
	color: #fff;
	margin: 0;
	line-height: 1.2;
}

#oliver-pos-pay .opay-onboarding-subtitle {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.65;
	margin: 0;
}

#oliver-pos-pay .opay-onboarding-checklist h3 {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.5);
	margin: 0 0 12px;
}

#oliver-pos-pay .opay-onboarding-checklist ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#oliver-pos-pay .opay-onboarding-checklist li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
}

#oliver-pos-pay .opay-onboarding-checklist .opay-check-icon {
	color: #28E279;
	width: 18px;
	height: 18px;
}

#oliver-pos-pay .opay-security-badges {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: auto;
}

#oliver-pos-pay .opay-security-badge {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

#oliver-pos-pay .opay-security-badge .opay-shield-icon {
	color: rgba(20, 189, 209, 0.8);
	flex-shrink: 0;
	margin-top: 2px;
}

#oliver-pos-pay .opay-security-badge strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
}

#oliver-pos-pay .opay-security-badge span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

#oliver-pos-pay .opay-onboarding-sidebar .opay-powered-by {
	color: rgba(255, 255, 255, 0.5);
}

#oliver-pos-pay .opay-onboarding-sidebar .opay-stripe-wordmark {
	color: rgba(255, 255, 255, 0.7);
}

#oliver-pos-pay .opay-onboarding-main {
	padding: 40px;
	background: #fff;
	min-height: 400px;
}

/* ── Loading state ────────────────────────────────────────────── */
#oliver-pos-pay .oliver-pos-pay-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 48px;
	justify-content: center;
	color: #94a3b8;
	font-size: 14px;
}

#oliver-pos-pay .oliver-pos-pay-component-mount {
	min-height: 200px;
}

/* ── Active state ─────────────────────────────────────────────── */
#oliver-pos-pay .opay-active-section {
	padding: 28px 40px 40px;
	max-width: 1200px;
	margin: 0 auto;
}

/* Success banner */
#oliver-pos-pay .opay-success-banner {
	margin-bottom: 24px;
}

#oliver-pos-pay .opay-success-banner-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
	border: 1px solid #bbf7d0;
	border-radius: 12px;
	padding: 16px 20px;
}

#oliver-pos-pay .opay-success-banner-inner div {
	flex: 1;
}

#oliver-pos-pay .opay-success-banner-inner strong {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #065f46;
	margin-bottom: 2px;
}

#oliver-pos-pay .opay-success-banner-inner span {
	font-size: 13px;
	color: #047857;
}

#oliver-pos-pay .opay-success-dismiss {
	background: none;
	border: none;
	cursor: pointer;
	color: #6ee7b7;
	padding: 4px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.15s;
}

#oliver-pos-pay .opay-success-dismiss:hover {
	color: #065f46;
}

/* Status bar */
#oliver-pos-pay .opay-status-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 12px;
}

#oliver-pos-pay .opay-status-left {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

#oliver-pos-pay .opay-status-item {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	font-size: 13px;
	color: #64748b;
}

#oliver-pos-pay .opay-status-connected {
	font-weight: 600;
	color: #065f46;
}

#oliver-pos-pay .opay-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #28E279;
	box-shadow: 0 0 0 3px rgba(40, 226, 121, 0.2);
}

#oliver-pos-pay .opay-status-account {
	font-family: "SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;
	font-size: 12px;
	color: #94a3b8;
}

#oliver-pos-pay .opay-status-bar .opay-powered-by {
	font-size: 12px;
	color: #94a3b8;
}

#oliver-pos-pay .opay-status-bar .opay-stripe-wordmark {
	color: #94a3b8;
	height: 12px;
}

#oliver-pos-pay .opay-status-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

/* ── Tabs (active state) ──────────────────────────────────────── */
#oliver-pos-pay .opay-tabs-wrapper {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
}

#oliver-pos-pay .oliver-pos-pay-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #f1f5f9;
	padding: 0 8px;
}

#oliver-pos-pay .oliver-pos-pay-tab {
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 500;
	color: #94a3b8;
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}

#oliver-pos-pay .oliver-pos-pay-tab:hover {
	color: #334155;
}

#oliver-pos-pay .oliver-pos-pay-tab.active {
	color: var(--oliver-primary-dark, #0A8FAF);
	border-bottom-color: var(--oliver-primary, #14BDD1);
	font-weight: 600;
}

/* ── Tab panels ───────────────────────────────────────────────── */
#oliver-pos-pay .oliver-pos-pay-tab-panels {
	min-height: 400px;
}

#oliver-pos-pay .oliver-pos-pay-tab-panel {
	display: none;
}

#oliver-pos-pay .oliver-pos-pay-tab-panel.active {
	display: block;
}

/* ── Entrance animation ──────────────────────────────────────── */
#oliver-pos-pay .opay-animate-in {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

#oliver-pos-pay .opay-animate-in.opay-visible {
	opacity: 1;
	transform: translateY(0);
}

#oliver-pos-pay .opay-hero-inner > .opay-hero-content.opay-animate-in {
	transition-delay: 0.1s;
}

#oliver-pos-pay .opay-hero-inner > .opay-hero-form.opay-animate-in {
	transition-delay: 0.25s;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media screen and (max-width: 960px) {
	#oliver-pos-pay .opay-hero-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	#oliver-pos-pay .opay-hero {
		padding: 48px 24px 56px;
	}

	#oliver-pos-pay .opay-hero-title {
		font-size: 32px;
	}

	#oliver-pos-pay .opay-features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	#oliver-pos-pay .opay-onboarding-layout {
		grid-template-columns: 1fr;
	}

	#oliver-pos-pay .opay-onboarding-sidebar {
		padding: 36px 24px;
	}
}

@media screen and (max-width: 782px) {
	#oliver-pos-pay .opay-hero {
		padding: 36px 20px 44px;
	}

	#oliver-pos-pay .opay-hero-title {
		font-size: 26px;
	}

	#oliver-pos-pay .opay-hero-subtitle {
		font-size: 15px;
	}

	#oliver-pos-pay .opay-trust-badges {
		gap: 10px 16px;
	}

	#oliver-pos-pay .opay-trust-badge {
		font-size: 13px;
	}

	#oliver-pos-pay .opay-form-card {
		padding: 28px 24px;
		border-radius: 12px;
	}

	#oliver-pos-pay .opay-features-section {
		padding: 40px 20px;
	}

	#oliver-pos-pay .opay-features-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	#oliver-pos-pay .opay-section-title {
		font-size: 22px;
	}

	#oliver-pos-pay .opay-plans-hero {
		padding: 36px 20px 0;
	}

	#oliver-pos-pay .opay-plans-container {
		padding: 24px 20px;
	}

	#oliver-pos-pay .oliver-pos-pay-plans {
		grid-template-columns: 1fr;
	}

	#oliver-pos-pay .opay-included-section {
		padding: 0 20px 32px;
	}

	#oliver-pos-pay .opay-included-grid {
		grid-template-columns: 1fr 1fr;
	}

	#oliver-pos-pay .opay-social-proof {
		flex-direction: column;
		gap: 8px;
		text-align: center;
		padding: 24px 20px 40px;
		font-size: 13px;
	}

	#oliver-pos-pay .opay-social-proof-divider {
		display: none;
	}

	#oliver-pos-pay .opay-active-section {
		padding: 20px 16px 32px;
	}

	#oliver-pos-pay .opay-status-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	#oliver-pos-pay .opay-status-left {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	#oliver-pos-pay .opay-status-actions {
		width: 100%;
	}

	#oliver-pos-pay .opay-status-actions .button {
		flex: 1;
		text-align: center;
	}

	#oliver-pos-pay .opay-onboarding-main {
		padding: 24px 16px;
	}

	#oliver-pos-pay .opay-tabs-wrapper {
		border-radius: 8px;
	}

	#oliver-pos-pay .oliver-pos-pay-tabs {
		overflow-x: auto;
		padding: 0 4px;
	}
}

@media screen and (max-width: 480px) {
	#oliver-pos-pay .opay-included-grid {
		grid-template-columns: 1fr;
	}

	#oliver-pos-pay .opay-trust-badges {
		flex-direction: column;
		gap: 8px;
	}
}

/* ── State: needs_connect (single-CTA Connect hero) ───────────── */

#oliver-pos-pay .opay-connect-cta {
	padding: 48px 32px 64px;
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

#oliver-pos-pay .opay-connect-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 40px 40px 36px;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

#oliver-pos-pay .opay-connect-header {
	display: flex;
	align-items: center;
	margin-bottom: 18px;
}

#oliver-pos-pay .opay-connect-title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
	color: #0f172a;
	margin: 0 0 10px;
}

#oliver-pos-pay .opay-connect-subtitle {
	font-size: 16px;
	color: #475569;
	line-height: 1.5;
	margin: 0 0 24px;
}

#oliver-pos-pay .opay-connect-bullets {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#oliver-pos-pay .opay-connect-bullets li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: #1e293b;
}

#oliver-pos-pay .opay-connect-bullets .opay-check-icon {
	color: var(--oliver-primary, #14BDD1);
	flex-shrink: 0;
}

#oliver-pos-pay .opay-connect-action {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}

#oliver-pos-pay .opay-connect-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--oliver-primary, #14BDD1);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.06s ease, box-shadow 0.18s ease;
	box-shadow: 0 4px 14px rgba(20, 189, 209, 0.35);
}

#oliver-pos-pay .opay-connect-btn:hover {
	background: var(--oliver-primary-dark, #0A8FAF);
	box-shadow: 0 6px 20px rgba(20, 189, 209, 0.45);
}

#oliver-pos-pay .opay-connect-btn:active {
	transform: translateY(1px);
}

#oliver-pos-pay .opay-connect-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	box-shadow: none;
}

#oliver-pos-pay .opay-connect-meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #64748b;
}

#oliver-pos-pay .opay-connect-meta .opay-shield-icon {
	color: #94a3b8;
	flex-shrink: 0;
}

#oliver-pos-pay .opay-connect-explainer {
	margin-top: 4px;
	border-top: 1px solid #f1f5f9;
	padding-top: 16px;
}

#oliver-pos-pay .opay-connect-explainer summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	list-style: none;
}

#oliver-pos-pay .opay-connect-explainer summary::-webkit-details-marker {
	display: none;
}

#oliver-pos-pay .opay-connect-explainer summary::before {
	content: "▸ ";
	display: inline-block;
	transition: transform 0.18s ease;
}

#oliver-pos-pay .opay-connect-explainer[open] summary::before {
	transform: rotate(90deg);
}

#oliver-pos-pay .opay-connect-explainer p {
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
	margin: 10px 0 0;
}

/* When the embedded onboarding is mounted, the card stretches to fit. */
#oliver-pos-pay .opay-connect-card--mounted {
	padding: 24px;
}

#oliver-pos-pay .opay-connect-mount {
	margin-top: 12px;
}

#oliver-pos-pay .opay-connect-mount:empty {
	display: none;
}

#oliver-pos-pay .opay-connect-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

#oliver-pos-pay .opay-trust-item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

#oliver-pos-pay .opay-trust-item .opay-shield-icon,
#oliver-pos-pay .opay-trust-item .opay-check-icon {
	color: var(--oliver-primary, #14BDD1);
	flex-shrink: 0;
}

#oliver-pos-pay .opay-trust-item div {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

#oliver-pos-pay .opay-trust-item strong {
	font-size: 13px;
	color: #0f172a;
	font-weight: 700;
}

#oliver-pos-pay .opay-trust-item span {
	font-size: 11px;
	color: #64748b;
}

#oliver-pos-pay .opay-message {
	margin-top: 14px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
}

#oliver-pos-pay .opay-msg-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

#oliver-pos-pay .opay-msg-success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

@media screen and (max-width: 640px) {
	#oliver-pos-pay .opay-connect-cta {
		padding: 28px 16px 40px;
	}

	#oliver-pos-pay .opay-connect-card {
		padding: 28px 22px 24px;
		border-radius: 12px;
	}

	#oliver-pos-pay .opay-connect-title {
		font-size: 24px;
	}

	#oliver-pos-pay .opay-connect-trust {
		grid-template-columns: 1fr;
	}
}
