/**
 * Oliver POS — Billing admin page styles.
 *
 * Owns the SaaS subscription dashboard:
 *
 *   - Page header with a right-aligned "Manage your current plan" action.
 *   - Plan card with a tier-keyed accent strip (Free=slate, Pro=indigo,
 *     Lifetime=emerald, Problem=amber/red) and a big price display.
 *   - Feature chip row sourced from the Phoenix `features` map.
 *   - Status banner with an inline "Update payment method" CTA.
 *   - Claim-code activation card on the Free state (replaces the
 *     legacy embedded `<stripe-pricing-table>` — plan selection lives
 *     on oliverpos.com/pricing now).
 *
 * @package    OliverPOS
 * @subpackage OliverPOS/assets/css
 * @since      2.2.0
 */

/* ── Base page shell ────────────────────────────────────────── */

#oliver-pos-billing.oliver-pos-billing-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;
	color: #1e293b;
}

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

#oliver-pos-billing .obill-env-badge {
	padding: 0 32px;
}

/* ── Dashboard layout ───────────────────────────────────────── */

#oliver-pos-billing .obill-dashboard {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 32px;
	max-width: 1040px;
	margin: 0 auto;
}

#oliver-pos-billing .obill-dashboard-header {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

#oliver-pos-billing .obill-dashboard-header-text {
	flex: 1 1 auto;
	min-width: 0;
}

#oliver-pos-billing .obill-dashboard-title {
	font-size: 28px;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
	line-height: 1.2;
}

#oliver-pos-billing .obill-dashboard-sub {
	color: #64748b;
	font-size: 14px;
	margin: 4px 0 0;
}

#oliver-pos-billing .obill-dashboard-header-actions {
	flex: 0 0 auto;
	align-self: center;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}

/* Refresh button is a link — strip default anchor styling so it sits
   flush next to the Manage button. */
#oliver-pos-billing .obill-btn-refresh {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 1;
}

#oliver-pos-billing .obill-btn-refresh:hover,
#oliver-pos-billing .obill-btn-refresh:focus {
	text-decoration: none;
}

/* ── Card primitive ─────────────────────────────────────────── */

#oliver-pos-billing .obill-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	border: 1px solid #e2e8f0;
}

/* ── Plan card (paid / problem / lifetime / free) ───────────── */

#oliver-pos-billing .obill-plan-card {
	position: relative;
	overflow: hidden;
	padding: 0;
}

#oliver-pos-billing .obill-plan-card-accent {
	height: 6px;
	width: 100%;
	background: linear-gradient(90deg, #64748b 0%, #94a3b8 100%);
}

#oliver-pos-billing .obill-plan-card-body {
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Tier accents — each picks the gradient that paints the top strip. */

#oliver-pos-billing .obill-plan-card.obill-tier-free .obill-plan-card-accent {
	background: linear-gradient(90deg, #64748b 0%, #94a3b8 100%);
}

#oliver-pos-billing .obill-plan-card.obill-tier-pro .obill-plan-card-accent {
	background: linear-gradient(90deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%);
}

#oliver-pos-billing .obill-plan-card.obill-tier-lifetime .obill-plan-card-accent {
	background: linear-gradient(90deg, #047857 0%, #10b981 50%, #34d399 100%);
}

#oliver-pos-billing .obill-plan-card.obill-tier-problem .obill-plan-card-accent {
	background: linear-gradient(90deg, #b45309 0%, #f59e0b 100%);
}

/* Catch-all for unknown plan slugs Phoenix may add later. Reuses the
   Pro tier's indigo gradient so unknown tiers still read as the billing
   page's "blue-purpleish" accent language rather than the WordPress
   admin / WooCommerce default blue. */
#oliver-pos-billing .obill-plan-card[class*="obill-tier-"]:not(.obill-tier-free):not(.obill-tier-pro):not(.obill-tier-lifetime):not(.obill-tier-problem) .obill-plan-card-accent {
	background: linear-gradient(90deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%);
}

/* Plan header (label + name row). */

#oliver-pos-billing .obill-plan-header {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

#oliver-pos-billing .obill-plan-label {
	display: block;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.06em;
	color: #64748b;
	font-weight: 600;
}

