/* ==========================================================================
   My Account redesign (Step 68) - light-mode sidebar + card layout.
   Loaded only on account pages (see inc/myaccount.php). Scoped to
   body.woocommerce-account so nothing outside My Account is touched.
   ========================================================================== */

body.woocommerce-account {
	background: #f4f6f9;
}

/* Step 84: the mobile back arrow is desktop-hidden by default -- only the mobile media
   query (below) turns it on, and only once a phone has a screen open. Without this, the
   link (needed unconditionally in the markup so it survives the AJAX content swap) would
   sit visible at the top of every tab's content on desktop too. */
.priads-mobile-back {
	display: none;
}

/* Step 83: make sure the water-colour background covers the FULL screen on every side --
   left/right of the boxed 1180px content, and all the way down to the footer -- on any
   screen width, not just the ones already tested. The body rule above already does this
   in most cases, but screens much wider than what was tested here could have shown a
   theme/customizer background peeking through instead; these belt-and-suspenders rules
   remove that possibility without changing anything on screens where it already worked. */
html.woocommerce-account,
body.woocommerce-account,
body.woocommerce-account #page,
body.woocommerce-account .hfeed.site {
	background: #f4f6f9 !important;
	min-height: 100%;
}
html.woocommerce-account {
	min-height: 100vh;
}
body.woocommerce-account {
	min-height: 100vh;
}

body.woocommerce-account .woocommerce {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 20px 60px;
	width: 100%;
	box-sizing: border-box;
}

/* ---------- Sidebar ---------- */
body.woocommerce-account .woocommerce-MyAccount-navigation {
	flex: 0 0 258px;
	background: #ffffff;
	border: 1px solid #e7eaf0;
	border-radius: 14px;
	padding: 20px 14px;
	position: sticky;
	top: 24px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.priads-account-nav__user {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 10px 18px;
	margin-bottom: 10px;
	border-bottom: 1px solid #eef0f4;
}

.priads-account-nav__avatar {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 50%;
	background: #0095FF;
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.priads-account-nav__hello {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	min-width: 0;
}

.priads-account-nav__hello-label {
	font-size: 12px;
	color: #8a94a6;
}

.priads-account-nav__hello-name {
	font-size: 14px;
	font-weight: 600;
	color: #1c2433;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 2px 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 9px;
	color: #4b5468;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	opacity: .75;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: #f0f6ff;
	color: #0073e6;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a[aria-current="page"] {
	background: #0095FF;
	color: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a svg,
body.woocommerce-account .woocommerce-MyAccount-navigation li a[aria-current="page"] svg {
	opacity: 1;
}

body.woocommerce-account .priads-nav-item--logout {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #eef0f4;
}

body.woocommerce-account .priads-nav-item--logout a {
	color: #e04848;
}

body.woocommerce-account .priads-nav-item--logout a:hover {
	background: #fdeeee;
	color: #d32f2f;
}

/* ---------- Content column ---------- */
body.woocommerce-account .woocommerce-MyAccount-content {
	flex: 1 1 0%;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid #e7eaf0;
	border-radius: 14px;
	padding: 32px 36px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	transition: opacity .12s ease;
	overflow-x: auto;
}

body.priads-account-loading .woocommerce-MyAccount-content {
	opacity: .45;
}

/* ---------- Dashboard: greeting ---------- */
.priads-dashboard-greeting h2 {
	margin: 0;
	font-size: 21px;
	color: #1c2433;
	flex: 1 1 auto;
	min-width: 0;
}

.priads-dashboard-greeting p {
	margin: 0 0 22px;
	color: #6b7280;
	font-size: 14px;
}

/* Step 96: the greeting title and the profile-completion bar now share one row -- title on
 * the left, bar pinned to the right -- instead of stacking the bar under the subtitle, so the
 * block takes less vertical space. */
.priads-dashboard-greeting__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

/* ---------- Dashboard: stat cards ---------- */
.priads-stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}

.priads-stat-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 16px;
	background: #f8fafc;
	border: 1px solid #eceff3;
	border-radius: 12px;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}

.priads-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(16, 24, 40, 0.07);
}

.priads-stat-card__icon {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: #e7f1ff;
	color: #0095FF;
	display: flex;
	align-items: center;
	justify-content: center;
}

.priads-stat-card__icon svg {
	width: 18px;
	height: 18px;
}

.priads-stat-card__value {
	font-size: 22px;
	font-weight: 700;
	color: #1c2433;
}

.priads-stat-card__label {
	font-size: 13px;
	color: #8a94a6;
}

/* Step 93: "Top up" on the Wallet balance card had no button styling at all -- it was
   rendering as plain text, not the blue pill button in the approved mockup
   (.pr-btn, background #0095FF, white text). */
/* Step 94: "Top up" moved into a header row inside the Wallet card, lined up to the right of
   the icon, instead of sitting under the value\/label (approved Dashboard mockup). */
.priads-stat-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.priads-stat-card__cta {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	background: #0095ff;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	border-radius: 8px;
	transition: background 0.15s ease;
}
.priads-stat-card:hover .priads-stat-card__cta {
	background: #0077cc;
}

/* ---------- Dashboard: summary cards ---------- */
.priads-summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.priads-summary-card {
	background: #f8fafc;
	border: 1px solid #eceff3;
	border-radius: 12px;
	padding: 18px 18px 16px;
}

.priads-summary-card h3 {
	margin: 0 0 10px;
	font-size: 14px;
	color: #1c2433;
}

.priads-summary-card p {
	margin: 0 0 10px;
	font-size: 13.5px;
	line-height: 1.6;
	color: #5c6474;
}

.priads-summary-card a {
	font-size: 13px;
	font-weight: 600;
	color: #0095FF;
	text-decoration: none;
}

.priads-summary-card a:hover {
	text-decoration: underline;
}

/* ---------- Generic content polish (orders table, forms, addresses) ---------- */
body.woocommerce-account table.woocommerce-orders-table,
body.woocommerce-account table.shop_table {
	border: 1px solid #eceff3;
	border-radius: 10px;
	overflow: hidden;
}

body.woocommerce-account table.woocommerce-orders-table th {
	background: #f8fafc;
	color: #5c6474;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: .02em;
}

body.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

body.woocommerce-account .woocommerce-Address {
	background: #f8fafc;
	border: 1px solid #eceff3;
	border-radius: 12px;
	padding: 18px;
}

body.woocommerce-account .woocommerce-Address-title a.edit {
	color: #0095FF;
}

body.woocommerce-account input.input-text,
body.woocommerce-account select,
body.woocommerce-account textarea {
	border: 1px solid #dde1e8 !important;
	border-radius: 8px !important;
	padding: 9px 12px !important;
}

body.woocommerce-account .woocommerce-Button,
body.woocommerce-account button.button {
	background: #0095FF !important;
	border-radius: 8px !important;
	border: none !important;
	color: #fff !important;
	padding: 10px 20px !important;
}

body.woocommerce-account .woocommerce-Button:hover,
body.woocommerce-account button.button:hover {
	background: #0073e6 !important;
}

/* ---------- Mobile ---------- */
@media only screen and (max-width: 768px) {
	body.woocommerce-account .woocommerce {
		flex-direction: column;
		padding: 16px 14px 40px;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation {
		flex: 1 1 auto;
		width: 100%;
		position: static;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: 1 1 auto;
	}

	body.woocommerce-account .priads-nav-item--logout {
		margin-top: 2px;
		padding-top: 2px;
		border-top: none;
		flex: 1 1 100%;
	}

	.priads-account-nav__user {
		flex: 1 1 100%;
	}

	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 20px;
	}

	.priads-stat-grid {
		grid-template-columns: 1fr 1fr;
	}

	.priads-summary-grid,
	body.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

/* Step 82 (section 2.2): no more forced horizontal scroll. The Step 71 rule above used to force
   display:block + overflow-x:auto + white-space:nowrap on every order/product table, which is
   exactly what made the table scroll sideways instead of fitting the column. A normal table
   layout, combined with the short date format (2.1) and the smaller buttons (2.3/3.2) below,
   is enough for everything to fit without scrolling; anything that still doesn't fit wraps onto
   a second line instead (word-break below), which the brief explicitly allows. */
body.woocommerce-account table.woocommerce-orders-table,
body.woocommerce-account table.shop_table {
	display: table;
	width: 100%;
	overflow-x: visible;
	white-space: normal;
	table-layout: auto;
}
body.woocommerce-account table.woocommerce-orders-table thead,
body.woocommerce-account table.shop_table thead {
	display: table-header-group;
}
body.woocommerce-account table.woocommerce-orders-table td,
body.woocommerce-account table.woocommerce-orders-table th,
body.woocommerce-account table.shop_table td,
body.woocommerce-account table.shop_table th {
	padding: 10px 8px;
	font-size: 13px;
	word-break: break-word;
	white-space: normal;
}

/* Step 82 (sections 2.3 + 3.2): View/Cancel (Orders) and the license-key action buttons --
   smaller, and restyled to match the rest of the page instead of the oversized default
   WooCommerce .button look. The plugin templates already put the action name itself in the
   class (view/cancel), so no markup/template changes were needed, just these selectors. */
body.woocommerce-account table.woocommerce-orders-table .button,
body.woocommerce-account table.shop_table .button {
	display: inline-block;
	padding: 6px 12px !important;
	font-size: 12.5px !important;
	line-height: 1.4 !important;
	border-radius: 7px !important;
	background: #eef3fb !important;
	color: #0073e6 !important;
	border: 1px solid #d7e3f4 !important;
	margin: 2px 4px 2px 0;
	white-space: nowrap;
	font-weight: 600 !important;
}
body.woocommerce-account table.woocommerce-orders-table .button:hover,
body.woocommerce-account table.shop_table .button:hover {
	background: #0095FF !important;
	color: #fff !important;
	border-color: #0095FF !important;
}
body.woocommerce-account table.woocommerce-orders-table .button.cancel {
	background: #fdeeee !important;
	color: #d32f2f !important;
	border-color: #f6cfcf !important;
}
body.woocommerce-account table.woocommerce-orders-table .button.cancel:hover {
	background: #e04848 !important;
	color: #fff !important;
	border-color: #e04848 !important;
}

/* Step 82 (section 3.3): the License tab's heading(s) -- now "My Products" / "Your products"
   (renamed above) -- match the page's standard heading colour/weight instead of the plugin's
   own harsher default. Scoped to headings printed inside the account content column only, so
   nothing outside My Account is touched. */
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3.product-name {
	color: #1c2433 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
}

/* Step 82 (section 1.2): Recent Transactions preview on the Dashboard. */
/* Step 95: no grey box behind Recent transactions -- it sits straight on the main white
   content background; the header row gets its own underline instead of the box border. */
.priads-recent-tx {
	margin-top: 26px;
	margin-bottom: 28px;
}
.priads-recent-tx__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 10px;
	margin-bottom: 2px;
	border-bottom: 1px solid #eef0f4;
}
.priads-recent-tx__head h3 {
	margin: 0;
	font-size: 14px;
	color: #1c2433;
}
.priads-recent-tx__head a {
	font-size: 12.5px;
	font-weight: 600;
	color: #0095FF;
	text-decoration: none;
}
.priads-recent-tx__head a:hover {
	text-decoration: underline;
}
.priads-recent-tx__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.priads-recent-tx__list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	border-top: 1px solid #eef0f4;
	font-size: 13px;
}
.priads-recent-tx__list li:first-child {
	border-top: none;
}
.priads-recent-tx__details {
	color: #4b5468;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.priads-recent-tx__date {
	color: #8a94a6;
	font-size: 12px;
	flex: 0 0 auto;
}
.priads-recent-tx__amount {
	font-weight: 700;
	flex: 0 0 auto;
}
.priads-recent-tx__amount--credit {
	color: #1a9e63;
}
.priads-recent-tx__amount--debit {
	color: #d32f2f;
}

/* Step 82 (section 5.1): selected nav tab -- flat highlight, no rounded pill. The base rule
   above (li a) still sets border-radius:9px for everyone (keeps the hover highlight rounded),
   this just zeroes it back out for the active/current item specifically. */
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a[aria-current="page"] {
	border-radius: 0;
}

/* Step 82 (section 5.3): the WooCommerce core clearfix pseudo-elements on .woocommerce
   (content:" "; display:table) become real flex items once this wrapper is flex (Step 68), so
   the 32px flex gap added 32px of dead space before the sidebar nav (pushing it right of the
   header logo) and another 32px after the content column. Flex doesn't need the legacy clearfix
   at all, so removing both pseudo-elements fixes the left edge (and tidies the right) without
   touching any real content. */
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after {
	content: none !important;
	display: none !important;
}

