/* Apex My Account customer portal
   Reuses the apex-lead-forms plugin's own --alf-navy/--alf-orange palette
   (declared on .alf-form-wrap in apex-lead-forms.css) instead of inventing
   new tokens, so the dashboard/My Samples/Business Information tabs match
   the already-shipped verification badges and My Samples cards. This file
   only styles the WooCommerce page shell (nav, dashboard summary, checkout
   banner) - form fields inside .alf-form-wrap already inherit their look
   from apex-lead-forms.css. */

:root {
	--apex-navy: #0B2265;
	--apex-orange: #F5921E;
}

/* ---- Sidebar navigation - overrides style.css's #0033A0 (unrelated blue) ---- */
.woocommerce-account .woocommerce-MyAccount-navigation {
	margin-bottom: 24px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e7e9f0;
	border-radius: 10px;
	overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	border-bottom: 1px solid #e7e9f0;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
	border-bottom: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	width: 100%;
	padding: 13px 20px;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--apex-navy);
	text-decoration: none;
	transition: background .15s, color .15s;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background: #f2f4f8;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background: var(--apex-navy);
	color: #fff;
}

@media (min-width: 901px) {
	.woocommerce-account .woocommerce-MyAccount-content,
	.woocommerce-account .woocommerce-MyAccount-navigation {
		vertical-align: top;
	}
}
@media (max-width: 900px) {
	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		border-radius: 8px;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation ul li {
		border-bottom: none;
		border-right: 1px solid #e7e9f0;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
		border-right: none;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
		padding: 10px 14px;
		font-size: 13px;
	}
}

/* ---- Nested nav groups (My Orders / Account Settings) ---- */
.apex-account-nav .apex-nav-group-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 13px 20px;
	margin: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--apex-navy);
	text-align: left;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.apex-account-nav .apex-nav-group-toggle:hover {
	background: #f2f4f8;
}
.apex-account-nav .apex-nav-chevron {
	font-size: 11px;
	transition: transform .15s;
}
.apex-account-nav .apex-nav-group.is-open .apex-nav-chevron {
	transform: rotate(180deg);
}
.apex-account-nav .apex-nav-subitems {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #f9fafb;
	display: none;
}
.apex-account-nav .apex-nav-group.is-open .apex-nav-subitems {
	display: block;
}
.apex-account-nav .apex-nav-subitems li {
	border-bottom: 1px solid #e7e9f0;
}
.apex-account-nav .apex-nav-subitems li:last-child {
	border-bottom: none;
}
.apex-account-nav .apex-nav-subitems li a {
	padding: 11px 20px 11px 34px;
	font-weight: 500;
	font-size: 13.5px;
}
.apex-account-nav .apex-nav-subitems li.is-active a {
	background: var(--apex-navy);
	color: #fff;
}
@media (max-width: 900px) {
	.apex-account-nav .apex-nav-group {
		flex: 1 1 100%;
	}
	.apex-account-nav .apex-nav-group-toggle {
		padding: 10px 14px;
		font-size: 13px;
	}
}