#oliver-pos-billing .obill-plan-name-row {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

#oliver-pos-billing .obill-plan-name {
	font-size: 26px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.1;
}

#oliver-pos-billing .obill-plan-interval {
	font-size: 14px;
	color: #64748b;
	font-weight: 500;
}

#oliver-pos-billing .obill-plan-lifetime-tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Big price display under the plan name. */

#oliver-pos-billing .obill-plan-price-row {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 6px;
	margin-top: 4px;
}

#oliver-pos-billing .obill-plan-price {
	font-size: 36px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1;
	letter-spacing: -0.02em;
}

#oliver-pos-billing .obill-plan-price-cadence {
	font-size: 16px;
	font-weight: 500;
	color: #64748b;
}

/* Next-charge / cancel-at-period-end / lifetime-purchased-on copy. */

#oliver-pos-billing .obill-plan-next-charge {
	margin: 0;
	font-size: 14px;
	color: #475569;
}

#oliver-pos-billing .obill-plan-next-charge strong {
	color: #0f172a;
	font-weight: 600;
}

/* Lifetime celebration copy. */

#oliver-pos-billing .obill-lifetime-message {
	margin: 0;
	font-size: 15px;
	color: #1e293b;
	font-weight: 500;
}

/* Free-state hint copy. */

#oliver-pos-billing .obill-free-message {
	margin: 0;
	font-size: 14px;
	color: #475569;
}

/* ── Feature chip row ───────────────────────────────────────── */

#oliver-pos-billing .obill-feature-chips {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

#oliver-pos-billing .obill-feature-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	font-size: 13px;
	color: #1e293b;
	line-height: 1.2;
}

#oliver-pos-billing .obill-feature-chip-check {
	color: #047857;
	font-weight: 700;
	font-size: 12px;
	line-height: 1;
}

#oliver-pos-billing .obill-feature-chip-label {
	font-weight: 500;
}

/* ── Buttons ────────────────────────────────────────────────── */

/* Primary CTA — brand turquoise (matches .oliver-plan-badge and the
   Plan_Badge banner CTA) so the billing page reads on-brand instead of
   inheriting the WordPress / WooCommerce default blue. */
#oliver-pos-billing .obill-btn-primary {
	padding: 10px 18px;
	border-radius: 8px;
	background: #14BDD1;
	color: #fff;
	border: none;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 120ms ease-in-out, box-shadow 120ms ease-in-out;
}

#oliver-pos-billing .obill-btn-primary:hover {
	background: #0FA1B3;
}

#oliver-pos-billing .obill-btn-primary:focus-visible {
	outline: 2px solid rgba(20, 189, 209, 0.55);
	outline-offset: 2px;
}

#oliver-pos-billing .obill-btn-primary[disabled],
#oliver-pos-billing .obill-btn-primary[aria-busy="true"] {
	opacity: 0.6;
	cursor: wait;
}

#oliver-pos-billing .obill-btn-secondary {
	padding: 10px 18px;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
	border: 1px solid #cbd5e1;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}

#oliver-pos-billing .obill-btn-secondary:hover {
	background: #f1f5f9;
}

#oliver-pos-billing .obill-btn-secondary:focus-visible {
	outline: 2px solid #cbd5e1;
	outline-offset: 2px;
}

#oliver-pos-billing .obill-btn-secondary[disabled],
#oliver-pos-billing .obill-btn-secondary[aria-busy="true"] {
	opacity: 0.6;
	cursor: wait;
}

/* Header Manage button — brand turquoise → deep-teal gradient, mirroring
   the Plan_Badge banner CTA so the page header reads as the same brand
   family as the rest of the admin promo surfaces. */

#oliver-pos-billing .obill-btn-manage {
	padding: 10px 20px;
	border-radius: 10px;
	background: linear-gradient(135deg, #14BDD1 0%, #1F5160 100%);
	box-shadow: 0 1px 2px rgba(15, 35, 43, 0.16);
}

#oliver-pos-billing .obill-btn-manage:hover {
	background: linear-gradient(135deg, #0FA1B3 0%, #163E4A 100%);
}