/* Step 82 (section 5.2): logout confirmation popup, shown by js/myaccount.js. */
.priads-logout-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(16, 24, 40, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
}
.priads-logout-modal {
	background: #fff;
	border-radius: 12px;
	padding: 24px 28px;
	max-width: 320px;
	text-align: center;
	box-shadow: 0 12px 32px rgba(16, 24, 40, 0.18);
}
.priads-logout-modal p {
	margin: 0 0 20px;
	font-size: 15px;
	color: #1c2433;
	font-weight: 600;
}
.priads-logout-modal__actions {
	display: flex;
	gap: 10px;
	justify-content: center;
}
.priads-logout-modal__actions button {
	flex: 1;
	padding: 9px 16px;
	border-radius: 8px;
	border: none;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.priads-logout-modal__yes {
	background: #e04848;
	color: #fff;
}
.priads-logout-modal__yes:hover {
	background: #d32f2f;
}
.priads-logout-modal__no {
	background: #f0f2f5;
	color: #4b5468;
}
.priads-logout-modal__no:hover {
	background: #e4e7ec;
}

/* Step 83: header "My Wallet" icon + balance badge. */
.priads-nav-wallet-icon {
	width: 16px;
	height: 16px;
	vertical-align: -3px;
	margin-right: 5px;
}
.priads-nav-wallet-balance {
	font-weight: 600;
}

@media only screen and (max-width: 768px) {
	/* Step 84: list-style rows (full width, chevron, divider) instead of the old
	   flex-wrap pill grid -- matches a normal phone settings menu. */
	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: block;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: initial;
		margin: 0;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li a {
		padding: 13px 2px;
		border-radius: 0;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li:not(:last-child) a {
		border-bottom: 1px solid #eef0f4;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li a span {
		flex: 1;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li:not(.priads-nav-item--logout) a::after {
		content: "\203A";
		color: #b0b6c2;
		font-size: 20px;
		line-height: 1;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
	body.woocommerce-account .woocommerce-MyAccount-navigation li a[aria-current="page"] {
		background: none;
		color: #4b5468;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a svg,
	body.woocommerce-account .woocommerce-MyAccount-navigation li a[aria-current="page"] svg {
		opacity: .75;
	}
	body.woocommerce-account .priads-account-nav__user {
		border-bottom: none;
		padding-bottom: 14px;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation ul::before {
		content: "Account";
		display: block;
		font-size: 13px;
		color: #8a94a6;
		font-weight: 600;
		margin: 2px 2px 6px;
	}

	/* Step 84: the two screens. Content is hidden until an item is opened; the back
	   arrow is hidden until there's something to go back from. */
	.priads-mobile-back {
		display: none;
	}
	body.woocommerce-account .woocommerce-MyAccount-content {
		display: none;
	}
	body.priads-mobile-show-content.woocommerce-account .woocommerce-MyAccount-navigation {
		display: none;
	}
	body.priads-mobile-show-content.woocommerce-account .woocommerce-MyAccount-content {
		display: block;
	}
	body.priads-mobile-show-content .priads-mobile-back {
		display: flex;
		align-items: center;
		gap: 4px;
		font-size: 14px;
		font-weight: 600;
		color: #4b5468;
		margin-bottom: 14px;
		text-decoration: none;
	}
}

/* Step 85: Orders tab profile-completion note -- plain text line, no box/banner. */
.priads-profile-complete-note {
	font-size: 13px;
	color: #5f6b7a;
	margin: 0 0 16px;
}
.priads-profile-complete-note a {
	color: #0b1524;
	font-weight: 600;
	text-decoration: underline;
}

/* Step 86: Dashboard approved-final-design pass. */

/* 86.1: profile-completeness bar under the greeting (replaces the removed "Not you? Log out." line). */
/* Step 96: moved inline with the greeting title -- shorter track, light pill container, no
 * stray block margin (the row wrapper above handles spacing now). */
.priads-profile-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	margin: 0;
	background: #f8fafc;
	border: 1px solid #eceff3;
	border-radius: 999px;
	padding: 6px 14px;
}
.priads-profile-bar__label {
	font-size: 12px;
	font-weight: 500;
	color: #5a6678;
	white-space: nowrap;
	flex: 0 0 auto;
}
.priads-profile-bar__track {
	display: block;
	flex: 1 1 auto;
	width: 100px;
	max-width: 100px;
	height: 6px;
	border-radius: 4px;
	background: #e7eaf0;
	overflow: hidden;
}
.priads-profile-bar__fill {
	display: block;
	height: 100%;
	background: #0095FF;
	border-radius: 4px;
	transition: width .2s ease;
}

/* 86.2: "Your products" dashboard shortcut -- recent order line items, no license key shown here. */
.priads-recent-products {
	background: #f8fafc;
	border: 1px solid #eceff3;
	border-radius: 12px;
	padding: 16px 18px 6px;
	margin-bottom: 28px;
}
.priads-recent-products__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}
.priads-recent-products__head h3 {
	margin: 0;
	font-size: 14px;
	color: #1c2433;
}
.priads-recent-products__head a {
	font-size: 12.5px;
	font-weight: 600;
	color: #0095FF;
	text-decoration: none;
}
.priads-recent-products__head a:hover {
	text-decoration: underline;
}
/* Step 94: card is now a single flex row -- info (title+order, key box) on the left, the
 * "View order details" button pinned to the right at every width, per the approved mockup. */
/* Step 95: each product gets its own separate white card (matches the approved mockup) --
   no more shared border-top dividers between them. */
.priads-recent-products__card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	background: #fff;
	border: 0.8px solid #eceff3;
	border-radius: 10px;
	margin-bottom: 8px;
}
.priads-recent-products__card:last-of-type {
	margin-bottom: 0;
}
.priads-recent-products__info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	flex: 1 1 auto;
}
.priads-recent-products__row {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}
/* Step 96: cap the title's width so it truncates roughly in half what it used to -- it was
   taking the whole row's free width before cutting off. */
.priads-recent-products__title {
	font-size: 13.5px;
	color: #0073e6;
	font-weight: 600;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
	max-width: 170px;
	flex: 0 1 auto;
}
.priads-recent-products__title:hover {
	text-decoration: underline;
}
.priads-recent-products__order {
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 600;
	color: #5a6678;
	background: #f8fafc;
	border: 0.8px solid #eceff3;
	border-radius: 999px;
	padding: 2px 10px;
	white-space: nowrap;
}
.priads-recent-products__btn {
	flex: 0 0 auto;
	padding: 7px 14px;
	font-size: 12.5px;
	font-weight: 600;
	border-radius: 7px;
	background: #eef3fb;
	color: #0073e6;
	border: 1px solid #d7e3f4;
	text-decoration: none;
	white-space: nowrap;
}
.priads-recent-products__btn:hover {
	background: #0095FF;
	color: #fff;
	border-color: #0095FF;
}

/* Step 100: Mobile Dashboard -- rebuilt to match the approved "Mobile - Dashboard" reference
 * (390px artboard) one-to-one. Replaces the old 86.3 + Step 97/98/99 phone rules.
 * Root causes fixed here:
 *  - three stacked side gutters on phones (Astra .ast-container 20px + the white content
 *    box's border + 14px padding) put content 35px from the screen edge; the reference
 *    uses a single 12px gutter, cards sitting straight on the page background;
 *  - the shared `body.woocommerce-account .priads-copy-key` rule (padding 10px 12px,
 *    word-break: break-all) out-ranked the old phone overrides, so keys wrapped to 4 lines;
 *  - the wallet bar inherited flex-direction: column from .priads-stat-card and stacked.
 * Mobile reference has no Account/Billing cards and no "Order #" badge: the badge is hidden
 * on phones, the two cards are kept but moved below Recent transactions. */
@media only screen and (max-width: 480px) {

	/* --- Page frame (every logged-in account tab): water-colour box edge to edge, the
	   only side gap is the content's own 12px (same gutter as all mobile references).
	   Logged-in only, so the login/register form keeps Astra's gutter. --- */
	body.woocommerce-account.logged-in #content > .ast-container {
		padding-left: 0;
		padding-right: 0;
	}
	/* Top/bottom: the reference has 16px between the header and the first item. The water
	   box (12px), the Elementor shortcode widget (40px top / 10px bottom) and .woocommerce
	   (14px) were stacking ~82px of empty band above "< Account"; only the content's own
	   16px top / 24px bottom padding is kept. (fd546f5 / 28075a0 = page 11's Elementor
	   containers; if that page is ever rebuilt these two rules simply stop matching.) */
	/* !important is needed only because css/custom.css (Steps 71/74b, printed inline after
	   this file) forces 12/28px on fd546f5, 20px bottom on 476b8c3 and 14/24px on
	   .woocommerce with !important at every width; these out-rank it on phones only. */
	body.woocommerce-account.logged-in .elementor-11 .elementor-element.elementor-element-fd546f5 {
		--border-radius: 0px;
		border-radius: 0;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	body.woocommerce-account.logged-in .elementor-11 .elementor-element.elementor-element-476b8c3 {
		padding-bottom: 0 !important;
	}
	body.woocommerce-account.logged-in .elementor-11 .elementor-element.elementor-element-28075a0 {
		padding-top: 0;
		padding-bottom: 0;
	}
	body.woocommerce-account .woocommerce {
		padding-left: 0;
		padding-right: 0;
	}
	body.woocommerce-account.logged-in .elementor-shortcode > .woocommerce {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 16px 12px 24px;
		border: 0;
	}

	/* --- Dashboard only: no white sheet behind the sections (reference = cards on the
	   page background); flex column so Account/Billing can drop below Recent tx. --- */
	body.woocommerce-account .woocommerce-MyAccount-content:has(> .priads-dashboard-greeting) {
		background: transparent;
		box-shadow: none;
		border-radius: 0;
	}
	body.priads-mobile-show-content.woocommerce-account .woocommerce-MyAccount-content:has(> .priads-dashboard-greeting) {
		display: flex;
		flex-direction: column;
	}
	.woocommerce-MyAccount-content > .priads-mobile-back {
		align-self: flex-start;
	}
	.woocommerce-MyAccount-content > .priads-summary-grid {
		order: 1;
	}

	/* --- Greeting card + profile bar --- */
	body.woocommerce-account .priads-dashboard-greeting {
		background: #fff;
		border-radius: 14px;
		padding: 14px;
		margin: 0 0 14px;
	}
	body.woocommerce-account .woocommerce-MyAccount-content .priads-dashboard-greeting h2 {
		font-size: 14px !important;
		font-weight: 600 !important;
		color: #1C2433 !important;
		line-height: 1.4;
	}
	.priads-dashboard-greeting h2 strong {
		font-weight: inherit;
	}
	.priads-dashboard-greeting p {
		display: none;
	}
	body.woocommerce-account .priads-dashboard-greeting__top {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin: 0;
	}
	body.woocommerce-account .priads-profile-bar {
		width: 100%;
		box-sizing: border-box;
		gap: 8px;
		padding: 0;
		background: none;
		border: 0;
		border-radius: 0;
	}
	body.woocommerce-account .priads-profile-bar__label {
		font-size: 10px;
		font-weight: 400;
		line-height: 1.5;
		color: #5A6678;
	}
	.priads-profile-bar__suffix {
		display: none;
	}
	body.woocommerce-account .priads-profile-bar__track {
		flex: 1 1 auto;
		width: auto;
		max-width: none;
		height: 6px;
		border-radius: 3px;
		background: #e7ebf1;
	}
	body.woocommerce-account .priads-profile-bar__fill {
		border-radius: 0;
	}

	/* --- Orders + My Products: compact cubes (icon, then value, then label) --- */
	body.woocommerce-account .priads-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 10px;
		row-gap: 14px;
		margin: 0 0 14px;
	}
	body.woocommerce-account .priads-stat-card {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 12px;
		background: #F8FAFC;
		border: 0.8px solid #ECEFF3;
		border-radius: 13px;
	}
	body.woocommerce-account .priads-stat-card--highlight {
		border: 1.6px solid #0095FF;
	}
	body.woocommerce-account .priads-stat-card__icon {
		width: 26px;
		height: 26px;
		border-radius: 7px;
		margin: 0 0 8px;
	}
	body.woocommerce-account .priads-stat-card__icon svg {
		width: 14px;
		height: 14px;
	}
	body.woocommerce-account .priads-stat-card__value {
		font-size: 16px;
		font-weight: 700;
		line-height: 1.1;
		color: #1C2433;
	}
	body.woocommerce-account .priads-stat-card__label {
		font-size: 10.5px;
		line-height: 1.5;
		color: #5A6678;
		margin-top: 2px;
	}

	/* --- Wallet: full-width bar. Icon | label-over-value | Top up. __top is unwrapped
	   (display: contents) so icon and button become direct flex children. --- */
	body.woocommerce-account .priads-stat-card--wallet {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		gap: 10px;
		padding: 12px 14px;
		border-radius: 14px;
	}
	body.woocommerce-account .priads-stat-card--wallet .priads-stat-card__top {
		display: contents;
	}
	body.woocommerce-account .priads-stat-card--wallet .priads-stat-card__icon {
		order: 1;
		flex: 0 0 auto;
		width: 30px;
		height: 30px;
		border-radius: 9px;
		margin: 0;
	}
	body.woocommerce-account .priads-stat-card--wallet .priads-stat-card__icon svg {
		width: 16px;
		height: 16px;
	}
	body.woocommerce-account .priads-stat-card--wallet .priads-stat-card__info {
		order: 2;
		flex: 1 1 auto;
		min-width: 0;
		display: flex;
		flex-direction: column;
	}
	body.woocommerce-account .priads-stat-card--wallet .priads-stat-card__label {
		order: 1;
		margin: 0;
		font-size: 11px;
	}
	body.woocommerce-account .priads-stat-card--wallet .priads-stat-card__value {
		order: 2;
		font-size: 15px;
		line-height: 1.5;
	}
	body.woocommerce-account .priads-stat-card--wallet .priads-stat-card__cta {
		order: 3;
		flex: 0 0 auto;
		margin: 0;
		padding: 7px 14px;
		border-radius: 8px;
		font-size: 12px;
		line-height: 1.5;
	}

	/* --- Your products: off-white box, white product cards, one-line key --- */
	body.woocommerce-account .priads-recent-products {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 12px 14px;
		margin: 0 0 14px;
		background: #F8FAFC;
		border: 0.8px solid #ECEFF3;
		border-radius: 12px;
	}
	body.woocommerce-account .priads-recent-products__head {
		margin: 0;
	}
	body.woocommerce-account .priads-recent-products__head h3,
	body.woocommerce-account .priads-recent-tx__head h3 {
		margin: 0;
		font-size: 12.5px;
		font-weight: 600;
		line-height: 1.5;
		color: #1C2433;
	}
	body.woocommerce-account .priads-recent-products__head a,
	body.woocommerce-account .priads-recent-tx__head a {
		font-size: 11px;
		font-weight: 600;
		color: #046BD2;
		text-decoration: underline;
	}
	body.woocommerce-account .priads-recent-products__card {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
		gap: 6px;
		padding: 9px 10px;
		margin: 0;
		background: #fff;
		border: 0.8px solid #ECEFF3;
		border-radius: 10px;
	}
	body.woocommerce-account .priads-recent-products__info {
		gap: 6px;
	}
	body.woocommerce-account .priads-recent-products__title {
		flex: 1 1 auto;
		max-width: none;
		font-size: 11px;
		line-height: 1.5;
	}
	body.woocommerce-account .priads-recent-products__order {
		display: none;
	}
	body.woocommerce-account .priads-recent-products__info .priads-copy-key {
		padding: 6px 9px;
		border-radius: 8px;
		font-size: 10px;
		line-height: 1.5;
		color: #8a94a3;
		word-break: normal;
	}
	.priads-recent-products__info .priads-copy-key__text {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	body.woocommerce-account .priads-recent-products__btn {
		align-self: flex-start;
		width: auto;
		padding: 6px 10px;
		border: 0;
		border-radius: 8px;
		font-size: 10.5px;
		line-height: 1.5;
		text-align: left;
	}

	/* --- Recent transactions: white card; each row = details left, amount over date right --- */
	body.woocommerce-account .priads-recent-tx {
		display: flex;
		flex-direction: column;
		gap: 6px;
		padding: 14px;
		margin: 0 0 14px;
		background: #fff;
		border-radius: 14px;
	}
	body.woocommerce-account .priads-recent-tx__head {
		padding: 0;
		margin: 0;
		border-bottom: 0;
	}
	body.woocommerce-account .priads-recent-tx__list li,
	body.woocommerce-account .priads-recent-tx__list li:first-child {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "details amount" "details date";
		align-items: center;
		column-gap: 10px;
		row-gap: 0;
		padding: 8px 0;
		border-top: 1px solid #eef0f4;
		font-size: 11px;
	}
	body.woocommerce-account .priads-recent-tx__details {
		grid-area: details;
		font-size: 11px;
		color: #1C2433;
	}
	body.woocommerce-account .priads-recent-tx__amount {
		grid-area: amount;
		justify-self: end;
		font-size: 11px;
		font-weight: 600;
		line-height: 1.4;
	}
	body.woocommerce-account .priads-recent-tx__amount--debit {
		color: #c0392b;
	}
	body.woocommerce-account .priads-recent-tx__date {
		grid-area: date;
		justify-self: end;
		font-size: 9.5px;
		line-height: 1.4;
		color: #9aa4b2;
	}

	/* --- Account / Billing (not in the mobile reference): kept, shown last, same card
	   language as Recent transactions. --- */
	body.woocommerce-account .priads-summary-grid {
		grid-template-columns: 1fr;
		gap: 14px;
		margin: 0;
	}
	body.woocommerce-account .priads-summary-card {
		padding: 14px;
		background: #fff;
		border: 0;
		border-radius: 14px;
	}
	body.woocommerce-account .priads-summary-card h3 {
		margin: 0 0 6px;
		font-size: 12.5px;
		font-weight: 600;
	}
	body.woocommerce-account .priads-summary-card p {
		margin: 0 0 8px;
		font-size: 11px;
		line-height: 1.5;
		color: #5A6678;
	}
	body.woocommerce-account .priads-summary-card a {
		font-size: 11px;
		color: #046BD2;
	}
}

/* 86.4: bigger, easier-to-tap View/Cancel buttons specifically on phones (Step 82's 2.3/3.2
   sizing was tuned for desktop density; phones get a larger tap target instead). */
@media only screen and (max-width: 768px) {
	body.woocommerce-account table.woocommerce-orders-table .button,
	body.woocommerce-account table.shop_table .button {
		padding: 9px 18px !important;
		font-size: 13.5px !important;
		min-height: 38px;
		display: inline-flex !important;
		align-items: center;
	}
}

/* Step 87: My Products tab (license-manager-for-woocommerce's own lmfwc-view-license-keys.php
   template, not a theme template -- so this is done entirely with CSS against its existing
   markup: it already prints an empty <th class="actions">, so the label is added with
   content, no template override needed). */

/* 87.1: "Actions" column label above the View/Order buttons. */
body.woocommerce-account table.shop_table thead th.actions::before {
	content: "Actions";
}

/* 87.2: license key text -- lighter weight / less visual noise, monospaced so it still reads
   as a code value, and allowed to wrap/break so a long key never forces horizontal scroll. */
body.woocommerce-account .lmfwc-myaccount-license-key {
	color: #9aa4b2;
	font-size: 12px;
	font-weight: 400;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	word-break: break-all;
	position: relative;
	display: inline-block;
}
body.woocommerce-account .lmfwc-myaccount-license-key:hover,
body.woocommerce-account .priads-copy-key:hover {
	color: #6b7686;
}

/* Step 89 (round 2): shared "Copied" feedback pill for any click-to-copy license-key box
   (Dashboard shortcut, My Products, Order Details -- wired by priadsWireCopyKeys() in
   myaccount.js). Hidden by default, fades in on click. */
/* Step 95: "Copied" feedback -- green (success colour, not a neutral dark pill) with a
 * checkmark and a small pop-in/settle animation instead of a flat opacity fade. */
body.woocommerce-account .priads-copied-pill {
	position: absolute;
	top: -11px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	background: #1a9e63;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 999px;
	opacity: 0;
	transform: translateY(2px) scale(0.85);
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
	font-family: 'Poppins', sans-serif;
	box-shadow: 0 2px 6px rgba(26, 158, 99, 0.35);
}
body.woocommerce-account .priads-copied-pill::before {
	content: "\2713";
	font-weight: 700;
}
body.woocommerce-account .priads-copied-pill.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}
body.woocommerce-account .priads-copy-key {
	background: #F8FAFC;
	border: 0.8px solid #ECEFF3;
	border-radius: 9px;
	padding: 10px 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11.5px;
	color: #9aa4b2;
	line-height: 1.6;
	word-break: break-all;
	cursor: pointer;
	position: relative;
	display: block;
}

/* 87.3: license key cell gets a touch more breathing room now that the text is smaller/lighter. */
body.woocommerce-account table.shop_table td:has(.lmfwc-myaccount-license-key) {
	max-width: 320px;
}

/* Step 88: Order Details page (/my-account/view-order/ID/) -- core WooCommerce template, not
   overridden, so this is pure CSS against its existing markup:
   "Order #X was placed on DATE and is currently <mark class="order-status status-{slug}">LABEL</mark>."
   Colour-coded status pill matching the approved design tokens (Completed/Processing = green/blue,
   Pending/On-hold = amber, Cancelled/Failed/Refunded = red). */
body.woocommerce-account mark.order-status {
	display: inline-flex;
	align-items: center;
	padding: 3px 12px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 13px;
	background: #eef0f4;
	color: #475467;
	white-space: nowrap;
}
body.woocommerce-account mark.order-status[data-status="completed"] {
	background: #e8f7ee;
	color: #2fa847;
}
body.woocommerce-account mark.order-status[data-status="processing"] {
	background: #eaf2ff;
	color: #0073e6;
}
body.woocommerce-account mark.order-status[data-status="pending"],
body.woocommerce-account mark.order-status[data-status="on-hold"] {
	background: #fff4e5;
	color: #b9770e;
}
body.woocommerce-account mark.order-status[data-status="cancelled"],
body.woocommerce-account mark.order-status[data-status="failed"],
body.woocommerce-account mark.order-status[data-status="refunded"] {
	background: #fdeaea;
	color: #c0392b;
}

/* Step 89: "Forgot your password?" card on the Account details tab, below the password-change
   fields (hooked onto woocommerce_after_edit_account_form in inc/myaccount.php). */
body.woocommerce-account .priads-forgot-password {
	background: #f8fafc;
	border: 1px solid #eceff3;
	border-radius: 12px;
	padding: 16px 18px 18px;
	margin-top: 22px;
	max-width: 480px;
}
body.woocommerce-account .priads-forgot-password h3 {
	margin: 0 0 4px;
	font-size: 14.5px;
	color: #1c2433;
}
body.woocommerce-account .priads-forgot-password p {
	margin: 0 0 12px;
	font-size: 12.5px;
	color: #6b7280;
}
body.woocommerce-account .priads-forgot-password form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
body.woocommerce-account .priads-forgot-password input[type="email"] {
	flex: 1 1 200px;
	min-width: 0;
	margin: 0;
}
body.woocommerce-account .priads-forgot-password button {
	flex: 0 0 auto;
	white-space: nowrap;
}
@media only screen and (max-width: 480px) {
	body.woocommerce-account .priads-forgot-password form {
		flex-direction: column;
	}
	body.woocommerce-account .priads-forgot-password button {
		width: 100%;
	}
}

/* Step 96 (fixed in Step 102): Dashboard "Your products" key box on desktop/tablet -- shorter than
   the shared .priads-copy-key default so "View order details" sits level with it. The original
   rule lost to `body.woocommerce-account .priads-copy-key` on specificity and never applied;
   phones keep their own Step 100 value. */
@media only screen and (min-width: 481px) {
	body.woocommerce-account .priads-recent-products__info .priads-copy-key {
		padding: 6px 12px;
	}
}

/* Step 102: Order Details (view-order) -- approved AFTER design, Desktop / Tablet / Mobile
   references. Markup: woocommerce/myaccount/view-order.php (header + .priads-od-card),
   woocommerce/order/order-details.php (rows; My Account only), lmfwc-license-keys.php
   ("Your Products"), inc/myaccount.php ("Order again"). Replaces the 88.1 + Step 90 table
   restyle and the old "Your Products" card rules. */
body.woocommerce-account .priads-od-card {
	max-width: 620px;
	container-type: inline-size;
}
body.woocommerce-account .priads-od-head {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #5A6678;
}
body.woocommerce-account .priads-od-head__number {
	font-weight: 700;
	color: #1C2433;
}
body.woocommerce-account .priads-od-pill {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: #eef0f4;
	color: #5A6678;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	vertical-align: middle;
}
body.woocommerce-account .priads-od-pill--completed {
	background: #e8f7ee;
	color: #2fa847;
}
body.woocommerce-account .priads-od-pill--processing {
	background: #e7f1ff;
	color: #0073E6;
}
body.woocommerce-account .priads-od-pill--pending,
body.woocommerce-account .priads-od-pill--on-hold {
	background: #fff4e5;
	color: #b9770e;
}
body.woocommerce-account .priads-od-pill--cancelled,
body.woocommerce-account .priads-od-pill--failed {
	background: #fdeaea;
	color: #c0392b;
}
body.woocommerce-account .priads-od-card .woocommerce-order-details,
body.woocommerce-account .priads-od-card .woocommerce-customer-details {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
body.woocommerce-account .priads-od-section-title {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	color: #1C2433;
}

/* rows */
body.woocommerce-account .priads-od-rows {
	margin-top: 14px;
}
body.woocommerce-account .priads-od-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid #eef0f4;
	font-size: 13px;
	line-height: 1.5;
}
body.woocommerce-account .priads-od-row:first-child {
	border-top: 0;
}
body.woocommerce-account .priads-od-row__label {
	color: #5A6678;
}
body.woocommerce-account .priads-od-row__value {
	color: #1C2433;
	text-align: right;
}
body.woocommerce-account .priads-od-row--order_total .priads-od-row__label,
body.woocommerce-account .priads-od-row--order_total .priads-od-row__value {
	font-weight: 700;
	color: #1C2433;
}
body.woocommerce-account .priads-od-item {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	color: #0073E6;
	font-weight: 500;
}
body.woocommerce-account .priads-od-item__line {
	display: flex;
	align-items: baseline;
	gap: 4px;
	min-width: 0;
}
body.woocommerce-account .priads-od-item__name {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.woocommerce-account .priads-od-item__name a {
	color: #0073E6;
	font-weight: 500;
	text-decoration: none;
}
body.woocommerce-account .priads-od-item__name a:hover {
	text-decoration: underline;
}
body.woocommerce-account .priads-od-item .product-quantity {
	flex: 0 0 auto;
	font-weight: 500;
	color: #0073E6;
	white-space: nowrap;
}
body.woocommerce-account .priads-od-item .wc-item-meta {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	font-size: 11.5px;
	font-weight: 400;
	color: #5A6678;
}
body.woocommerce-account .priads-od-item .wc-item-meta p {
	display: inline;
	margin: 0;
}
body.woocommerce-account .priads-od-item__total {
	flex: 0 0 auto;
	font-weight: 600;
	white-space: nowrap;
}
body.woocommerce-account .priads-od-row--note {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 3px;
}
body.woocommerce-account .priads-od-note__label {
	font-size: 11px;
	color: #9aa4b2;
}
body.woocommerce-account .priads-od-note__value {
	font-size: 11.5px;
	color: #5A6678;
}
body.woocommerce-account .priads-od-note__value p {
	margin: 0;
}

/* Pay now / Cancel (pending orders) */
body.woocommerce-account .priads-od-actions {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin-top: 18px;
}
body.woocommerce-account .priads-od-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 16px;
	background: #EEF3FB;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	color: #0073E6;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}
body.woocommerce-account .priads-od-btn--pay {
	flex: 1 1 auto;
	padding: 13px 16px;
	background: #0095FF;
	color: #fff;
	font-size: 14px;
}
body.woocommerce-account .priads-od-btn--pay:hover,
body.woocommerce-account .priads-od-btn--pay:focus {
	background: #0073E6;
	color: #fff;
}
body.woocommerce-account .priads-od-btn--cancel {
	flex: 0 0 auto;
	padding: 12px 16px;
	background: #fff;
	border: 1.3px solid #f3c6c2;
	color: #c0392b;
}
body.woocommerce-account .priads-od-btn--cancel:hover,
body.woocommerce-account .priads-od-btn--cancel:focus {
	background: #fdeaea;
	color: #c0392b;
}

/* Order again (inc/myaccount.php) -- full width; icon only on cancelled/failed/refunded
   orders on desktop (reference variation C), none on tablet/phone. */
body.woocommerce-account .priads-order-again-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin: 16px 0 0;
	padding: 12px 16px;
	background: #0095FF;
	border-radius: 8px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	box-sizing: border-box;
}
body.woocommerce-account .priads-order-again-btn:hover,
body.woocommerce-account .priads-order-again-btn:focus {
	background: #0073E6;
	color: #fff;
}
body.woocommerce-account .priads-order-again-btn svg {
	display: none;
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
}
@media only screen and (min-width: 1025px) {
	body.woocommerce-account .priads-od--cancelled .priads-order-again-btn svg,
	body.woocommerce-account .priads-od--failed .priads-order-again-btn svg,
	body.woocommerce-account .priads-od--refunded .priads-order-again-btn svg {
		display: block;
	}
}

/* Your Products (license keys) */
body.woocommerce-account .priads-od-products {
	margin-top: 22px;
}
body.woocommerce-account .priads-order-product {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}
body.woocommerce-account .priads-order-product + .priads-order-product {
	margin-top: 14px;
}
body.woocommerce-account .priads-order-product__title {
	display: block;
	margin: 8px 0 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #0073E6;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
}
body.woocommerce-account a.priads-order-product__title:hover {
	color: #0073E6;
	text-decoration: underline;
}
body.woocommerce-account .priads-order-product__row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0 0;
}
body.woocommerce-account .priads-order-product__row .priads-order-product__key {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 10px 12px;
	background: #F8FAFC;
	border: 0.8px solid #ECEFF3;
	border-radius: 9px;
	color: #5A6678;
	font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11.5px;
	line-height: 1.6;
	word-break: break-all;
}
body.woocommerce-account .priads-order-product__download {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 10px;
	background: #EEF3FB;
	border-radius: 8px;
	color: #0073E6;
	line-height: 0;
	text-decoration: none;
}
body.woocommerce-account .priads-order-product__download:hover,
body.woocommerce-account .priads-order-product__download:focus {
	background: #e0ebfa;
	color: #0073E6;
}
body.woocommerce-account .priads-order-product__download svg {
	display: none;
}
/* The license plugin runs its section through an HTML filter that strips inline <svg>, so the
   download arrow is drawn here as a CSS mask (takes the button's text colour). */