/* ---- Dashboard cards (shared) ---- */
.apex-verify-card-wrap,
.apex-action-card,
.apex-orders-card,
.apex-samples-teaser {
	margin-top: 16px;
	padding: 24px;
	border-radius: 10px;
	border: 1px solid var(--alf-border, #d7dbe0);
}
.apex-orders-card > .apex-verify-header a,
.apex-samples-teaser > .apex-verify-header a,
.apex-verify-note a {
	color: var(--apex-navy);
	font-weight: 600;
	text-decoration: underline;
}

/* ---- WooCommerce's own dashboard greeting (printed natively by
   myaccount/dashboard.php before the woocommerce_account_dashboard hook
   fires) - styled in place as a card instead of duplicating its text.
   Scoped to .apex-account-dashboard (added via body_class in functions.php
   only on the dashboard view) so it never touches other tabs' own <p> tags
   (e.g. orders.php's "No order has been made yet." empty state). ---- */
.apex-account-dashboard .woocommerce-MyAccount-content > p:first-of-type {
	margin: 0;
	padding: 24px 24px 8px;
	border: 1px solid var(--alf-border, #d7dbe0);
	border-bottom: none;
	border-radius: 10px 10px 0 0;
	font-size: 15px;
}
.apex-account-dashboard .woocommerce-MyAccount-content > p:first-of-type + p {
	margin: 0 0 16px;
	padding: 0 24px 24px;
	border: 1px solid var(--alf-border, #d7dbe0);
	border-top: none;
	border-radius: 0 0 10px 10px;
	font-size: 14.5px;
	color: var(--alf-gray, #8a8f98);
	line-height: 1.6;
}
.apex-account-dashboard .woocommerce-MyAccount-content > p:first-of-type a,
.apex-account-dashboard .woocommerce-MyAccount-content > p:first-of-type + p a {
	color: var(--apex-navy);
	font-weight: 600;
	text-decoration: underline;
}

.apex-verify-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}
.apex-verify-header h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--apex-navy);
}
.apex-verify-header a {
	font-size: 13px;
	font-weight: 700;
	color: var(--apex-orange);
	text-decoration: none;
}
.apex-verify-progress {
	font-size: 12px;
	font-weight: 600;
	color: var(--alf-gray, #8a8f98);
}

.apex-verify-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
@media (max-width: 640px) {
	.apex-verify-grid {
		grid-template-columns: 1fr;
	}
}
.apex-verify-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 13px;
	border: 1px solid;
}
.apex-verify-card.is-ok {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #15803d;
}
.apex-verify-card.is-warn {
	background: #fff7ed;
	border-color: #fed7aa;
	color: var(--apex-orange);
}
.apex-verify-card.is-neutral {
	background: #f9fafb;
	border-color: var(--alf-border, #d7dbe0);
	color: var(--alf-gray, #8a8f98);
}
.apex-verify-card span:last-child {
	color: #1c1c1c;
	line-height: 1.4;
}
.apex-verify-card-icon {
	flex-shrink: 0;
	width: 20px;
	text-align: center;
	font-weight: 800;
	font-size: 15px;
	line-height: 1;
}

.apex-verify-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--alf-border, #d7dbe0);
}
.apex-verify-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.apex-verify-actions .alf-submit-btn {
	width: auto;
	margin: 0;
	padding: 10px 18px;
	font-size: 13px;
	white-space: nowrap;
}
.apex-verify-note {
	margin: 0;
	font-size: 13px;
	color: var(--alf-gray, #8a8f98);
}
.apex-verify-note-ok {
	color: #15803d;
	font-weight: 600;
}

/* ---- Action tile grid ---- */
.apex-action-card h2 {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 700;
	color: var(--apex-navy);
}
.apex-action-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
@media (max-width: 700px) {
	.apex-action-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 460px) {
	.apex-action-grid {
		grid-template-columns: 1fr;
	}
}
.apex-action-tile {
	display: block;
	padding: 18px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 13.5px;
	color: #fff !important;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}
.apex-action-tile:hover,
.apex-action-tile:visited,
.apex-action-tile:focus {
	color: #fff !important;
	transform: translateY(-2px);
}
.apex-action-tile.is-orange {
	background: var(--apex-orange);
}
.apex-action-tile.is-navy {
	background: var(--apex-navy);
}

/* ---- Active orders ---- */
.apex-order-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--alf-border, #d7dbe0);
	border-radius: 8px;
	margin-bottom: 10px;
}
.apex-order-card:last-child {
	margin-bottom: 0;
}
.apex-order-card a {
	color: var(--apex-navy);
	text-decoration: none;
}
.apex-order-summary {
	font-size: 13px;
	color: var(--alf-gray, #8a8f98);
	margin-left: 8px;
}
.apex-order-date {
	font-size: 11.5px;
	color: var(--alf-gray, #8a8f98);
	margin-top: 2px;
}
.apex-order-right {
	display: flex;
	align-items: center;
	gap: 10px;
}
.apex-order-status {
	font-size: 11px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 20px;
	background: #fff7ed;
	color: var(--apex-orange);
	border: 1px solid #fed7aa;
	white-space: nowrap;
}
.apex-order-view {
	font-size: 12.5px;
	font-weight: 700;
	border: 1px solid var(--alf-border, #d7dbe0);
	padding: 6px 14px;
	border-radius: 6px;
	white-space: nowrap;
}

/* ---- Business Information empty state ---- */
.alf-business-info-empty {
	margin: 0 0 16px;
	font-size: 13.5px;
	color: var(--alf-gray, #8a8f98);
}

/* ---- Checkout verification banner ---- */
.apex-first-order-verify-notice.woocommerce-info {
	border-top-color: var(--apex-orange);
}
.apex-first-order-verify-notice a {
	color: var(--apex-navy);
	font-weight: 600;
}

/* =====================================================================
   Prototype fidelity pass - values taken from the approved prototype
   (rounded-md = 6px, white cards, gray-200 borders, #F1F2F4 canvas).
   Kept last so it wins the cascade; !important only where the theme's
   own button/heading/link rules were overriding these.
   ===================================================================== */
body.woocommerce-account {
	background: #F1F2F4 !important;
}

/* Sidebar */
.woocommerce-account .woocommerce-MyAccount-navigation > ul {
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul ul.apex-nav-subitems {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: #f9fafb !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a,
.apex-account-nav .apex-nav-group-toggle {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 14px 20px !important;
	font-size: 14.5px !important;
	font-weight: 500 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: #1c1c1c !important;
	line-height: 1.5 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus,
.woocommerce-account .woocommerce-MyAccount-navigation ul li:hover > a,
.apex-account-nav .apex-nav-group-toggle:hover,
.apex-account-nav .apex-nav-group-toggle:focus {
	background: var(--apex-navy) !important;
	color: #fff !important;
}
.apex-account-nav .apex-nav-group-toggle:hover .apex-nav-chevron {
	color: #fff !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active > a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a[aria-current="page"],
.apex-account-nav .apex-nav-subitems li.is-active > a {
	background: var(--apex-navy) !important;
	color: #fff !important;
	font-weight: 600 !important;
}
.apex-account-nav .apex-nav-subitems {
	background: #f9fafb !important;
}
.apex-account-nav .apex-nav-subitems li a {
	padding: 12px 20px 12px 36px !important;
	font-size: 13.5px !important;
}
.apex-account-nav .apex-nav-group-toggle {
	width: 100%;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
}
.apex-account-nav .apex-nav-chevron {
	color: #9ca3af;
	font-size: 14px !important;
	line-height: 1;
}

/* Cards */
.apex-verify-card-wrap,
.apex-action-card,
.apex-orders-card,
.apex-samples-teaser,
.apex-account-dashboard .woocommerce-MyAccount-content > p:first-of-type,
.apex-account-dashboard .woocommerce-MyAccount-content > p:first-of-type + p {
	background: #fff !important;
	border-color: #e5e7eb !important;
}
.apex-verify-card-wrap,
.apex-action-card,
.apex-orders-card,
.apex-samples-teaser {
	border-radius: 6px !important;
	margin-top: 20px !important;
	padding: 24px !important;
}
.apex-account-dashboard .woocommerce-MyAccount-content > p:first-of-type {
	border-radius: 6px 6px 0 0 !important;
}
.apex-account-dashboard .woocommerce-MyAccount-content > p:first-of-type + p {
	border-radius: 0 0 6px 6px !important;
	color: #4b5563 !important;
	margin-bottom: 0 !important;
}
.apex-account-dashboard .woocommerce-MyAccount-content > p:first-of-type a,
.apex-account-dashboard .woocommerce-MyAccount-content > p:first-of-type + p a {
	color: var(--apex-navy) !important;
	font-weight: 500 !important;
	text-decoration: underline !important;
}

/* Card headings (theme was squeezing letter-spacing) */
.apex-verify-header h2,
.apex-action-card h2 {
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
	word-spacing: normal !important;
	line-height: 1.4 !important;
	color: var(--apex-navy) !important;
	margin: 0 !important;
}
.apex-action-card h2 {
	margin-bottom: 16px !important;
}
.apex-verify-header a {
	color: var(--apex-orange) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}
.apex-verify-header a:hover {
	text-decoration: underline !important;
}
.apex-verify-progress {
	color: #9ca3af !important;
	font-size: 12px !important;
	font-weight: 600 !important;
}

/* Verification cards */
.apex-verify-grid {
	gap: 12px !important;
}
.apex-verify-card {
	gap: 10px !important;
	padding: 12px 16px !important;
	border-radius: 6px !important;
	line-height: 1.3 !important;
}
.apex-verify-card.is-ok      { background: #f0fdf4 !important; border-color: #bbf7d0 !important; }
.apex-verify-card.is-warn    { background: #fff7ed !important; border-color: #fed7aa !important; }
.apex-verify-card.is-neutral { background: #f9fafb !important; border-color: #e5e7eb !important; }
.apex-verify-card-icon {
	width: 16px !important;
	height: 16px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.apex-verify-card .apex-ico {
	width: 16px;
	height: 16px;
	display: block;
}
.apex-verify-card.is-ok .apex-verify-card-icon      { color: #16a34a !important; }
.apex-verify-card.is-warn .apex-verify-card-icon    { color: var(--apex-orange) !important; }
.apex-verify-card.is-neutral .apex-verify-card-icon { color: #9ca3af !important; }
.apex-verify-card > span:last-child {
	display: flex;
	flex-direction: column;
}
.apex-verify-card strong {
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #1c1c1c !important;
}
.apex-verify-card em {
	font-style: normal !important;
	font-size: 11px !important;
	font-weight: 600 !important;
}
.apex-verify-card.is-ok em      { color: #16a34a !important; }
.apex-verify-card.is-warn em    { color: #DC7E0F !important; }
.apex-verify-card.is-neutral em { color: #6b7280 !important; }

/* Footer + button */
.apex-verify-footer {
	border-top: 1px solid #f3f4f6 !important;
	margin-top: 16px !important;
	padding-top: 16px !important;
	flex-wrap: wrap;
}
.apex-verify-note {
	flex: 1 1 260px;
	font-size: 13px !important;
	color: #6b7280 !important;
	margin: 0 !important;
}
.apex-verify-actions {
	flex: 0 0 auto;
}
.apex-verify-actions .alf-submit-btn {
	background: var(--apex-orange) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	padding: 10px 20px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	width: auto !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}
.apex-verify-actions .alf-submit-btn:hover {
	background: #DC7E0F !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(245, 146, 30, .35) !important;
}

/* Action tiles: icon stacked above label */
.apex-action-grid {
	gap: 12px !important;
}
.apex-action-tile {
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
	padding: 16px !important;
	border-radius: 6px !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
	text-decoration: none !important;
	box-shadow: none !important;
}
.apex-action-tile .apex-tile-ico {
	width: 20px;
	height: 20px;
	display: block;
}
.apex-action-tile.is-orange { background: var(--apex-orange) !important; }
.apex-action-tile.is-navy   { background: var(--apex-navy) !important; }
.apex-action-tile:hover {
	box-shadow: 0 8px 18px rgba(11, 34, 101, .15) !important;
}
.apex-action-tile.is-orange:hover {
	box-shadow: 0 8px 18px rgba(245, 146, 30, .35) !important;
}

/* Sample Requests + Get Started pages */
.apex-samples-page .apex-sp-card,
.apex-samples-page .apex-sp-promo {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 24px;
	margin: 0 0 20px;
}
.apex-samples-page h1 { font-size: 20px !important; font-weight: 700 !important; color: var(--apex-navy) !important; letter-spacing: normal !important; margin: 0 0 4px !important; }
.apex-samples-page h2 { font-size: 16px !important; font-weight: 700 !important; color: var(--apex-navy) !important; letter-spacing: normal !important; margin: 0 !important; }
.apex-samples-page p { margin: 0; font-size: 13.5px; color: #6b7280; }
.apex-sp-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.apex-sp-btn {
	display: inline-flex !important; align-items: center; gap: 8px;
	background: var(--apex-orange) !important; color: #fff !important;
	font-size: 13.5px; font-weight: 700; padding: 10px 20px; border-radius: 6px;
	text-decoration: none !important; white-space: nowrap;
}
.apex-sp-btn:hover { background: #DC7E0F !important; }
.apex-sp-btn .apex-ico { width: 16px; height: 16px; }
.apex-sp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.apex-sp-stats .apex-sp-card { text-align: center; margin: 0; padding: 20px; }
.apex-sp-stats b { display: block; font-size: 28px; line-height: 1; margin-bottom: 6px; }
.apex-sp-stats b.is-navy { color: var(--apex-navy); }
.apex-sp-stats b.is-orange { color: var(--apex-orange); }
.apex-sp-stats b.is-green { color: #16a34a; }
.apex-sp-stats span { font-size: 11px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .04em; }
.apex-sp-feature { margin-top: 16px; border: 1px solid #fed7aa; background: rgba(255,247,237,.4); border-radius: 6px; padding: 20px; }
.apex-sp-feature-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.apex-sp-ref { font-family: monospace; font-size: 11px; font-weight: 700; color: #9ca3af; text-transform: uppercase; margin-bottom: 4px; }
.apex-sp-title { font-size: 17px; font-weight: 700; color: var(--apex-navy); }
.apex-sp-meta { font-size: 12.5px; color: #6b7280; margin-top: 4px; }
.apex-sp-pill { display: inline-flex; align-items: center; gap: 6px; height: fit-content; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #fff7ed; color: #DC7E0F; border: 1px solid #fed7aa; }
.apex-sp-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--apex-orange); }
.apex-sp-pill.is-done { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.apex-sp-ack { background: transparent !important; color: #4b5563 !important; border: 1px solid #d1d5db !important; border-radius: 6px !important; font-size: 12.5px; font-weight: 700; padding: 8px 16px !important; box-shadow: none !important; }
.apex-sp-ack:hover { border-color: var(--apex-navy) !important; color: var(--apex-navy) !important; }
.apex-sp-promo { background: var(--apex-navy) !important; border-color: var(--apex-navy) !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.apex-sp-promo h2 { color: #fff !important; font-size: 17px !important; margin-bottom: 4px !important; }
.apex-sp-promo p { color: rgba(255,255,255,.6); font-size: 13px; }
.apex-sp-tablehead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.apex-sp-filters { display: flex; gap: 8px; }
.apex-sp-filters button { background: transparent !important; color: #6b7280 !important; border: 0 !important; border-radius: 6px !important; font-size: 12px; font-weight: 700; padding: 6px 14px !important; box-shadow: none !important; }
.apex-sp-filters button.is-on { background: var(--apex-navy) !important; color: #fff !important; }
.apex-sp-table { border: 1px solid #e5e7eb; border-radius: 6px; overflow: hidden; }
.apex-sp-tr { display: grid; grid-template-columns: 1fr 1.6fr 1fr 1fr; align-items: center; padding: 12px 16px; font-size: 12.5px; color: #6b7280; border-top: 1px solid #f3f4f6; }
.apex-sp-tr.apex-sp-th { background: var(--apex-navy); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; border-top: 0; }
.apex-sp-mono { font-family: monospace; font-weight: 700; color: var(--apex-navy); }
.apex-sp-strong { font-weight: 600; font-size: 13px; color: #1c1c1c; }
.apex-sp-detail { grid-column: 1 / -1; margin-top: 10px; }
.apex-sp-more { font-size: 12.5px; }
.apex-sp-more summary { cursor: pointer; font-weight: 700; color: var(--apex-orange); list-style: none; }
.apex-sp-more summary::-webkit-details-marker { display: none; }
.apex-sp-more summary::after { content: " \25BE"; }
.apex-sp-more[open] summary::after { content: " \25B4"; }
.apex-sp-more dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 12px 0 0; padding: 14px 16px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; }
.apex-sp-more dt { font-size: 11px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .04em; }
.apex-sp-more dd { margin: 2px 0 0; font-size: 13px; color: #1c1c1c; }
@media (max-width: 700px) { .apex-sp-more dl { grid-template-columns: 1fr; } }
.apex-gs-sub { margin-top: 4px; }
.apex-gs-pct { font-family: monospace; font-size: 12px; font-weight: 700; color: var(--apex-orange); }
.apex-gs-bar { height: 8px; background: #f3f4f6; border-radius: 999px; overflow: hidden; margin: 12px 0 20px; }
.apex-gs-bar div { height: 100%; background: var(--apex-orange); border-radius: 999px; }
.apex-gs-steps { display: grid; gap: 8px; }
.apex-gs-step { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13.5px; font-weight: 600; color: #1c1c1c; }
.apex-gs-step.is-done { background: rgba(240,253,244,.5); color: #15803d; }
.apex-gs-dot { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f3f4f6; flex-shrink: 0; }
.apex-gs-dot i { width: 6px; height: 6px; border-radius: 50%; background: #9ca3af; }
.apex-gs-step.is-done .apex-gs-dot { background: #22c55e; color: #fff; }
.apex-gs-dot svg { width: 14px; height: 14px; }
.apex-grow-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.apex-grow-cards .apex-sp-card { margin: 0; }
.apex-grow-ico { display: inline-flex; color: var(--apex-orange); margin-bottom: 16px; }
.apex-grow-cards b { display: block; font-size: 14.5px; color: #1c1c1c; margin-bottom: 6px; }
.apex-grow-cards p { font-size: 12.5px; line-height: 1.6; margin-bottom: 12px; }
.apex-grow-cards a { font-size: 12.5px; font-weight: 700; color: var(--apex-orange) !important; text-decoration: none !important; }
.apex-grow-cards a:hover { text-decoration: underline !important; }
.apex-grow-basecamp { display: block !important; }
.apex-grow-basecamp-head { margin-bottom: 20px; }
.apex-grow-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.apex-grow-tiles a { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 12px 16px; color: #fff !important; font-size: 12.5px; font-weight: 700; text-decoration: none !important; }
.apex-grow-tiles a:hover { background: rgba(255,255,255,.1); }
@media (max-width: 700px) { .apex-grow-cards { grid-template-columns: 1fr; } }
.apex-gs-label { flex: 1; }
.apex-gs-step { padding: 16px 20px; }
.apex-gs-step .apex-gs-label { font-size: 15px; font-weight: 600; letter-spacing: normal; }
.apex-gs-done { font-size: 13px; font-weight: 700; color: #15803d; text-transform: uppercase; }
.apex-gs-soon { font-size: 12px; font-weight: 700; color: #9ca3af; text-transform: uppercase; }
.apex-gs-dot { width: 28px; height: 28px; }
.apex-gs-dot em { font-style: normal; font-size: 12px; font-weight: 700; color: #6b7280; }
.apex-gs-btn { padding: 8px 18px; font-size: 13.5px; }
.apex-gs-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.apex-gs-links .apex-sp-card { margin: 0; text-decoration: none !important; display: block; }
.apex-gs-links .apex-sp-card:hover { border-color: var(--apex-orange); }
.apex-gs-links b { display: block; font-size: 14px; color: #1c1c1c; margin-bottom: 4px; }
.apex-gs-links span { font-size: 12px; color: #6b7280; }
@media (max-width: 700px) {
	.apex-sp-stats, .apex-gs-links { grid-template-columns: 1fr; }
	.apex-sp-tr { grid-template-columns: 1fr 1fr; gap: 4px; }
}

/* WooCommerce native notices (e.g. "Address changed successfully.") */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error {
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-left: 4px solid var(--apex-orange) !important;
	border-radius: 6px !important;
	padding: 14px 20px 14px 48px !important;
	margin: 0 0 20px !important;
	font-size: 13.5px !important;
	color: #1c1c1c !important;
	box-shadow: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message { border-left-color: #16a34a !important; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error { border-left-color: #dc2626 !important; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before { color: #16a34a !important; left: 18px !important; }

/* Addresses page */
.woocommerce-account .woocommerce-MyAccount-content > p {
	font-size: 13.5px;
	color: #6b7280;
}
.woocommerce-account .woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 20px 0 0 !important;
}
.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after { display: none !important; }
.woocommerce-account .woocommerce-Address {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 24px;
	margin: 0 !important;
}
.woocommerce-account .woocommerce-Address-title {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: 0 !important;
}
.woocommerce-account .woocommerce-Address-title h2 {
	margin: 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
	line-height: 1.4 !important;
	color: var(--apex-navy) !important;
}
.woocommerce-account .woocommerce-Address-title a.edit {
	float: none !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--apex-orange) !important;
	text-decoration: none !important;
}
.woocommerce-account .woocommerce-Address-title a.edit:hover { text-decoration: underline !important; }
.woocommerce-account .woocommerce-Address address {
	font-style: normal !important;
	font-size: 13.5px;
	line-height: 1.8;
	color: #4b5563;
}
@media (max-width: 700px) {
	.woocommerce-account .woocommerce-Addresses { grid-template-columns: 1fr; }
}

/* Edit address / edit account forms */
.woocommerce-account .woocommerce-MyAccount-content form:not(.alf-form) .woocommerce-address-fields,
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 24px;
}
.woocommerce-account .woocommerce-MyAccount-content form h3 {
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
	color: var(--apex-navy) !important;
	margin: 0 0 16px !important;
}
.woocommerce-account .woocommerce-MyAccount-content form .form-row label {
	font-size: 12.5px !important;
	font-weight: 700 !important;
	color: #6b7280 !important;
	margin-bottom: 6px !important;
}
.woocommerce-account .woocommerce-MyAccount-content form .form-row input.input-text,
.woocommerce-account .woocommerce-MyAccount-content form .form-row select,
.woocommerce-account .woocommerce-MyAccount-content form .form-row textarea,
.woocommerce-account .woocommerce-MyAccount-content form .select2-container--default .select2-selection--single {
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	padding: 10px 14px !important;
	font-size: 13.5px !important;
	background-color: #fff !important;
	box-shadow: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content form .form-row input.input-text:focus,
.woocommerce-account .woocommerce-MyAccount-content form .form-row select:focus {
	border-color: var(--apex-orange) !important;
	outline: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content form button.button,
.woocommerce-account .woocommerce-MyAccount-content form .button[type="submit"] {
	background: var(--apex-orange) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 6px !important;
	padding: 10px 22px !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	box-shadow: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content form button.button:hover { background: #DC7E0F !important; }

/* Orders / samples cards */
.apex-order-card {
	border-radius: 6px !important;
	border-color: #e5e7eb !important;
}
.apex-order-status {
	background: #fff7ed !important;
	color: #DC7E0F !important;
	border-color: #fed7aa !important;
}
.apex-order-view {
	border-radius: 6px !important;
	border-color: #d1d5db !important;
	color: #4b5563 !important;
}
.apex-order-view:hover {
	border-color: var(--apex-navy) !important;
	color: var(--apex-navy) !important;
}


/* Select arrows: keep a single, non-repeating chevron (dropdowns inside plugin forms) */
.woocommerce-account .woocommerce-MyAccount-content select {
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 12px 12px !important;
	padding-right: 36px !important;
}

/* Plugin submit buttons inside My Account tabs (e.g. Business Information) */
.woocommerce-account .woocommerce-MyAccount-content .alf-submit-btn {
	background: var(--apex-orange) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	padding: 10px 22px !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	width: auto !important;
}
.woocommerce-account .woocommerce-MyAccount-content .alf-submit-btn:hover {
	background: #DC7E0F !important;
}
/* First Order page */
.apex-fo-table .apex-sp-tr { grid-template-columns: 1fr 200px 220px; }
.apex-fo-ok { color: #16a34a; font-size: 13px; font-weight: 700; }
.apex-fo-warn { color: var(--apex-orange); font-size: 13px; font-weight: 700; }
.apex-fo-link { color: var(--apex-orange) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.apex-fo-link:hover { text-decoration: underline !important; }
.apex-fo-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 18px 20px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 6px; }
.apex-fo-notice > b, .apex-fo-notice > div b { display: block; font-size: 14px; color: #DC7E0F; }
.apex-fo-notice p { margin: 4px 0 0; font-size: 12.5px; color: #DC7E0F; }
.apex-fo-notice.is-ready { background: #f0fdf4; border-color: #bbf7d0; }
.apex-fo-notice.is-ready b { color: #15803d; }
.apex-fo-notice.is-ready p { color: #4b5563; }
.apex-fo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.apex-fo-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff7ed; border: 1px solid #fed7aa; color: var(--apex-orange); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.apex-fo-steps b { display: block; font-size: 13.5px; color: #1c1c1c; margin-bottom: 4px; }
.apex-fo-steps p { font-size: 12px; line-height: 1.6; }
.apex-fo-empty { text-align: center; padding: 24px 0; }
.apex-fo-clock { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: #f3f4f6; color: #9ca3af; align-items: center; justify-content: center; margin-bottom: 12px; }
.apex-fo-empty b { display: block; font-size: 14.5px; color: #1c1c1c; margin-bottom: 4px; }
@media (max-width: 700px) {
	.apex-fo-steps { grid-template-columns: 1fr 1fr; }
	.apex-fo-table .apex-sp-tr { grid-template-columns: 1fr 1fr; gap: 4px; }
}
/* Request Status timeline */
.apex-sp-tl-label { font-size: 12px; font-weight: 700; color: #9ca3af; text-transform: uppercase; margin: 18px 0 12px; }
.apex-sp-tl { display: flex; align-items: flex-start; }
.apex-sp-tl-step { flex: 0 0 auto; width: 90px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.apex-sp-tl-step i { width: 14px; height: 14px; border-radius: 50%; background: #e5e7eb; display: block; }
.apex-sp-tl-step.is-done i { background: var(--apex-orange); }
.apex-sp-tl-step.is-current i { box-shadow: 0 0 0 4px #ffedd5; }
.apex-sp-tl-step span { font-size: 11px; color: #6b7280; margin-top: 6px; }
.apex-sp-tl-step.is-current span { font-weight: 700; color: #DC7E0F; }
.apex-sp-tl-step small { font-size: 10px; color: #9ca3af; margin-top: 2px; min-height: 12px; }
.apex-sp-tl-line { flex: 1; height: 2px; background: #e5e7eb; margin-top: 6px; }
.apex-sp-tl-line.is-done { background: var(--apex-orange); }
@media (max-width: 700px) { .apex-sp-stats { grid-template-columns: 1fr 1fr; } .apex-sp-tl-step { width: 64px; } }
/* Business Profile page */
.apex-bp-edit-btn { background: transparent !important; color: var(--apex-navy) !important; border: 2px solid var(--apex-navy) !important; border-radius: 6px !important; padding: 10px 20px !important; font-size: 13px; font-weight: 700; box-shadow: none !important; }
.apex-bp-edit-btn:hover { background: var(--apex-navy) !important; color: #fff !important; }
.apex-bp-editpanel[hidden] { display: none !important; }
.apex-bp-list { border: 1px solid #e5e7eb; border-radius: 6px; margin: 0; }
.apex-bp-list > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 18px; border-top: 1px solid #f3f4f6; }
.apex-bp-list > div:first-child { border-top: 0; }
.apex-bp-list dt { font-size: 12px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .04em; }
.apex-bp-list dd { margin: 0; font-size: 14px; font-weight: 500; color: #1c1c1c; }
.apex-bp-verify { border: 2px solid #fed7aa !important; }
.apex-bp-verify.is-verified { border-color: #bbf7d0 !important; }
.apex-bp-note { font-size: 13.5px !important; color: #4b5563 !important; margin-bottom: 18px !important; }
.apex-bp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apex-bp-box { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; padding: 16px; }
.apex-bp-box ul { list-style: none; margin: 8px 0 0; padding: 0; }
.apex-bp-box li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #374151; margin-bottom: 6px; }
.apex-bp-box li svg { flex-shrink: 0; margin-top: 3px; color: var(--apex-navy); }
.apex-bp-box b { display: block; margin-top: 8px; font-size: 14px; }
.apex-bp-cap { font-size: 12px; font-weight: 700; color: #9ca3af; text-transform: uppercase; }
.apex-bp-history { display: grid; gap: 14px; }
.apex-bp-history > div { display: flex; gap: 12px; align-items: flex-start; }
.apex-bp-history i { width: 8px; height: 8px; border-radius: 50%; background: var(--apex-orange); margin-top: 7px; flex-shrink: 0; }
.apex-bp-history b { font-size: 13.5px; color: #1c1c1c; }
.apex-bp-history small { font-size: 12px; color: #9ca3af; }
.apex-bp-history p { margin: 2px 0 0 !important; font-size: 12.5px !important; color: #6b7280 !important; }
.apex-bp-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid #f3f4f6; }
@media (max-width: 700px) { .apex-bp-list > div, .apex-bp-two { grid-template-columns: 1fr; } }
/* Buttons on the portal pages: dark navy text (theme button styles were hiding it until hover) */
.woocommerce-account .apex-samples-page button.apex-sp-ack,
.woocommerce-account .apex-samples-page .apex-sp-filters button,
.woocommerce-account .apex-samples-page button.apex-bp-edit-btn {
	background-color: transparent !important;
	color: #0B2265 !important;
	-webkit-text-fill-color: #0B2265 !important;
	opacity: 1 !important;
	text-shadow: none !important;
}
.woocommerce-account .apex-samples-page .apex-sp-filters button.is-on {
	background-color: #0B2265 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
.woocommerce-account .apex-samples-page button.apex-sp-ack:hover,
.woocommerce-account .apex-samples-page button.apex-bp-edit-btn:hover,
.woocommerce-account .apex-samples-page .apex-sp-filters button:hover {
	background-color: #0B2265 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

/* Sample request timeline: green completed steps */
.apex-sp-tl-step.is-done i { background: #22c55e !important; }
.apex-sp-tl-step.is-current i { box-shadow: 0 0 0 4px #dcfce7 !important; }
.apex-sp-tl-step.is-current span { color: #15803d !important; }
.apex-sp-tl-line.is-done { background: #22c55e !important; }
/* Timeline circles: larger, with a white tick when the step is done */
.apex-sp-tl-step i { width: 20px !important; height: 20px !important; position: relative; }
.apex-sp-tl-step.is-done i::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.apex-sp-tl-line { margin-top: 9px !important; }