#oliver-pos-billing .obill-btn-manage:focus-visible {
	outline: 2px solid rgba(20, 189, 209, 0.55);
	outline-offset: 2px;
}

/* ── Status banner (past_due / canceled / unpaid) ───────────── */

#oliver-pos-billing .obill-status-banner {
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 14px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

#oliver-pos-billing .obill-status-text {
	flex: 1 1 auto;
	min-width: 0;
}

#oliver-pos-billing .obill-status-banner-cta {
	flex: 0 0 auto;
	padding: 8px 14px;
	border-radius: 8px;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: background-color 120ms ease-in-out;
}

#oliver-pos-billing .obill-status-banner-cta:hover {
	background: rgba(15, 23, 42, 0.06);
}

#oliver-pos-billing .obill-status-banner-cta:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

#oliver-pos-billing .obill-status-banner-cta[disabled],
#oliver-pos-billing .obill-status-banner-cta[aria-busy="true"] {
	opacity: 0.6;
	cursor: wait;
}

#oliver-pos-billing .obill-status-banner.obill-status-past_due {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
}

#oliver-pos-billing .obill-status-banner.obill-status-canceled {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

#oliver-pos-billing .obill-status-banner.obill-status-unpaid {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* ── Free-state CTA + Claim card ─────────────────────────────── */
/*
 * Plan selection lives on oliverpos.com/pricing — the Free state
 * just hands the merchant a primary "View plans" outbound button
 * and an "Already bought?" claim form that posts to admin-post.php.
 */

#oliver-pos-billing .obill-free-cta-row {
	margin: 8px 0 0;
}

#oliver-pos-billing .obill-btn-view-plans {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}

#oliver-pos-billing .obill-btn-view-plans:hover,
#oliver-pos-billing .obill-btn-view-plans:focus {
	text-decoration: none;
	color: #fff;
}

#oliver-pos-billing .obill-claim-card {
	position: relative;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* "or" divider sits inside the card, above the heading. */
#oliver-pos-billing .obill-claim-divider {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: -8px 0 4px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 11px;
	font-weight: 600;
}

#oliver-pos-billing .obill-claim-divider::before,
#oliver-pos-billing .obill-claim-divider::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #e2e8f0;
}

#oliver-pos-billing .obill-claim-divider span {
	padding: 0 12px;
}

#oliver-pos-billing .obill-claim-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#oliver-pos-billing .obill-claim-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
}

#oliver-pos-billing .obill-claim-sub {
	margin: 0;
	color: #475569;
	font-size: 14px;
	line-height: 1.5;
}

#oliver-pos-billing .obill-claim-form {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 4px 0 0;
}

#oliver-pos-billing .obill-claim-input {
	flex: 1 1 320px;
	min-width: 240px;
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #fff;
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 14px;
	letter-spacing: 0.04em;
	color: #0f172a;
	transition: border-color 120ms ease-in-out, box-shadow 120ms ease-in-out;
}

#oliver-pos-billing .obill-claim-input::placeholder {
	color: #94a3b8;
	letter-spacing: 0.04em;
}

#oliver-pos-billing .obill-claim-input:focus {
	outline: none;
	border-color: #4f46e5;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

#oliver-pos-billing .obill-claim-input[aria-invalid="true"] {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.16);
}

#oliver-pos-billing .obill-btn-activate {
	flex: 0 0 auto;
}

#oliver-pos-billing .obill-claim-hint {
	flex: 1 1 100%;
	margin: 4px 0 0;
	font-size: 13px;
	color: #b91c1c;
}

#oliver-pos-billing .obill-claim-hint[hidden] {
	display: none;
}

/* The claimed-banner is rendered as a stock wp-admin .notice via
   admin_notices, but pull it inside the dashboard padding so it
   visually sits with the cards rather than floating up at the top
   of the page. WP places admin notices outside .wrap; we don't move
   them here, just make sure the spacing works in the default position. */

/* ── Inline message slot ────────────────────────────────────── */

#oliver-pos-billing .obill-message {
	padding: 12px 16px;
	border-radius: 10px;
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
	font-size: 14px;
}

#oliver-pos-billing .obill-message[hidden] {
	display: none;
}