body.woocommerce-account .priads-order-product__download::before {
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 11l5 5 5-5'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 11l5 5 5-5'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.woocommerce-account .priads-order-product__expiry {
	margin-top: 6px;
	font-size: 11px;
	color: #9aa4b2;
}

/* Billing address (core order-details-customer.php) */
body.woocommerce-account .priads-od-card .woocommerce-customer-details {
	margin-top: 22px;
}
body.woocommerce-account .woocommerce-MyAccount-content .priads-od-card .woocommerce-customer-details h2 {
	margin: 0 0 6px;
	padding: 0;
	background: none;
	border: 0;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.5;
	color: #1C2433 !important;
}
body.woocommerce-account .priads-od-card .woocommerce-customer-details address {
	margin: 0;
	padding: 12px 14px;
	background: #F8FAFC;
	border: 0.8px solid #ECEFF3;
	border-radius: 10px;
	color: #5A6678;
	font-size: 12.5px;
	font-style: normal;
	line-height: 1.6;
	text-align: left;
}
body.woocommerce-account .priads-od-card .woocommerce-customer-details address p {
	margin: 0;
	padding: 0;
}
body.woocommerce-account .priads-od-card .woocommerce-customer-details address p::before {
	display: none;
}

/* Customer order updates (only when the shop has added a note for the customer) */
body.woocommerce-account .priads-od-updates {
	margin-top: 14px;
}
body.woocommerce-account .priads-od-updates ol {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}
body.woocommerce-account .priads-od-updates li {
	margin: 0 0 8px;
	padding: 10px 12px;
	background: #F8FAFC;
	border: 0.8px solid #ECEFF3;
	border-radius: 10px;
	color: #5A6678;
	font-size: 12.5px;
}
body.woocommerce-account .priads-od-updates .meta {
	margin: 0 0 4px;
	color: #9aa4b2;
	font-size: 11px;
}
body.woocommerce-account .priads-od-updates .description p {
	margin: 0;
}

/* Tablet reference (834px): single column, rows a touch tighter, "Order again" inline,
   Pay now / Cancel share the row 2:1, purchase-note label and value on one line. */
@media only screen and (max-width: 1024px) {
	body.woocommerce-account .priads-od-rows {
		margin-top: 10px;
	}
	body.woocommerce-account .priads-od-row {
		padding: 10px 0;
	}
	/* label + value side by side only when the card really has the reference's room (the
	   tablet reference card is 620px); a narrower card keeps them stacked. */
	@container (min-width: 500px) {
		body.woocommerce-account .priads-od-row--note {
			flex-direction: row;
			align-items: center;
			justify-content: space-between;
			gap: 12px;
		}
		body.woocommerce-account .priads-od-note__value {
			text-align: right;
		}
	}
	body.woocommerce-account .priads-od-actions {
		margin-top: 14px;
	}
	body.woocommerce-account .priads-od-btn,
	body.woocommerce-account .priads-od-btn--cancel {
		flex: 1 1 0;
		padding: 10px 16px;
		font-size: 12.5px;
	}
	body.woocommerce-account .priads-od-btn--pay {
		flex: 2 1 0;
		padding: 10px 16px;
		font-size: 12.5px;
	}
	body.woocommerce-account .priads-order-again-btn {
		display: inline-flex;
		width: auto;
		margin-top: 14px;
		padding: 10px 16px;
		font-size: 12.5px;
	}
	body.woocommerce-account .priads-od-products {
		margin-top: 20px;
	}
	body.woocommerce-account .priads-order-product__title,
	body.woocommerce-account .priads-order-product__row {
		margin-top: 6px;
	}
	body.woocommerce-account .priads-order-product__row .priads-order-product__key {
		padding: 10px 13px;
	}
	body.woocommerce-account .priads-order-product__download {
		padding: 9px;
	}
	body.woocommerce-account .priads-od-card .woocommerce-customer-details {
		margin-top: 18px;
	}
	body.woocommerce-account .woocommerce-MyAccount-content .priads-od-card .woocommerce-customer-details h2 {
		margin-bottom: 5px;
		font-size: 12.5px !important;
	}
	body.woocommerce-account .priads-od-card .woocommerce-customer-details address {
		padding: 10px 13px;
		font-size: 12px;
	}
}

/* Mobile reference (390px): the whole order is one white card on the page background (12px
   gutter), item price under its name, Pay now / Cancel stacked full width. */
@media only screen and (max-width: 480px) {
	body.woocommerce-account .woocommerce-MyAccount-content:has(.priads-od-card) {
		background: transparent;
		box-shadow: none;
		border-radius: 0;
	}
	body.woocommerce-account .priads-od-card {
		max-width: none;
		padding: 16px;
		background: #fff;
		border-radius: 14px;
	}
	body.woocommerce-account .priads-od-head {
		font-size: 12px;
	}
	body.woocommerce-account .priads-od-pill {
		padding: 3px 9px;
		font-size: 10px;
	}
	body.woocommerce-account .priads-od-section-title {
		font-size: 12px;
	}
	body.woocommerce-account .priads-od-row {
		font-size: 12px;
	}
	body.woocommerce-account .priads-od-row--item {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}
	body.woocommerce-account .priads-od-item {
		width: 100%;
	}
	body.woocommerce-account .priads-od-item__total {
		text-align: left;
	}
	body.woocommerce-account .priads-od-row--note {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}
	body.woocommerce-account .priads-od-note__label {
		font-size: 10px;
	}
	body.woocommerce-account .priads-od-note__value {
		font-size: 10.5px;
		text-align: left;
	}
	body.woocommerce-account .priads-od-actions {
		flex-direction: column;
		gap: 8px;
	}
	body.woocommerce-account .priads-od-btn,
	body.woocommerce-account .priads-od-btn--pay,
	body.woocommerce-account .priads-od-btn--cancel {
		flex: 0 0 auto;
		width: 100%;
		padding: 10px 14px;
		font-size: 12px;
	}
	body.woocommerce-account .priads-order-again-btn {
		display: flex;
		width: 100%;
		padding: 10px 14px;
		font-size: 12px;
	}
	body.woocommerce-account .priads-od-products {
		margin-top: 18px;
	}
	body.woocommerce-account .priads-order-product__title {
		font-size: 11.5px;
	}
	body.woocommerce-account .priads-order-product__row {
		gap: 6px;
	}
	body.woocommerce-account .priads-order-product__row .priads-order-product__key {
		padding: 10px 12px;
		font-size: 10.5px;
	}
	body.woocommerce-account .priads-order-product__download {
		padding: 8px;
	}
	body.woocommerce-account .priads-order-product__download::before {
		width: 13px;
		height: 13px;
	}
	body.woocommerce-account .priads-od-card .woocommerce-customer-details {
		margin-top: 14px;
	}
	body.woocommerce-account .priads-od-card:has(.priads-od-products) .woocommerce-customer-details {
		margin-top: 18px;
	}
	body.woocommerce-account .woocommerce-MyAccount-content .priads-od-card .woocommerce-customer-details h2 {
		font-size: 12px !important;
	}
	body.woocommerce-account .priads-od-card .woocommerce-customer-details address {
		padding: 10px 12px;
		font-size: 11px;
	}
}

/* Step 92: Account Details form fields -- entered text was rendering in Astra's default input
   grey (#777-ish), which reads fine as a placeholder but is too faint once the customer actually
   types a value. Darken the text and style the fields a bit more clearly (border + a touch more
   padding) so they read well. custom.css carries the same color fix for pages outside My Account
   (e.g. the Easy Login popup), but this copy guarantees it here regardless of enqueue order. */
body.woocommerce-account .xoo-elpof-profile-update input[type="text"],
body.woocommerce-account .xoo-elpof-profile-update input[type="email"],
body.woocommerce-account .xoo-elpof-profile-update input[type="password"] {
	color: #1c2433 !important;
	border: 1px solid #e3e7ee !important;
	background: #fff !important;
}
body.woocommerce-account .xoo-elpof-profile-update input[type="text"]::placeholder,
body.woocommerce-account .xoo-elpof-profile-update input[type="email"]::placeholder,
body.woocommerce-account .xoo-elpof-profile-update input[type="password"]::placeholder {
	color: #98a2b3;
	opacity: 1;
}
body.woocommerce-account .xoo-elpof-profile-update input[type="text"]:focus,
body.woocommerce-account .xoo-elpof-profile-update input[type="email"]:focus,
body.woocommerce-account .xoo-elpof-profile-update input[type="password"]:focus {
	border-color: #0095ff !important;
	outline: none;
}

/* Step 101: My Products (lmfwc-view-license-keys.php) -- approved AFTER design, Desktop /
   Tablet / Mobile references. Desktop + tablet: product groups are sections inside the one
   white content panel (22px apart, no card of their own): title (one line, ellipsis) +
   "Order #N" badge, PRODUCTS / ACTIONS labels, then per key a light click-to-copy box with
   Order + Download on its right. "View" button removed (template). Phones: see the 480px
   block below. Replaces the Step 92 rules. */
body.woocommerce-account .priads-myproducts {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
body.woocommerce-account .woocommerce-MyAccount-content .priads-myproducts-heading {
	display: none;
}
body.woocommerce-account .priads-myproducts-group {
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
}
body.woocommerce-account .priads-myproducts-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 4px;
}
body.woocommerce-account .priads-myproducts-title {
	display: block;
	max-width: 460px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: #0073E6;
	text-decoration: underline;
}
body.woocommerce-account .priads-myproducts-title:hover {
	color: #005bb5;
}
body.woocommerce-account .priads-myproducts-order-badge {
	flex: 0 0 auto;
	padding: 2px 10px;
	background: #F8FAFC;
	border: 0.8px solid #ECEFF3;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	color: #5A6678;
	white-space: nowrap;
}
body.woocommerce-account .priads-myproducts-cols {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 6px;
	padding-top: 0;
	border-top: 0;
}
body.woocommerce-account .priads-myproducts-col-label {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	color: #9aa4b2;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
body.woocommerce-account .priads-myproducts-row {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 14px;
	padding: 12px 0;
	border-top: 1px solid #eef0f4;
}
body.woocommerce-account .priads-myproducts-key {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 10px 14px;
	background: #F8FAFC;
	border: 0.8px solid #ECEFF3;
	border-radius: 9px;
	font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.55;
	color: #9aa4b2;
	word-break: break-all;
	cursor: pointer;
	position: relative;
}
body.woocommerce-account .priads-myproducts-key:hover {
	border-color: #0095FF;
	color: #6b7686;
}
body.woocommerce-account .priads-myproducts-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}
body.woocommerce-account .priads-myproducts-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 6px 12px;
	background: #EEF3FB;
	border: 0;
	border-radius: 7px;
	box-shadow: none;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.5;
	color: #0073E6;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease;
}
body.woocommerce-account .priads-myproducts-btn:hover,
body.woocommerce-account .priads-myproducts-btn:focus {
	background: #e0ebfa;
	color: #0073E6;
	text-decoration: none;
}
body.woocommerce-account .priads-myproducts-btn svg {
	width: 13px;
	height: 13px;
	flex: 0 0 auto;
}

/* Tablet reference (834px): same layout, a touch smaller. */
@media only screen and (max-width: 1024px) {
	body.woocommerce-account .priads-myproducts-title {
		max-width: 440px;
	}
	body.woocommerce-account .priads-myproducts-col-label {
		font-size: 10.5px;
	}
	body.woocommerce-account .priads-myproducts-row {
		gap: 12px;
		padding: 11px 0;
	}
	body.woocommerce-account .priads-myproducts-key {
		padding: 9px 13px;
		font-size: 11.5px;
		line-height: 1.5;
	}
	body.woocommerce-account .priads-myproducts-btn {
		font-size: 12px;
	}
}

/* Mobile reference (390px): no white sheet -- each product group is its own white card on
   the page background with the 12px gutter; key full width, buttons under it (Order
   stretched, Download icon-only); badge reads "#N"; "My Products" heading on top. */
@media only screen and (max-width: 480px) {
	body.woocommerce-account .woocommerce-MyAccount-content:has(.priads-myproducts) {
		background: transparent;
		box-shadow: none;
		border-radius: 0;
	}
	body.woocommerce-account .priads-myproducts {
		gap: 10px;
	}
	body.woocommerce-account .woocommerce-MyAccount-content .priads-myproducts-heading {
		display: block;
		margin: 0;
		font-size: 15px !important;
		font-weight: 600 !important;
		line-height: 1.4;
		color: #1C2433 !important;
	}
	body.woocommerce-account .priads-myproducts-group {
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 14px;
		background: #fff;
		border-radius: 12px;
	}
	body.woocommerce-account .priads-myproducts-head {
		gap: 6px;
		margin: 0;
	}
	body.woocommerce-account .priads-myproducts-title {
		max-width: 220px;
		font-size: 12px;
	}
	body.woocommerce-account .priads-myproducts-order-badge {
		padding: 1px 8px;
		font-size: 10px;
	}
	.priads-myproducts-order-badge__label {
		display: none;
	}
	body.woocommerce-account .priads-myproducts-cols {
		margin-top: 2px;
	}
	body.woocommerce-account .priads-myproducts-col-label {
		font-size: 10px;
	}
	body.woocommerce-account .priads-myproducts-row {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		padding: 0;
		border-top: 0;
	}
	body.woocommerce-account .priads-myproducts-key {
		padding: 9px 11px;
		font-size: 10.5px;
		line-height: 1.55;
	}
	body.woocommerce-account .priads-myproducts-actions {
		align-items: stretch;
		gap: 6px;
	}
	body.woocommerce-account .priads-myproducts-btn {
		padding: 6px 10px;
		font-size: 11px;
	}
	body.woocommerce-account .priads-myproducts-btn--order {
		flex: 1 1 auto;
	}
	body.woocommerce-account .priads-myproducts-btn--download .priads-myproducts-btn__text {
		display: none;
	}
}