/* ── Register-CTA (unregistered Billing screen) ─────────────── */
/*
 * Shown to merchants who have never registered the site with
 * phoenix.oliverpos.com. The CTA is the only path that transmits
 * site URL + email to the Phoenix backend; clicking the button
 * reloads the page so the regular dashboard takes over.
 *
 * Visual treatment intentionally mirrors the dashboard onboarding
 * hero card (`.oliver-account` in onboarding.css) — generous
 * whitespace, soft card chrome, on-brand turquoise CTA, editable
 * email + collapsible disclosure — so a merchant who lands here
 * from the Billing menu doesn't get a visually different "second"
 * account-create surface.
 */

#oliver-pos-billing .obill-register-cta {
	max-width: 720px;
	margin: 32px auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#oliver-pos-billing .obill-register-hero {
	padding: 0 4px;
}

#oliver-pos-billing .obill-register-headline {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0f172a;
}

#oliver-pos-billing .obill-register-subhead {
	margin: 0;
	color: #475569;
	font-size: 15px;
	line-height: 1.55;
}

#oliver-pos-billing .obill-register-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04),
	            0 8px 24px rgba(15, 23, 42, 0.06);
	padding: 28px 32px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#oliver-pos-billing .obill-register-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 420px;
}

#oliver-pos-billing .obill-register-field-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
	font-weight: 600;
}

#oliver-pos-billing .obill-register-email {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
	font: inherit;
	font-size: 15px;
	line-height: 1.3;
	transition: border-color 120ms ease, box-shadow 120ms ease;
}

#oliver-pos-billing .obill-register-email:hover {
	border-color: #94a3b8;
}

#oliver-pos-billing .obill-register-email:focus,
#oliver-pos-billing .obill-register-email:focus-visible {
	outline: none;
	border-color: #14BDD1;
	box-shadow: 0 0 0 3px rgba(20, 189, 209, 0.18);
}

#oliver-pos-billing .obill-register-email[aria-invalid="true"] {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

#oliver-pos-billing .obill-register-action {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin-top: 4px;
}

#oliver-pos-billing .obill-register-btn {
	padding: 13px 22px;
	font-size: 15px;
	border-radius: 10px;
	background: linear-gradient(135deg, #14BDD1 0%, #1F5160 100%);
	box-shadow: 0 1px 2px rgba(15, 35, 43, 0.16);
}

#oliver-pos-billing .obill-register-btn:hover {
	background: linear-gradient(135deg, #0FA1B3 0%, #163E4A 100%);
}

#oliver-pos-billing .obill-register-pills {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

#oliver-pos-billing .obill-register-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #334155;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

#oliver-pos-billing .obill-register-pill::before {
	content: "✓";
	color: #047857;
	margin-right: 6px;
	font-weight: 700;
}

#oliver-pos-billing .obill-register-message {
	margin-top: 4px;
}

#oliver-pos-billing .obill-register-disclosure {
	margin-top: 14px;
	border-top: 1px solid #eef2f7;
	padding-top: 16px;
}

#oliver-pos-billing .obill-register-disclosure-toggle {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	padding: 6px 0;
	color: #334155;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	letter-spacing: 0.01em;
}

#oliver-pos-billing .obill-register-disclosure-toggle:hover {
	color: #0f172a;
}

#oliver-pos-billing .obill-register-disclosure-toggle:focus-visible {
	outline: 2px solid #14BDD1;
	outline-offset: 2px;
	border-radius: 4px;
}

#oliver-pos-billing .obill-register-disclosure-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 6px;
	background: #f1f5f9;
	color: #334155;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
}

#oliver-pos-billing .obill-register-disclosure-body {
	margin-top: 12px;
	padding: 16px 18px;
	background: #f8fafb;
	border: 1px solid #eef2f7;
	border-radius: 12px;
	color: #334155;
	font-size: 13px;
	line-height: 1.55;
}

#oliver-pos-billing .obill-register-disclosure-lede {
	margin: 0 0 10px;
}

#oliver-pos-billing .obill-register-disclosure-list {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: grid;
	gap: 6px;
}

#oliver-pos-billing .obill-register-disclosure-list li {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: baseline;
}