/* Step 92: "Order" popup (My Products -> Order button). A centred panel over a dimmed
   backdrop, fading + scaling in rather than just appearing, closable via the X, a backdrop
   click, or Escape (wired in js/myaccount.js). Not scoped to body.woocommerce-account since the
   popup element is appended straight to <body>. */
.priads-order-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(17, 24, 39, 0);
	transition: background 0.2s ease;
	box-sizing: border-box;
}
.priads-order-popup--open {
	background: rgba(17, 24, 39, 0.5);
}
.priads-order-popup__panel {
	background: #fff;
	border-radius: 14px;
	width: 100%;
	max-width: 640px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translateY(12px) scale(0.98);
	transition: opacity 0.2s ease, transform 0.2s ease;
	box-shadow: 0 20px 60px rgba(17, 24, 39, 0.25);
}
.priads-order-popup--open .priads-order-popup__panel {
	opacity: 1;
	transform: translateY(0) scale(1);
}
.priads-order-popup__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid #eef0f4;
	font-weight: 700;
	font-size: 15px;
	color: #1c2433;
	flex: 0 0 auto;
}
.priads-order-popup__close {
	background: #f8fafc;
	border: none;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	font-size: 20px;
	line-height: 1;
	color: #5a6678;
	cursor: pointer;
}
.priads-order-popup__close:hover {
	background: #eceff3;
	color: #1c2433;
}
.priads-order-popup__body {
	padding: 20px;
	overflow-y: auto;
	flex: 1 1 auto;
}
.priads-order-popup__loading,
.priads-order-popup__error {
	font-size: 13.5px;
	color: #5a6678;
	padding: 20px 0;
	text-align: center;
}
.priads-order-popup__error a {
	color: #0073e6;
	font-weight: 600;
}
/* The popup head already says "Product details", so the page's own "License Details" heading
   (first element of the injected markup) would just repeat it. Everything else on that page
   (product, key, activations, Expires, View Order button, activations table) shows as-is. */
.priads-order-popup__body > h2:first-child {
	display: none;
}
@media only screen and (max-width: 600px) {
	.priads-order-popup {
		padding: 0;
		align-items: flex-end;
	}
	.priads-order-popup__panel {
		max-width: 100%;
		max-height: 90vh;
		border-radius: 14px 14px 0 0;
	}
}

/* Step 103: Orders tab (woocommerce/myaccount/orders.php) -- one card per order. Desktop/tablet:
   the cards line up as columns (Order | Date | Status | Total | Actions) under a label row.
   Phones (<=600px): each order is its own white card, exactly like the "Mobile -- Orders"
   reference. Status pills reuse the Order Details .priads-od-pill colours. */
body.woocommerce-account .priads-orders {
	display: flex;
	flex-direction: column;
}
body.woocommerce-account .woocommerce-MyAccount-content .priads-orders-heading {
	display: none;
}
body.woocommerce-account .priads-orders-labels,
body.woocommerce-account .priads-order-card {
	display: grid;
	grid-template-columns: 100px 130px 170px minmax(0, 1fr) auto;
	column-gap: 12px;
	align-items: center;
}
body.woocommerce-account .priads-orders-labels {
	padding: 0 0 10px;
	color: #9aa4b2;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}
body.woocommerce-account .priads-orders-labels__actions {
	text-align: right;
}
body.woocommerce-account .priads-order-card {
	padding: 14px 0;
	border-top: 1px solid #eef0f4;
	font-size: 13px;
	line-height: 1.5;
}
body.woocommerce-account .priads-order-card__num {
	color: #0073E6;
	font-weight: 600;
	text-decoration: none;
}
body.woocommerce-account .priads-order-card__num:hover {
	text-decoration: underline;
}
body.woocommerce-account .priads-order-card__date {
	color: #5A6678;
}
body.woocommerce-account .priads-order-card__total {
	color: #1C2433;
	font-weight: 600;
}
body.woocommerce-account .priads-order-card__actions {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 6px;
}
body.woocommerce-account .priads-order-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 14px;
	background: #EEF3FB;
	border: 1px solid transparent;
	border-radius: 7px;
	color: #0073E6;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
}
body.woocommerce-account .priads-order-card__btn:hover {
	background: #e0ebfa;
	color: #0073E6;
}
body.woocommerce-account .priads-order-card__btn--pay {
	background: #0095FF;
	color: #fff;
}
body.woocommerce-account .priads-order-card__btn--pay:hover {
	background: #0073E6;
	color: #fff;
}
body.woocommerce-account .priads-order-card__btn--cancel {
	background: #fff;
	border-color: #f3c7c7;
	color: #c0392b;
}
body.woocommerce-account .priads-order-card__btn--cancel:hover {
	background: #fdeaea;
	color: #c0392b;
}
@media only screen and (max-width: 1024px) {
	body.woocommerce-account .priads-orders-labels,
	body.woocommerce-account .priads-order-card {
		grid-template-columns: 70px 105px 140px minmax(0, 1fr) auto;
		column-gap: 10px;
	}
	body.woocommerce-account .priads-order-card__btn {
		padding: 6px 12px;
		font-size: 12px;
	}
}