#oliver-pos-billing .obill-register-disclosure-list code {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 1px 8px;
	font-size: 12px;
	color: #0f172a;
	word-break: break-all;
}

#oliver-pos-billing .obill-register-disclosure-note {
	margin: 0;
	color: #64748b;
	font-size: 12px;
}

@media screen and (max-width: 640px) {
	#oliver-pos-billing .obill-register-card {
		padding: 22px 20px 20px;
	}

	#oliver-pos-billing .obill-register-headline {
		font-size: 24px;
	}

	#oliver-pos-billing .obill-register-field {
		max-width: 100%;
	}

	#oliver-pos-billing .obill-register-btn {
		width: 100%;
		text-align: center;
	}
}

/* ── Free / Lifetime variants ───────────────────────────────── */

#oliver-pos-billing .obill-free-card .obill-plan-card-body {
	padding: 24px 32px;
	gap: 12px;
}

#oliver-pos-billing .obill-lifetime-card .obill-plan-card-body {
	gap: 12px;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media screen and (max-width: 782px) {
	#oliver-pos-billing .obill-dashboard {
		padding: 20px;
	}

	#oliver-pos-billing .obill-dashboard-header {
		flex-direction: column;
		align-items: stretch;
	}

	#oliver-pos-billing .obill-dashboard-header-actions {
		align-self: stretch;
		flex-direction: column;
		gap: 8px;
	}

	#oliver-pos-billing .obill-btn-manage,
	#oliver-pos-billing .obill-btn-refresh {
		width: 100%;
		justify-content: center;
	}
}

@media screen and (max-width: 640px) {
	#oliver-pos-billing .obill-dashboard {
		padding: 16px;
		gap: 16px;
	}

	#oliver-pos-billing .obill-plan-card-body,
	#oliver-pos-billing .obill-claim-card {
		padding: 20px;
	}

	#oliver-pos-billing .obill-plan-name {
		font-size: 22px;
	}

	#oliver-pos-billing .obill-plan-price {
		font-size: 30px;
	}

	#oliver-pos-billing .obill-status-banner {
		flex-direction: column;
		align-items: stretch;
	}

	#oliver-pos-billing .obill-status-banner-cta {
		width: 100%;
	}

	#oliver-pos-billing .obill-claim-form {
		flex-direction: column;
		align-items: stretch;
	}

	#oliver-pos-billing .obill-claim-input,
	#oliver-pos-billing .obill-btn-activate {
		width: 100%;
	}
}

/* ── Phoenix pairing activity (device diagnostic timeline) ────── */

#oliver-pos-billing .obill-phoenix-activity {
	margin-top: 32px;
	padding: 20px 24px 24px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

#oliver-pos-billing .obill-phoenix-activity-header {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 16px;
}

#oliver-pos-billing .obill-phoenix-activity-title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #0f172a;
}

#oliver-pos-billing .obill-phoenix-activity-sub {
	margin: 0;
	font-size: 13px;
	color: #64748b;
	max-width: 720px;
}

#oliver-pos-billing .obill-phoenix-status {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 8px 24px;
	margin: 0 0 16px;
	padding: 12px 16px;
	background: #f8fafb;
	border-radius: 8px;
}

#oliver-pos-billing .obill-phoenix-status-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
}

#oliver-pos-billing .obill-phoenix-status-row dt {
	font-size: 12px;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

#oliver-pos-billing .obill-phoenix-status-row dd {
	margin: 0;
	font-size: 13px;
	color: #0f172a;
}

#oliver-pos-billing .obill-phoenix-activity-empty {
	margin: 0;
	padding: 12px 16px;
	font-size: 13px;
	color: #64748b;
	background: #f8fafb;
	border-radius: 8px;
}

#oliver-pos-billing .obill-phoenix-activity-table {
	margin-top: 4px;
}

#oliver-pos-billing .obill-phoenix-activity-table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
}

#oliver-pos-billing .obill-phoenix-activity-table td {
	font-size: 13px;
	color: #1e293b;
}

#oliver-pos-billing .obill-phoenix-activity-table code {
	font-size: 12px;
	background: transparent;
	color: inherit;
}