/* Phones: one white card per order on the page background. */
@media only screen and (max-width: 600px) {
	body.woocommerce-account .woocommerce-MyAccount-content:has(.priads-orders) {
		background: transparent;
		box-shadow: none;
		border-radius: 0;
	}
	body.woocommerce-account .priads-orders {
		gap: 10px;
	}
	body.woocommerce-account .woocommerce-MyAccount-content .priads-orders-heading {
		display: block;
		margin: 0;
		font-size: 15px !important;
		font-weight: 600 !important;
		line-height: 1.4;
		color: #1C2433 !important;
	}
	body.woocommerce-account .priads-orders-labels {
		display: none;
	}
	body.woocommerce-account .priads-order-card {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "num status" "date date" "total actions";
		row-gap: 8px;
		column-gap: 8px;
		padding: 12px;
		background: #fff;
		border: 0;
		border-radius: 12px;
	}
	body.woocommerce-account .priads-order-card__num {
		grid-area: num;
		color: #1C2433;
		font-size: 12px;
	}
	body.woocommerce-account .priads-order-card__status {
		grid-area: status;
		justify-self: end;
	}
	body.woocommerce-account .priads-order-card__status .priads-od-pill {
		padding: 3px 8px;
		font-size: 10px;
		font-weight: 600;
	}
	body.woocommerce-account .priads-order-card__date {
		grid-area: date;
		font-size: 11px;
	}
	body.woocommerce-account .priads-order-card__total {
		grid-area: total;
		font-size: 13px;
	}
	body.woocommerce-account .priads-order-card__actions {
		grid-area: actions;
	}
	body.woocommerce-account .priads-order-card__btn {
		padding: 9px 20px;
		font-size: 12.5px;
	}
	/* pending: full-width "Pay now", then View + Cancel side by side */
	body.woocommerce-account .priads-order-card--payable {
		grid-template-areas: "num status" "date date" "total total" "actions actions";
	}
	body.woocommerce-account .priads-order-card--payable .priads-order-card__actions {
		margin-top: 2px;
	}
	body.woocommerce-account .priads-order-card--payable .priads-order-card__btn {
		flex: 1 1 0;
		padding: 9px;
		font-size: 11px;
	}
	body.woocommerce-account .priads-order-card--payable .priads-order-card__btn--pay {
		flex: 1 0 100%;
		order: -1;
		padding: 10px;
		font-size: 12.5px;
	}
}
/* Step 103b: when the Orders area is narrow (tablet with the sidebar, ~380-640px), the five
   columns don't fit -- switch to the compact card layout (number + pill / date / total + actions)
   as divider-separated rows. Phones (<=600px) still get the white cards from Step 103. */
body.woocommerce-account .priads-orders {
	container-type: inline-size;
}
@media only screen and (min-width: 601px) {
@container (max-width: 640px) {
	body.woocommerce-account .priads-orders-labels {
		display: none;
	}
	body.woocommerce-account .priads-order-card {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "num status" "date date" "total actions";
		row-gap: 6px;
		column-gap: 8px;
	}
	body.woocommerce-account .priads-order-card:first-of-type {
		border-top: 0;
	}
	body.woocommerce-account .priads-order-card__num { grid-area: num; }
	body.woocommerce-account .priads-order-card__status { grid-area: status; justify-self: end; }
	body.woocommerce-account .priads-order-card__date { grid-area: date; font-size: 12px; }
	body.woocommerce-account .priads-order-card__total { grid-area: total; }
	body.woocommerce-account .priads-order-card__actions { grid-area: actions; }
	body.woocommerce-account .priads-order-card--payable {
		grid-template-areas: "num status" "date date" "total total" "actions actions";
	}
	body.woocommerce-account .priads-order-card--payable .priads-order-card__actions {
		justify-content: stretch;
		margin-top: 4px;
	}
	body.woocommerce-account .priads-order-card--payable .priads-order-card__btn { flex: 1 1 0; }
	body.woocommerce-account .priads-order-card--payable .priads-order-card__btn--pay { flex: 1 0 100%; order: -1; padding: 9px; }
}
}

/* Step 104: Account Details tab (approved design). Heading + white cards on the page background
   (the content sheet goes transparent on this tab only), max 640px wide. */
body.woocommerce-account .woocommerce-MyAccount-content:has(.priads-acct) {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	padding: 0 !important;
}
body.woocommerce-account .priads-acct,
body.woocommerce-account .woocommerce-MyAccount-content:has(.priads-acct) .priads-forgot-password {
	max-width: 640px;
	font-family: 'Poppins', sans-serif;
}
body.woocommerce-account .priads-acct {
	display: flex;
	flex-direction: column;
}
body.woocommerce-account .priads-acct .priads-acct__title {
	margin: 0 0 4px !important;
	padding: 0 !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	color: #1C2433 !important;
}
body.woocommerce-account .priads-acct .priads-acct__sub {
	margin: 0 0 18px;
	font-size: 12px;
	line-height: 1.5;
	color: #9aa4b2;
}
body.woocommerce-account .priads-acct-card {
	background: #fff;
	border-radius: 14px;
	padding: 22px;
	box-sizing: border-box;
}
body.woocommerce-account .priads-acct-progress {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 18px;
}
body.woocommerce-account .priads-acct-progress__label {
	font-size: 13px;
	color: #5A6678;
}
body.woocommerce-account .priads-acct-progress__row {
	display: flex;
	align-items: center;
	gap: 12px;
}
body.woocommerce-account .priads-acct-progress__track {
	flex: 1;
	height: 10px;
	border-radius: 5px;
	background: #e7ebf1;
	overflow: hidden;
}
body.woocommerce-account .priads-acct-progress__fill {
	display: block;
	height: 100%;
	background: #0095FF;
	border-radius: 5px;
}
body.woocommerce-account .priads-acct-progress__pct {
	font-size: 13px;
	font-weight: 600;
	color: #0095FF;
	white-space: nowrap;
}
body.woocommerce-account .priads-acct-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
}
body.woocommerce-account .priads-acct-form .xoo-elpof-notices:empty {
	display: none;
}
body.woocommerce-account .priads-acct-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
body.woocommerce-account .priads-acct-field label {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #5A6678;
	line-height: 1.4;
}
body.woocommerce-account .priads-acct input[type="text"],
body.woocommerce-account .priads-acct input[type="email"],
body.woocommerce-account .priads-acct input[type="password"] {
	width: 100%;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 10px 12px !important;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e0e4ea !important;
	border-radius: 9px !important;
	box-shadow: none;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #1C2433;
}
body.woocommerce-account .priads-acct input:focus {
	outline: none;
	border-color: #0095FF !important;
	box-shadow: 0 0 0 3px rgba(0, 149, 255, .12);
}
body.woocommerce-account .priads-acct input:disabled {
	background: #f7f9fb;
	color: #9aa4b2;
	cursor: not-allowed;
}
body.woocommerce-account .priads-acct input[readonly] {
	background: #f7f9fb;
}
body.woocommerce-account .priads-acct-email-row,
body.woocommerce-account .priads-acct-pw-row {
	display: flex;
	gap: 10px;
}
body.woocommerce-account .priads-acct-pw-row > .priads-acct-field {
	flex: 1 1 0;
}
body.woocommerce-account .priads-acct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 9px 16px !important;
	border: 0 !important;
	border-radius: 8px !important;
	font-family: 'Poppins', sans-serif;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
}
body.woocommerce-account .priads-acct-btn--primary {
	background: #0095FF !important;
	color: #fff !important;
}
body.woocommerce-account .priads-acct-btn--primary:hover {
	background: #0073E6 !important;
}
body.woocommerce-account .priads-acct-btn--soft {
	background: #EEF3FB !important;
	color: #0073E6 !important;
}
body.woocommerce-account .priads-acct-btn--soft:hover {
	background: #e0ebfa !important;
}
body.woocommerce-account .priads-acct-btn:disabled {
	opacity: .7;
	cursor: default;
}
body.woocommerce-account .priads-acct-form .xoo-elpof-buttons {
	display: flex;
	margin: 0;
}
body.woocommerce-account .priads-acct-email-change {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	background: #f7f9fb;
	border: 1px dashed #d7deea;
	border-radius: 10px;
}
body.woocommerce-account .priads-acct-email-change[hidden],
body.woocommerce-account .priads-acct-email-verify[hidden],
body.woocommerce-account .priads-forgot-password [hidden] {
	display: none !important;
}
body.woocommerce-account .priads-acct-email-change > .priads-acct-btn,
body.woocommerce-account .priads-acct-email-verify .priads-acct-btn {
	align-self: flex-start;
}
body.woocommerce-account .priads-acct-email-verify {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
body.woocommerce-account .priads-acct-msg {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
}
body.woocommerce-account .priads-acct-msg:empty {
	display: none;
}
body.woocommerce-account .priads-acct-msg.is-ok { color: #1c7a3d; }
body.woocommerce-account .priads-acct-msg.is-error { color: #c0392b; }

/* Forgot password card (rendered after the form, inside the content area) */
body.woocommerce-account .woocommerce-MyAccount-content .priads-forgot-password {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 18px 0 0;
	padding: 22px;
	background: #fff;
	border: 0;
	border-radius: 14px;
	box-shadow: none;
}
body.woocommerce-account .priads-forgot-password .priads-forgot-password__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	color: #1C2433 !important;
}
body.woocommerce-account .priads-forgot-password__text {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #5A6678;
}
body.woocommerce-account .priads-forgot-password__row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
body.woocommerce-account .priads-forgot-password__email {
	flex: 1;
	min-width: 220px;
	padding: 10px 12px;
	background: #f7f9fb;
	border-radius: 9px;
	font-size: 12.5px;
	color: #334155;
	overflow-wrap: anywhere;
}
body.woocommerce-account .priads-forgot-password__done {
	margin: 0;
	padding: 12px 14px 12px 36px;
	background: #e8f7ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c7a3d' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat 13px 50% / 16px 16px;
	border: 0.8px solid #cdeedb;
	border-radius: 9px;
	font-size: 12.5px;
	line-height: 1.5;
	color: #1c7a3d;
}

/* Tablet: same layout, slightly tighter (Tablet -- Account Details). */
@media only screen and (max-width: 1024px) {
	body.woocommerce-account .priads-acct-card,
	body.woocommerce-account .woocommerce-MyAccount-content .priads-forgot-password {
		padding: 20px;
	}
	body.woocommerce-account .priads-acct-progress { margin-bottom: 16px; }
	body.woocommerce-account .priads-acct-form { gap: 16px; }
	body.woocommerce-account .woocommerce-MyAccount-content .priads-forgot-password { margin-top: 16px; }
	body.woocommerce-account .priads-acct-field label { font-size: 12.5px; }
	body.woocommerce-account .priads-acct input[type="text"],
	body.woocommerce-account .priads-acct input[type="email"],
	body.woocommerce-account .priads-acct input[type="password"] { font-size: 13.5px; }
	body.woocommerce-account .priads-acct-btn { padding: 9px 15px !important; font-size: 12.5px !important; }
	body.woocommerce-account .priads-forgot-password .priads-forgot-password__title { font-size: 13.5px !important; }
	body.woocommerce-account .priads-forgot-password__text,
	body.woocommerce-account .priads-forgot-password__email { font-size: 12px; }
}

/* Phones: no separate artboard -- same cards, 12px screen gutter, password fields stacked. */
@media only screen and (max-width: 600px) {
	body.woocommerce-account .priads-acct,
	body.woocommerce-account .woocommerce-MyAccount-content:has(.priads-acct) .priads-forgot-password {
		max-width: none;
	}
	body.woocommerce-account .priads-acct .priads-acct__title { font-size: 15px !important; font-weight: 600 !important; }
	body.woocommerce-account .priads-acct .priads-acct__sub { margin-bottom: 12px; }
	body.woocommerce-account .priads-acct-card,
	body.woocommerce-account .woocommerce-MyAccount-content .priads-forgot-password {
		padding: 16px;
		border-radius: 12px;
	}
	body.woocommerce-account .priads-acct-progress { margin-bottom: 10px; }
	body.woocommerce-account .woocommerce-MyAccount-content .priads-forgot-password { margin-top: 10px; }
	body.woocommerce-account .priads-acct-form { gap: 14px; }
	body.woocommerce-account .priads-acct-pw-row { flex-direction: column; gap: 14px; }
	body.woocommerce-account .priads-acct-email-change { padding: 12px; }
	body.woocommerce-account .priads-acct-form .xoo-elpof-buttons .priads-acct-btn,
	body.woocommerce-account .priads-forgot-password__send { flex: 1 1 100%; padding: 10px !important; }
	body.woocommerce-account .priads-forgot-password__email { min-width: 0; flex-basis: 100%; }
}
@media only screen and (max-width: 360px) {
	body.woocommerce-account .priads-acct-email-row { flex-direction: column; }
}
/* Step 104b: keep the account column left-aligned (Easy Login centres its container) and give
   phones the same 12px screen gutter as the other tabs. */
body.woocommerce-account .woocommerce-MyAccount-content .priads-acct.xoo-elpof-container {
	margin: 0 !important;
	width: auto !important;
}
@media only screen and (max-width: 600px) {
	body.woocommerce-account .woocommerce-MyAccount-content:has(.priads-acct) {
		padding: 0 12px !important;
	}
}

/* Step 104c: greyed-out Username like the design */
body.woocommerce-account .priads-acct input:disabled {
	color: #9aa4b2 !important;
	-webkit-text-fill-color: #9aa4b2;
	opacity: 1;
}

/* Step 105a: Account Details -- profile completeness in ONE compact line: label | thin bar | %. */
body.woocommerce-account .priads-acct-progress {
	flex-direction: row;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
}
body.woocommerce-account .priads-acct-progress__label {
	flex: 0 0 auto;
	font-size: 12.5px;
	white-space: nowrap;
}
body.woocommerce-account .priads-acct-progress__track {
	flex: 1 1 auto;
	min-width: 40px;
	height: 6px;
	border-radius: 3px;
}
body.woocommerce-account .priads-acct-progress__fill {
	border-radius: 3px;
}
body.woocommerce-account .priads-acct-progress__pct {
	flex: 0 0 auto;
	font-size: 12.5px;
}
@media only screen and (max-width: 1024px) {
	body.woocommerce-account .priads-acct-progress { padding: 11px 16px; }
}
@media only screen and (max-width: 600px) {
	body.woocommerce-account .priads-acct-progress { padding: 10px 14px; gap: 10px; }
	body.woocommerce-account .priads-acct-progress__label,
	body.woocommerce-account .priads-acct-progress__pct { font-size: 12px; }
}

/* Step 105b: Order Details "Your Products" -- the Download text is phone-only; desktop/tablet
   keep the icon-only button beside the key. */
body.woocommerce-account .priads-order-product__download-text {
	display: none;
}
@media only screen and (max-width: 480px) {
	body.woocommerce-account .priads-od-products .priads-order-product__row {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}
	body.woocommerce-account .priads-od-products .priads-order-product__key {
		width: 100%;
		box-sizing: border-box;
	}
	body.woocommerce-account .priads-od-products .priads-order-product__download {
		display: flex;
		width: 100%;
		gap: 6px;
		padding: 10px 14px;
		border-radius: 8px;
		font-size: 12px;
		font-weight: 600;
		line-height: 1.4;
		box-sizing: border-box;
	}
	body.woocommerce-account .priads-od-products .priads-order-product__download::before {
		width: 14px;
		height: 14px;
	}
	body.woocommerce-account .priads-od-products .priads-order-product__download-text {
		display: inline;
	}
}

/* Step 106 (replaces 105c): click-to-copy hint, softer. The whole key box gets a very light blue
   tint + blue border (the key text stays fully readable), and a small white "Click to copy" badge
   sits on the top-right edge -- the same spot the green "Copied" pill uses, so it simply swaps
   to "Copied" on click. Mouse devices show it on hover; touch screens get the tint while pressed. */
body.woocommerce-account .priads-copy-key,
body.woocommerce-account .lmfwc-myaccount-license-key {
	position: relative;
	transition: border-color 0.25s ease, background-color 0.25s ease;
}
body.woocommerce-account .priads-copy-key::after,
body.woocommerce-account .lmfwc-myaccount-license-key::after {
	content: "Click to copy";
	position: absolute;
	top: -11px;
	right: 8px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	padding: 3px 9px 3px 22px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230073E6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat 8px 50% / 11px 11px;
	border: 1px solid #cfe3fb;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 115, 230, 0.12);
	color: #0073E6;
	font-family: 'Poppins', sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(3px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
body.woocommerce-account .priads-copy-key:active,
body.woocommerce-account .lmfwc-myaccount-license-key:active {
	background-color: #f2f8ff;
	border-color: #9cc9f5;
}
@media (hover: hover) and (pointer: fine) {
	body.woocommerce-account .priads-copy-key:hover,
	body.woocommerce-account .lmfwc-myaccount-license-key:hover {
		background-color: #f2f8ff;
		border-color: #9cc9f5;
	}
	body.woocommerce-account .priads-copy-key:hover::after,
	body.woocommerce-account .lmfwc-myaccount-license-key:hover::after {
		opacity: 1;
		transform: translateY(0);
	}
}
body.woocommerce-account .priads-copy-key:has(.priads-copied-pill.is-visible)::after,
body.woocommerce-account .lmfwc-myaccount-license-key:has(.priads-copied-pill.is-visible)::after {
	opacity: 0;
}
body.woocommerce-account .priads-copied-pill {
	z-index: 2;
}

/* Step 106: Dashboard wallet card on desktop -- "Wallet balance" sits under the amount, not beside it. */
@media only screen and (min-width: 1025px) {
	body.woocommerce-account .priads-stat-card--wallet .priads-stat-card__info {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}
	body.woocommerce-account .priads-stat-card--wallet .priads-stat-card__label {
		margin: 0;
	}
}
/* Step 105d: "Order Details" is wider than the old "Order" label -- on tablet with the sidebar the key
   box got squeezed to ~150px. Let the buttons drop under the key when the row is too narrow. */
@media only screen and (min-width: 481px) and (max-width: 1024px) {
	body.woocommerce-account .priads-myproducts-row {
		flex-wrap: wrap;
		row-gap: 8px;
	}
	body.woocommerce-account .priads-myproducts-key {
		flex: 1 1 260px;
	}
}

/* Step 115c: the mobile back link was plain text with a 16px chevron -- easy to miss and a small
   target. It is now an app-style back control: the chevron in a round white button, 36px across,
   with the destination beside it, so the whole thing is an obvious 40px-tall tap target. Tapping
   still runs the same fast tab swap (js/myaccount.js), nothing about the behaviour changed. */
@media only screen and (max-width: 768px) {
	body.priads-mobile-show-content .priads-mobile-back {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		margin: 0 0 14px;
		padding: 2px 16px 2px 0;
		font-family: 'Poppins', sans-serif;
		font-size: 14.5px;
		font-weight: 600;
		line-height: 1.4;
		color: #1C2433;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}
	body.priads-mobile-show-content .priads-mobile-back__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 36px;
		width: 36px;
		height: 36px;
		background: #fff;
		border-radius: 50%;
		box-shadow: 0 2px 6px rgba(11, 21, 36, .10);
		color: #0073E6;
		transition: transform .12s ease, background .15s ease;
	}
	body.priads-mobile-show-content .priads-mobile-back__icon svg {
		width: 18px;
		height: 18px;
	}
	body.priads-mobile-show-content .priads-mobile-back:active .priads-mobile-back__icon {
		transform: scale(.92);
		background: #EEF3FB;
	}
}
/* Step 120: phone account home (approved design B5). See woocommerce/myaccount/navigation.php.
   Phones only -- on tablet/desktop .priads-mh stays hidden and the sidebar is unchanged. */
.priads-mh {
	display: none;
}
@media only screen and (max-width: 768px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		padding: 0 !important;
		border-radius: 0 !important;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation > .priads-account-nav__user,
	body.woocommerce-account .woocommerce-MyAccount-navigation > ul {
		display: none !important;
	}
	.priads-mh {
		display: block;
		font-family: 'Poppins', sans-serif;
		color: #1C2433;
	}
	.priads-mh__hero {
		padding: 16px;
		background: linear-gradient(135deg, #0095FF, #0073E6);
		border-radius: 18px;
		box-shadow: 0 8px 20px rgba(0, 115, 230, .25);
	}
	.priads-mh__who {
		display: flex;
		align-items: center;
		gap: 12px;
	}
	.priads-mh__avatar {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		background: #fff;
		color: #0095FF;
		font-size: 18px;
		font-weight: 700;
		line-height: 1;
	}
	.priads-mh__id {
		display: flex;
		flex-direction: column;
		min-width: 0;
	}
	.priads-mh__name {
		font-size: 15px;
		font-weight: 700;
		line-height: 1.4;
		color: #fff;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.priads-mh__mail {
		font-size: 11px;
		line-height: 1.4;
		color: #d7ebff;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.priads-mh__wallet {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		margin-top: 14px;
		padding: 10px 12px;
		background: rgba(255, 255, 255, .14);
		border-radius: 12px;
	}
	.priads-mh__wallet-text {
		display: flex;
		flex-direction: column;
	}
	.priads-mh__wallet-label {
		font-size: 10.5px;
		line-height: 1.4;
		color: #d7ebff;
	}
	.priads-mh__wallet-value,
	.priads-mh__wallet-value .amount {
		font-size: 20px;
		font-weight: 700;
		line-height: 1.3;
		color: #fff !important;
	}
	body.woocommerce-account .priads-mh a.priads-mh__topup {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		padding: 7px 14px;
		background: #fff;
		border-radius: 8px;
		color: #0073E6;
		font-size: 12px;
		font-weight: 600;
		line-height: 1.4;
		text-decoration: none;
	}
	.priads-mh__sec {
		padding: 16px 6px 7px;
		font-size: 11.5px;
		font-weight: 600;
		letter-spacing: .5px;
		text-transform: uppercase;
		color: #8a94a3;
	}
	.priads-mh__card {
		background: #fff;
		border-radius: 14px;
		overflow: hidden;
		box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
	}
	body.woocommerce-account .priads-mh a.priads-mh__row {
		position: relative;
		display: flex;
		align-items: center;
		gap: 12px;
		height: 48px;
		padding: 0 14px;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #1C2433;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}
	body.woocommerce-account .priads-mh a.priads-mh__row:active {
		background: #F2F8FF;
	}
	.priads-mh__row + .priads-mh__row::before {
		content: "";
		position: absolute;
		top: 0;
		left: 56px;
		right: 0;
		height: 1px;
		background: #EEF1F5;
	}
	.priads-mh__icon {
		display: flex;
		justify-content: center;
		flex: 0 0 30px;
		color: #0095FF;
	}
	.priads-mh__icon svg {
		width: 18px !important;
		height: 18px !important;
	}
	.priads-mh__label {
		font-size: 14px;
		font-weight: 500;
		line-height: 1.4;
	}
	.priads-mh__badge {
		margin-left: auto;
		padding: 2px 9px;
		background: #EAF3FF;
		border-radius: 999px;
		color: #0073E6;
		font-size: 11px;
		font-weight: 600;
		line-height: 1.5;
	}
	.priads-mh__chev {
		flex: 0 0 auto;
		margin-left: 6px;
		color: #b6bec9;
	}
	.priads-mh__label + .priads-mh__chev {
		margin-left: auto;
	}
	body.woocommerce-account .priads-mh .priads-mh__logout-wrap {
		margin: 14px 0 0;
		padding: 0;
		border: 0;
	}
	body.woocommerce-account .priads-mh a.priads-mh__logout {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 12px;
		background: #fff;
		border: 0;
		border-radius: 14px;
		color: #c0392b;
		font-size: 14px;
		font-weight: 600;
		text-decoration: none;
		box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
	}
	body.woocommerce-account .priads-mh a.priads-mh__logout svg {
		width: 17px;
		height: 17px;
	}
}
/* Step 120b: same 12px screen gutter and breathing room under the header as the other phone screens. */
@media only screen and (max-width: 768px) {
	.priads-mh {
		padding: 12px 12px 4px;
	}
}

/* Step 124: logged-out My Account = the login / sign-up page (approved design B5 "logged out").
   One clean white card on the page background, site-blue tabs and button, dark readable text
   in the fields (the plugin's own focus colours were light grey on grey). */
body.page-id-11:not(.logged-in) .elementor-element-70ef2f2 {
	background: transparent !important;
	min-height: 0 !important;
	padding: 0 16px !important;
}
body.page-id-11:not(.logged-in) .elementor-element-28075a0 {
	padding: 28px 0 40px !important;
	min-height: 0 !important;
}
body.page-id-11:not(.logged-in) .elementor-element-28075a0 .woocommerce {
	display: block !important;
	min-height: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}
body.page-id-11:not(.logged-in) .xoo-el-form-inline {
	max-width: 440px;
	margin: 0 auto !important;
	padding: 24px 18px 22px !important;
	background: #fff !important;
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(16, 24, 40, .07);
	font-family: 'Poppins', sans-serif;
}
body.page-id-11:not(.logged-in) .xoo-el-form-inline .xoo-el-header {
	margin: 0 0 20px !important;
	padding: 0 !important;
}
body.page-id-11:not(.logged-in) .xoo-el-form-inline ul.xoo-el-tabs {
	display: flex;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #DCE3EC;
	border-radius: 10px;
	overflow: hidden;
}
body.page-id-11:not(.logged-in) .xoo-el-form-inline ul.xoo-el-tabs li {
	flex: 1;
	margin: 0 !important;
	padding: 11px 10px !important;
	border: 0 !important;
	text-align: center;
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.4;
}
body.page-id-11:not(.logged-in) .xoo-el-form-inline .xoo-aff-group {
	margin-bottom: 14px !important;
}
.xoo-el-form-container .xoo-aff-input-group .xoo-aff-input-icon {
	border-radius: 10px 0 0 10px;
}
.xoo-el-form-container .xoo-aff-input-group input.xoo-aff-field,
.xoo-el-form-container .xoo-aff-input-group input[type="text"],
.xoo-el-form-container .xoo-aff-input-group input[type="email"],
.xoo-el-form-container .xoo-aff-input-group input[type="password"] {
	border-radius: 0 10px 10px 0 !important;
	background: #fff !important;
	color: #1C2433 !important;
	-webkit-text-fill-color: #1C2433;
	font-size: 15px !important;
	font-weight: 500;
	opacity: 1 !important;
}
.xoo-el-form-container .xoo-aff-input-group input.xoo-aff-field:focus {
	border-color: #0095FF !important;
	background: #fff !important;
	color: #1C2433 !important;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(0, 149, 255, .12) !important;
}
.xoo-el-form-container .xoo-aff-input-group input.xoo-aff-field::placeholder {
	color: #9AA4B2 !important;
	-webkit-text-fill-color: #9AA4B2;
	font-weight: 400;
	opacity: 1;
}
.xoo-el-form-container .xoo-aff-input-group input.xoo-aff-field:-webkit-autofill,
.xoo-el-form-container .xoo-aff-input-group input.xoo-aff-field:-webkit-autofill:focus {
	-webkit-text-fill-color: #1C2433 !important;
	box-shadow: 0 0 0 100px #fff inset !important;
}
.xoo-el-form-container .xoo-el-login-btm-fields {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 2px 0 16px !important;
	font-size: 13px;
	color: #5A6678;
}
.xoo-el-form-container .xoo-el-login-btm-fields a.xoo-el-lostpw-tgr {
	color: #0073E6;
	font-weight: 500;
}
.xoo-el-form-container button.xoo-el-action-btn {
	width: 100%;
	height: 48px !important;
	margin: 0 !important;
	background: #0095FF !important;
	border: 0 !important;
	border-radius: 10px !important;
	box-shadow: 0 4px 12px rgba(0, 149, 255, .25);
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 600 !important;
}
.xoo-el-form-container button.xoo-el-action-btn:hover {
	background: #0073E6 !important;
}
/* ==========================================================================
   Step 137: account security (two-step email change, current password, reset by code)
   ========================================================================== */
body.woocommerce-account .priads-acct-step,
body.woocommerce-account .priads-acct-codebox,
body.woocommerce-account .priads-forgot-password__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.woocommerce-account .priads-acct-step[hidden],
body.woocommerce-account .priads-acct-codebox[hidden],
body.woocommerce-account .priads-forgot-password__form[hidden],
body.woocommerce-account .priads-forgot-password__send[hidden] {
	display: none !important;
}
body.woocommerce-account .priads-acct-step__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	color: #1C2433;
}
body.woocommerce-account .priads-acct-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #0095FF;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
body.woocommerce-account .priads-acct-step__text {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #5A6678;
	overflow-wrap: anywhere;
}
body.woocommerce-account .priads-acct-step > .priads-acct-btn,
body.woocommerce-account .priads-acct-codebox .priads-acct-btn {
	align-self: flex-start;
}
body.woocommerce-account .priads-acct-hint {
	font-size: 11.5px;
	font-weight: 400;
	color: #9aa4b2;
}
body.woocommerce-account .priads-acct-curpw {
	margin-bottom: 2px;
}
body.woocommerce-account .priads-forgot-password__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
/* the reset card sits outside the profile form, so it needs the form's input look */
body.woocommerce-account .priads-forgot-password input[type="text"],
body.woocommerce-account .priads-forgot-password input[type="password"] {
	width: 100%;
	height: auto;
	padding: 10px 12px !important;
	color: #1c2433 !important;
	border: 1px solid #e3e7ee !important;
	background: #fff !important;
	border-radius: 9px !important;
	font-size: 13.5px !important;
	line-height: 1.5;
}
body.woocommerce-account .priads-forgot-password input::placeholder {
	color: #98a2b3;
	opacity: 1;
}
body.woocommerce-account .priads-forgot-password input:focus {
	border-color: #0095ff !important;
	outline: none;
}
@media (max-width: 767px) {
	body.woocommerce-account .priads-acct-step > .priads-acct-btn,
	body.woocommerce-account .priads-acct-codebox .priads-acct-btn,
	body.woocommerce-account .priads-acct-email-verify .priads-acct-btn,
	body.woocommerce-account .priads-forgot-password__actions .priads-acct-btn {
		align-self: stretch;
		flex: 1 1 100%;
	}
}
/* Step 137: wallet transactions -- date no longer runs into the description (desktop + tablet). */
@media (min-width: 769px) {
	body.woocommerce-account .woo-wallet-my-wallet-container .ww-txn-table .ww-txn-row {
		grid-template-columns: minmax(118px, 0.8fr) minmax(0, 2fr) minmax(104px, 0.8fr) minmax(90px, 0.7fr);
		column-gap: 18px;
	}
}/* Step 137: tablet widths -- the wallet card is too narrow for four columns there, so the date moves
   under the description (same pattern as the Dashboard's Recent transactions). */
@media (min-width: 769px) and (max-width: 1199px) {
	body.woocommerce-account .woo-wallet-my-wallet-container .ww-txn-table .ww-txn-row {
		grid-template-columns: minmax(0, 1fr) auto minmax(74px, auto);
		grid-template-areas: "desc type amount" "date type amount";
		row-gap: 2px;
	}
	body.woocommerce-account .woo-wallet-my-wallet-container .ww-txn-table .ww-txn-cell--desc { grid-area: desc; }
	body.woocommerce-account .woo-wallet-my-wallet-container .ww-txn-table .ww-txn-cell--date { grid-area: date; font-size: .8rem; }
	body.woocommerce-account .woo-wallet-my-wallet-container .ww-txn-table .ww-txn-cell--type { grid-area: type; }
	body.woocommerce-account .woo-wallet-my-wallet-container .ww-txn-table .ww-txn-cell--amount { grid-area: amount; }
	body.woocommerce-account .woo-wallet-my-wallet-container .ww-txn-table .ww-txn-row--head {
		grid-template-areas: "desc type amount";
	}
	body.woocommerce-account .woo-wallet-my-wallet-container .ww-txn-table .ww-txn-row--head .ww-txn-cell--date {
		display: none;
	}
}
/* Step 137: numbered pagination on Order Details (orders list). */
body.woocommerce-account .priads-pager {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 20px 0 4px;
	font-family: 'Poppins', sans-serif;
}
body.woocommerce-account .priads-pager__status {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #5A6678;
}
body.woocommerce-account .priads-pager__status b {
	font-weight: 600;
	color: #1C2433;
}
body.woocommerce-account .priads-pager__row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}
body.woocommerce-account .priads-pager__step,
body.woocommerce-account .priads-pager__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 38px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid #DCE3EC;
	border-radius: 10px;
	color: #1C2433;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .15s ease, color .15s ease, background .15s ease;
}
body.woocommerce-account .priads-pager__num {
	min-width: 38px;
	padding: 0 6px;
}
body.woocommerce-account a.priads-pager__step:hover,
body.woocommerce-account a.priads-pager__num:hover {
	border-color: #0095FF;
	color: #0073E6;
}
body.woocommerce-account .priads-pager__num.is-current {
	background: #0095FF;
	border-color: #0095FF;
	color: #fff;
}
body.woocommerce-account .priads-pager__step.is-disabled {
	opacity: .45;
	cursor: default;
}
body.woocommerce-account .priads-pager__nums {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
body.woocommerce-account .priads-pager__gap {
	padding: 0 2px;
	color: #9aa4b2;
}
body.woocommerce-account .priads-pager__mini {
	display: none;
	min-width: 56px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: #1C2433;
}
@media (max-width: 600px) {
	body.woocommerce-account .priads-pager__nums {
		display: none;
	}
	body.woocommerce-account .priads-pager__mini {
		display: inline-block;
	}
	body.woocommerce-account .priads-pager__row {
		flex-wrap: nowrap;
		width: 100%;
	}
	body.woocommerce-account .priads-pager__step {
		flex: 1 1 0;
		padding: 0 10px;
	}
}
/* ==========================================================================
   Step 137: order page -- "Page access profile" card (spaced from Order again, site font, editable)
   ========================================================================== */
body.woocommerce-account .priads-fbp-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 16px 0 0;
	padding: 14px 16px;
	background: #F7F9FC;
	border: 1px solid #E6ECF4;
	border-radius: 12px;
	font-family: 'Poppins', sans-serif;
}
body.woocommerce-account .priads-fbp-card.is-invalid .priads-fbp-card__input {
	border-color: #E5484D !important;
	box-shadow: 0 0 0 3px rgba(229, 72, 77, .12);
}
body.woocommerce-account .priads-fbp-card__head {
	display: flex;
	align-items: center;
	gap: 8px;
}
body.woocommerce-account .priads-fbp-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #E7F1FF;
	color: #0073E6;
}
body.woocommerce-account .priads-fbp-card__label {
	flex: 1 1 auto;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #1C2433;
}
body.woocommerce-account .priads-fbp-card__edit,
body.woocommerce-account .priads-fbp-card__cancel {
	margin: 0;
	padding: 6px 14px !important;
	background: #EEF3FB !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #0073E6 !important;
	font-family: 'Poppins', sans-serif;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-transform: none;
	cursor: pointer;
}
body.woocommerce-account .priads-fbp-card__edit:hover,
body.woocommerce-account .priads-fbp-card__cancel:hover {
	background: #E0EBFA !important;
}
body.woocommerce-account .priads-fbp-card__edit[hidden],
body.woocommerce-account .priads-fbp-card__view[hidden],
body.woocommerce-account .priads-fbp-card__form[hidden] {
	display: none !important;
}
body.woocommerce-account .priads-fbp-card__link {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.5;
	color: #0073E6;
	text-decoration: none;
}
body.woocommerce-account .priads-fbp-card__link:hover {
	text-decoration: underline;
}
body.woocommerce-account .priads-fbp-card__empty {
	font-size: 13px;
	line-height: 1.5;
	color: #5A6678;
}
body.woocommerce-account .priads-fbp-card__note {
	margin: 2px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #8A94A6;
}
body.woocommerce-account .priads-fbp-card__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.woocommerce-account .priads-fbp-card__input {
	width: 100%;
	padding: 10px 12px !important;
	background: #fff !important;
	border: 1px solid #DCE3EC !important;
	border-radius: 9px !important;
	color: #1C2433 !important;
	font-family: 'Poppins', sans-serif;
	font-size: 13.5px !important;
	line-height: 1.5;
}
body.woocommerce-account .priads-fbp-card__input:focus {
	border-color: #0095FF !important;
	outline: none;
}
body.woocommerce-account .priads-fbp-card__actions {
	display: flex;
	gap: 8px;
}
body.woocommerce-account .priads-fbp-card__save {
	margin: 0;
	padding: 8px 18px !important;
	background: #0095FF !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-family: 'Poppins', sans-serif;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-transform: none;
	cursor: pointer;
}
body.woocommerce-account .priads-fbp-card__save:hover {
	background: #0073E6 !important;
}
body.woocommerce-account .priads-fbp-card__save:disabled {
	opacity: .7;
}
body.woocommerce-account .priads-fbp-card__msg {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
}
body.woocommerce-account .priads-fbp-card__msg:empty {
	display: none;
}
body.woocommerce-account .priads-fbp-card__msg.is-ok { color: #1c7a3d; }
body.woocommerce-account .priads-fbp-card__msg.is-error { color: #D93036; }
@media (max-width: 600px) {
	body.woocommerce-account .priads-fbp-card__actions > button {
		flex: 1 1 0;
	}
}
/* Step 137: My Account > Notifications */
.priads-ntx { font-family: 'Poppins', sans-serif; }
.priads-ntx__head { margin-bottom: 16px; }
.priads-ntx__title { margin: 0 0 4px !important; font-size: 20px !important; font-weight: 600 !important; line-height: 1.3 !important; color: #1C2433; }
.priads-ntx__sub { margin: 0 !important; font-size: 13px; line-height: 1.5; color: #5A6678; }
.priads-ntx__list { margin: 0 !important; padding: 0 !important; list-style: none !important; background: #fff; border: 1px solid #E8ECF2; border-radius: 14px; overflow: hidden; }
.priads-ntx__list .priads-nti { margin: 0; padding: 14px 18px; border-bottom: 1px solid #F0F2F6; list-style: none; }
.priads-ntx__list .priads-nti:last-child { border-bottom: 0; }
.priads-ntx__list .priads-nti.is-unread::after { top: 20px; right: 16px; }
.priads-ntx__list a.priads-nti__title:hover { color: #0073E6 !important; }
.priads-ntx__empty { padding: 34px 20px; background: #fff; border: 1px dashed #D5DCE6; border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: #5A6678; text-align: center; }
@media (max-width: 767px) {
	.priads-ntx__title { font-size: 18px !important; }
	.priads-ntx__list .priads-nti { padding: 13px 14px; }
}
/* Step 138: offer emails on / off */
.priads-ntx__pref { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 13px 16px; background: #fff; border: 1px solid #E8ECF2; border-radius: 12px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.priads-ntx__pref input { flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0 !important; accent-color: #0095FF; }
.priads-ntx__pref strong { display: block; font-weight: 600; color: #1C2433; }
.priads-ntx__prefnote { display: block; color: #5A6678; font-size: 12px; }
.priads-ntx__list .priads-nti__img { margin-right: 22px; }