/* SEO Boss Guest Post Manager — front-end styles */

:root {
	--gpm-brand: #EEB541;
	--gpm-brand-dark: #c8912a;
	--gpm-brand-darker: #a97a20;
	--gpm-brand-light: #fdf3e0;
	--gpm-ink: #1a1a1a;
}

.gpm-wrap {
	max-width: 1040px;
	margin: 0 auto;
	padding: 18px 14px 60px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #2c2c2c;
}

.gpm-heading { font-size: 26px; margin: 22px 0 4px; }
.gpm-subtext { color: #777; font-size: 14px; margin: 0 0 20px; }

/* ---------- Top nav ---------- */
.gpm-topnav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 12px 18px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gpm-topnav-brand { font-weight: 800; color: var(--gpm-brand-darker); font-size: 16px; }
.gpm-topnav-right { display: flex; align-items: center; gap: 12px; }
.gpm-topnav-user { font-size: 13px; color: #555; }
.gpm-signout { font-size: 13px; color: #b32d2e; text-decoration: none; }
.gpm-signout:hover { text-decoration: underline; }

/* ---------- Role toggle ---------- */
.gpm-role-toggle-wrap { display: flex; align-items: center; gap: 10px; }

.gpm-role-side {
	font-size: 14px;
	font-weight: 700;
	color: #a5a5a5;
	cursor: pointer;
	user-select: none;
	transition: color 0.15s ease;
}
.gpm-role-side-active { color: var(--gpm-brand-darker); }

.gpm-role-switch {
	position: relative;
	width: 58px;
	height: 28px;
	border: none;
	border-radius: 999px;
	background: var(--gpm-brand);
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease;
	flex: 0 0 auto;
}
.gpm-role-switch:focus-visible { outline: 2px solid var(--gpm-brand-dark); outline-offset: 2px; }
.gpm-role-knob {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: left 0.2s ease;
}
.gpm-role-switch-seller { background: var(--gpm-brand-dark); }
.gpm-role-switch-seller .gpm-role-knob { left: 33px; }

/* ---------- Notifications ---------- */
.gpm-notif-wrap { position: relative; }
.gpm-notif-bell {
	position: relative;
	background: var(--gpm-brand-light);
	border: 1px solid #f0e2c4;
	border-radius: 999px;
	width: 38px;
	height: 38px;
	font-size: 16px;
	cursor: pointer;
}
.gpm-notif-count {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #d63638;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 999px;
	min-width: 18px;
	height: 18px;
	line-height: 18px;
	text-align: center;
	padding: 0 3px;
}
.gpm-notif-panel {
	position: absolute;
	right: 0;
	top: 46px;
	width: 320px;
	max-width: 86vw;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
	z-index: 50;
	overflow: hidden;
}
.gpm-notif-panel-title { font-weight: 700; padding: 12px 14px; border-bottom: 1px solid #f2f2f2; font-size: 14px; }
.gpm-notif-empty { padding: 18px 14px; color: #999; font-size: 13px; }
.gpm-notif-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; }
.gpm-notif-list li { padding: 10px 14px; border-bottom: 1px solid #f6f6f6; font-size: 13px; }
.gpm-notif-unread { background: var(--gpm-brand-light); }
.gpm-notif-text { display: block; color: #333; }
.gpm-notif-time { display: block; color: #999; font-size: 11px; margin-top: 3px; }

/* ---------- Notices ---------- */
.gpm-notice {
	margin: 16px 0;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
}
.gpm-notice-success { background: #e8f6ec; color: #1a7a2e; border: 1px solid #bfe5c9; }
.gpm-notice-error { background: #fdecea; color: #b32d2e; border: 1px solid #f3c2c0; }

/* ---------- Stats ---------- */
.gpm-stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 22px; }
.gpm-stat-card {
	flex: 1;
	min-width: 130px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 20px 14px;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.gpm-stat-number { font-size: 26px; font-weight: 800; color: var(--gpm-brand-darker); }
.gpm-stat-label { font-size: 12px; color: #888; margin-top: 4px; }

/* ---------- Cards ---------- */
.gpm-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 22px;
	margin-bottom: 22px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.gpm-card-title { margin: 0 0 16px; font-size: 17px; }
.gpm-empty { color: #888; font-size: 14px; background: #fafafa; border-radius: 10px; padding: 20px; text-align: center; }

/* ---------- Forms ---------- */
.gpm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.gpm-field { margin-bottom: 14px; }
.gpm-form-grid .gpm-field { margin-bottom: 0; }
.gpm-field label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 5px; }
.gpm-field input[type="text"],
.gpm-field input[type="url"],
.gpm-field input[type="email"],
.gpm-field input[type="password"],
.gpm-field select,
.gpm-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	background: #fff;
}
.gpm-field input:focus,
.gpm-field select:focus,
.gpm-field textarea:focus {
	border-color: var(--gpm-brand);
	outline: none;
	box-shadow: 0 0 0 3px var(--gpm-brand-light);
}

.gpm-btn {
	display: inline-block;
	border: none;
	border-radius: 9px;
	padding: 11px 22px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.gpm-btn:hover { transform: translateY(-1px); }
.gpm-btn-gradient {
	background: linear-gradient(120deg, var(--gpm-brand), var(--gpm-brand-dark));
	color: var(--gpm-ink);
	box-shadow: 0 3px 10px rgba(238, 181, 65, 0.4);
}
.gpm-btn-outline {
	background: #fff;
	color: var(--gpm-brand-darker);
	border: 2px solid var(--gpm-brand);
}
.gpm-btn-block { width: 100%; }

/* ---------- Orders ---------- */
.gpm-order {
	border: 1px solid #f0f0f0;
	border-radius: 12px;
	padding: 18px;
	margin-bottom: 16px;
	background: #fffdf8;
}
.gpm-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.gpm-order-meta { color: #888; font-size: 12px; margin-top: 3px; }
.gpm-inline-form { margin-top: 12px; }

.gpm-status {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	border-radius: 999px;
	padding: 5px 12px;
	white-space: nowrap;
}
.gpm-status-awaiting_payment { background: #fdecea; color: #b32d2e; }
.gpm-status-payment_review { background: #fff4e0; color: #b26a00; }
.gpm-status-submitted { background: #eef3fb; color: #2a5db0; }
.gpm-status-assigned { background: var(--gpm-brand-light); color: var(--gpm-brand-darker); }
.gpm-status-accepted { background: #eef8f0; color: #1a7a2e; }
.gpm-status-in_progress { background: #fff4e0; color: #b26a00; }
.gpm-status-live_submitted { background: #f1eafd; color: #6b3fc9; }
.gpm-status-delivered { background: #e6f7f4; color: #0b7a68; }
.gpm-status-invoice_sent { background: #fdf3e0; color: var(--gpm-brand-darker); }
.gpm-status-paid { background: #e8f6ec; color: #1a7a2e; }
.gpm-status-completed { background: #e8f6ec; color: #1a7a2e; }
.gpm-status-pending { background: #fff4e0; color: #b26a00; }
.gpm-status-approved { background: #eef8f0; color: #1a7a2e; }
.gpm-status-paid { background: #e8f6ec; color: #1a7a2e; }
.gpm-status-rejected { background: #fdecea; color: #b32d2e; }

/* ---------- Payment methods & tables ---------- */
.gpm-payment-methods {
	background: #fffdf8;
	border: 1px solid #f0e2c4;
	border-radius: 10px;
	padding: 16px 18px;
	font-size: 14px;
	line-height: 1.6;
}
.gpm-payment-methods p:last-child { margin-bottom: 0; }

.gpm-pm-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.gpm-pm-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 2px solid #eee;
	border-radius: 10px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 700;
	color: #555;
	cursor: pointer;
}
.gpm-pm-tab-active { border-color: var(--gpm-brand); background: var(--gpm-brand-light); color: var(--gpm-brand-darker); }
.gpm-pm-tab svg { flex: 0 0 auto; }
.gpm-pm-panel h4 { margin: 0 0 10px; font-size: 14px; color: #777; }

.gpm-payment-cards { display: flex; flex-direction: column; gap: 14px; }
.gpm-payment-card { border: 1px solid #f0e2c4; border-radius: 10px; padding: 16px 18px; background: #fffdf8; }
.gpm-payment-card-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 10px; color: var(--gpm-brand-darker); }

.gpm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gpm-table th, .gpm-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #f0f0f0; }
.gpm-table th { color: #888; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }

.gpm-payment-card-details { width: 100%; border-collapse: collapse; font-size: 13px; }
.gpm-payment-card-details td { padding: 7px 4px; border-bottom: 1px solid #f0e2c4; }
.gpm-payment-card-details td:first-child { color: #888; font-weight: 600; width: 42%; }
.gpm-payment-card-details tr:last-child td { border-bottom: none; }

/* ---------- Status tracker ---------- */
.gpm-tracker {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	margin: 14px 0 4px;
}
.gpm-tracker-step {
	flex: 1 1 0;
	min-width: 92px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	padding: 0 4px;
}
.gpm-tracker-step::before {
	content: "";
	position: absolute;
	top: 12px;
	left: -50%;
	width: 100%;
	height: 3px;
	background: #e8e8e8;
	z-index: 0;
}
.gpm-tracker-step:first-child::before { display: none; }
.gpm-tracker-done::before,
.gpm-tracker-current::before { background: var(--gpm-brand); }

.gpm-tracker-dot {
	position: relative;
	z-index: 1;
	width: 24px;
	height: 24px;
	line-height: 24px;
	border-radius: 50%;
	background: #e8e8e8;
	color: #999;
	font-size: 12px;
	font-weight: 700;
}
.gpm-tracker-done .gpm-tracker-dot { background: var(--gpm-brand); color: var(--gpm-ink); }
.gpm-tracker-current .gpm-tracker-dot { background: var(--gpm-brand-dark); color: #fff; box-shadow: 0 0 0 4px var(--gpm-brand-light); }
.gpm-tracker-label { font-size: 10px; color: #999; margin-top: 6px; line-height: 1.3; }
.gpm-tracker-done .gpm-tracker-label,
.gpm-tracker-current .gpm-tracker-label { color: var(--gpm-brand-darker); font-weight: 700; }

/* ---------- Live URL ---------- */
.gpm-live-row {
	margin-top: 12px;
	background: #e6f7f4;
	border: 1px solid #c4ebe4;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	word-break: break-all;
}
.gpm-live-row a { color: #0b7a68; font-weight: 700; }

.gpm-live-form { margin-top: 14px; }
.gpm-live-form label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.gpm-live-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gpm-live-form-row input[type="url"] {
	flex: 1 1 260px;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
}
.gpm-live-form-row input[type="url"]:focus {
	border-color: var(--gpm-brand);
	outline: none;
	box-shadow: 0 0 0 3px var(--gpm-brand-light);
}

/* ---------- Article details ---------- */
.gpm-article-details { margin-top: 12px; font-size: 14px; }
.gpm-article-details summary { cursor: pointer; font-weight: 700; color: var(--gpm-brand-darker); }
.gpm-article-body {
	border: 1px solid #f0f0f0;
	border-radius: 10px;
	padding: 14px;
	margin-top: 10px;
	background: #fff;
	max-height: 340px;
	overflow: auto;
}

/* ---------- Auth ---------- */
.gpm-auth { display: flex; justify-content: center; padding: 40px 0; }
.gpm-auth-card {
	width: 100%;
	max-width: 420px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 28px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}
.gpm-auth-card h2 { margin: 0 0 4px; color: var(--gpm-brand-darker); }
.gpm-tabs { display: flex; gap: 6px; margin: 18px 0; }
.gpm-tab {
	flex: 1;
	background: #f5f5f5;
	border: none;
	border-radius: 8px;
	padding: 10px;
	font-size: 14px;
	font-weight: 700;
	color: #777;
	cursor: pointer;
}
.gpm-tab-active { background: var(--gpm-brand); color: var(--gpm-ink); }
.gpm-fineprint { font-size: 12px; color: #999; margin-top: 12px; text-align: center; }

/* ---------- Invoice summary ---------- */
.gpm-invoice-summary { display: flex; gap: 14px; flex-wrap: wrap; }
.gpm-invoice-box { flex: 1; min-width: 160px; border-radius: 10px; padding: 20px; text-align: center; }
.gpm-invoice-box-neutral { background: #f7f7f7; }
.gpm-invoice-box-paid { background: #e8f6ec; }
.gpm-invoice-box-unpaid { background: var(--gpm-brand-light); }
.gpm-invoice-amount { font-size: 22px; font-weight: 800; color: #1a1a1a; }
.gpm-invoice-box-paid .gpm-invoice-amount { color: #1a7a2e; }
.gpm-invoice-box-unpaid .gpm-invoice-amount { color: var(--gpm-brand-darker); }
.gpm-invoice-label { font-size: 12px; color: #888; margin-top: 6px; }

/* ---------- Recent orders table ---------- */
.gpm-recent-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.gpm-orders-table-wrap { overflow-x: auto; }
.gpm-orders-table td a { color: var(--gpm-brand-darker); text-decoration: none; font-weight: 600; }
.gpm-orders-table td a:hover { text-decoration: underline; }
.gpm-order-detail-row td { background: #fffdf8; padding: 14px 10px; }

/* ---------- Price row ---------- */
.gpm-price-row { display: flex; gap: 8px; }
.gpm-price-row select { flex: 0 0 90px; }
.gpm-price-row input { flex: 1; }

/* ---------- Invoice document ---------- */
.gpm-invoice-doc-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--gpm-brand-light); }
.gpm-invoice-doc-status { background: #e8f6ec; color: #1a7a2e; font-weight: 800; padding: 8px 16px; border-radius: 999px; font-size: 13px; }

/* ---------- Withdrawal schedule notice ---------- */
.gpm-withdrawal-notice {
	background: #fdecea;
	border: 2px solid #e57373;
	color: #b32d2e;
	border-radius: 10px;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 18px;
}
.gpm-withdrawal-notice strong { display: block; margin-bottom: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
	.gpm-form-grid { grid-template-columns: 1fr; }
	.gpm-topnav { justify-content: center; }
	.gpm-tracker-step { min-width: 72px; }
}

/* =====================================================================
 * 3D THEME LAYER (v2.7.0)
 * A consistent modern "3D" look across the whole plugin: raised cards
 * with layered shadows, pressable buttons with real depth, inset
 * inputs, and tactile toggles/pills. Appended last so it refines the
 * base styles above without changing the markup.
 * =================================================================== */
:root {
	--gpm-3d-radius: 14px;
	--gpm-3d-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 6px 14px rgba(20,20,20,0.10), 0 12px 30px rgba(20,20,20,0.08);
	--gpm-3d-shadow-lg: 0 2px 2px rgba(0,0,0,0.05), 0 12px 24px rgba(20,20,20,0.14), 0 22px 48px rgba(20,20,20,0.12);
	--gpm-3d-inset: inset 0 2px 4px rgba(0,0,0,0.10), inset 0 -1px 0 rgba(255,255,255,0.6);
	--gpm-brand-hi: #f6cf73;
	--gpm-brand-lo: #d79a24;
}

/* Soft depth backdrop for the whole app */
.gpm-wrap {
	background:
		radial-gradient(1200px 400px at 50% -80px, rgba(238,181,65,0.10), transparent 60%);
}

/* ---------- Cards: raised 3D panels ---------- */
.gpm-topnav,
.gpm-card,
.gpm-stat-card,
.gpm-auth-card,
.gpm-payment-card,
.gpm-invoice-box,
.gpm-withdrawal-notice {
	background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%) !important;
	border: 1px solid rgba(0,0,0,0.06) !important;
	border-radius: var(--gpm-3d-radius) !important;
	box-shadow: var(--gpm-3d-shadow) !important;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.gpm-card:hover,
.gpm-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--gpm-3d-shadow-lg) !important;
}

/* Stat cards get a subtle top highlight for a "lifted glass" feel */
.gpm-stat-card {
	position: relative;
	overflow: hidden;
}
.gpm-stat-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 40%;
	background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0));
	pointer-events: none;
}
.gpm-stat-number {
	text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

/* ---------- Buttons: pressable 3D ---------- */
.gpm-btn {
	position: relative;
	border-radius: 12px !important;
	border: none !important;
	transition: transform 0.06s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
	will-change: transform;
}

.gpm-btn-gradient {
	background: linear-gradient(180deg, var(--gpm-brand-hi) 0%, var(--gpm-brand) 45%, var(--gpm-brand-lo) 100%) !important;
	color: #3d2c05 !important;
	text-shadow: 0 1px 0 rgba(255,255,255,0.45);
	box-shadow:
		0 1px 0 rgba(255,255,255,0.6) inset,
		0 -3px 0 rgba(150,105,20,0.55) inset,
		0 4px 0 #b9821d,
		0 8px 16px rgba(183,130,29,0.45) !important;
}
.gpm-btn-gradient:hover {
	transform: translateY(-1px);
	filter: brightness(1.03);
	box-shadow:
		0 1px 0 rgba(255,255,255,0.6) inset,
		0 -3px 0 rgba(150,105,20,0.55) inset,
		0 5px 0 #b9821d,
		0 10px 20px rgba(183,130,29,0.5) !important;
}
.gpm-btn-gradient:active {
	transform: translateY(3px);
	box-shadow:
		0 1px 0 rgba(255,255,255,0.5) inset,
		0 -2px 0 rgba(150,105,20,0.5) inset,
		0 1px 0 #b9821d,
		0 2px 6px rgba(183,130,29,0.4) !important;
}

/* Outline / secondary buttons: raised light 3D */
.gpm-btn-outline {
	background: linear-gradient(180deg, #ffffff, #f1efe9) !important;
	color: var(--gpm-brand-darker) !important;
	border: 1px solid rgba(0,0,0,0.08) !important;
	box-shadow:
		0 1px 0 rgba(255,255,255,0.9) inset,
		0 3px 0 #d9d4c8,
		0 6px 14px rgba(0,0,0,0.10) !important;
}
.gpm-btn-outline:hover { transform: translateY(-1px); filter: brightness(1.01); }
.gpm-btn-outline:active {
	transform: translateY(3px);
	box-shadow:
		0 1px 0 rgba(255,255,255,0.8) inset,
		0 1px 0 #d9d4c8,
		0 2px 6px rgba(0,0,0,0.10) !important;
}

/* WordPress-side / misc buttons rendered by the plugin */
.gpm-btn-danger {
	background: linear-gradient(180deg, #e2564f, #c0392f) !important;
	color: #fff !important;
	border: none !important;
	box-shadow:
		0 1px 0 rgba(255,255,255,0.25) inset,
		0 -3px 0 rgba(120,30,25,0.5) inset,
		0 4px 0 #98271f,
		0 8px 16px rgba(150,40,30,0.4) !important;
}
.gpm-btn-danger:active {
	transform: translateY(3px);
	box-shadow: 0 1px 0 #98271f, 0 2px 6px rgba(150,40,30,0.4) !important;
}

/* ---------- Inputs: inset 3D wells ---------- */
.gpm-field input[type="text"],
.gpm-field input[type="email"],
.gpm-field input[type="url"],
.gpm-field input[type="password"],
.gpm-field input[type="number"],
.gpm-field input[type="file"],
.gpm-field select,
.gpm-field textarea {
	border: 1px solid rgba(0,0,0,0.10) !important;
	border-radius: 10px !important;
	background: linear-gradient(180deg, #f7f6f3, #ffffff) !important;
	box-shadow: var(--gpm-3d-inset) !important;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.gpm-field input:focus,
.gpm-field select:focus,
.gpm-field textarea:focus {
	border-color: var(--gpm-brand) !important;
	box-shadow:
		inset 0 2px 4px rgba(0,0,0,0.10),
		0 0 0 4px rgba(238,181,65,0.25) !important;
	outline: none !important;
}

/* ---------- Tabs: raised segmented control ---------- */
.gpm-tabs {
	background: #efece4;
	border-radius: 12px;
	padding: 5px;
	box-shadow: var(--gpm-3d-inset);
	display: inline-flex;
	gap: 4px;
}
.gpm-tab {
	border: none !important;
	background: transparent !important;
	border-radius: 9px !important;
	transition: box-shadow 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.gpm-tab-active {
	background: linear-gradient(180deg, #ffffff, #f3f1ec) !important;
	box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 2px 6px rgba(0,0,0,0.15) !important;
	transform: translateY(-1px);
}

/* ---------- Buyer/Seller toggle: tactile 3D switch ---------- */
.gpm-role-switch {
	box-shadow: var(--gpm-3d-inset) !important;
	border: 1px solid rgba(0,0,0,0.08) !important;
}
.gpm-role-knob {
	box-shadow: 0 2px 5px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.8) inset !important;
}

/* ---------- Status pills: soft embossed ---------- */
.gpm-status {
	box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 1px 3px rgba(0,0,0,0.12) !important;
	border: 1px solid rgba(0,0,0,0.04) !important;
}

/* ---------- Payment method cards / tabs ---------- */
.gpm-pm-tab {
	border-radius: 12px !important;
	background: linear-gradient(180deg, #ffffff, #f5f3ee) !important;
	box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 3px 8px rgba(0,0,0,0.10) !important;
	transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.gpm-pm-tab:hover { transform: translateY(-1px); }
.gpm-pm-tab-active {
	box-shadow: 0 0 0 2px var(--gpm-brand) inset, 0 4px 12px rgba(238,181,65,0.35) !important;
	transform: translateY(-1px);
}

/* ---------- Tracker dots: raised ---------- */
.gpm-tracker-dot {
	box-shadow: 0 2px 4px rgba(0,0,0,0.18), 0 1px 0 rgba(255,255,255,0.7) inset !important;
}

/* ---------- Tables inside cards: subtle depth on header ---------- */
.gpm-card table thead th,
.gpm-orders-table thead th {
	background: linear-gradient(180deg, #faf8f3, #f1eee7);
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.06);
}

/* New Order button and any gradient CTAs already covered by .gpm-btn-gradient */
/* Sidebar and live Marketplace (2.8.2). */
@media (min-width: 981px) {
	.gpm-wrap { max-width: 1400px; padding-left: 236px; position: relative; }
	.gpm-topnav { position: fixed; left: 0; top: 0; bottom: 0; width: 214px; z-index: 50; display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 28px 14px; border-radius: 0; overflow-y: auto; }
	.gpm-topnav-brand { padding: 0 10px; }
	.gpm-role-toggle-wrap { margin: 0 8px; }
	.gpm-sidebar-links { display: grid; gap: 5px; }
	.gpm-sidebar-links a { color: #fff; text-decoration: none; padding: 11px 12px; border-radius: 9px; font-weight: 600; }
	.gpm-sidebar-links a:hover, .gpm-sidebar-links a:focus { background: rgba(255,255,255,.16); }
	.gpm-topnav-right { margin-top: auto; display: grid; gap: 10px; padding: 0 10px; }
}
@media (max-width: 980px) { .gpm-sidebar-links { display: flex; overflow-x: auto; gap: 8px; } .gpm-sidebar-links a { white-space: nowrap; color: inherit; font-weight: 600; text-decoration: none; } }
.gpm-marketplace { scroll-margin-top: 18px; }
.gpm-marketplace-live { display:inline-block; color:#198754; background:#e9f8ef; border-radius:999px; padding:6px 10px; font-size:11px; font-weight:800; }
.gpm-marketplace-table-wrap { overflow:visible; }
.gpm-marketplace-table { table-layout:fixed; font-size:11px; }
.gpm-marketplace-table th, .gpm-marketplace-table td { white-space:normal; overflow-wrap:anywhere; vertical-align:middle; padding:9px 6px; line-height:1.3; }
.gpm-marketplace-table th:nth-child(1) { width:15%; }
.gpm-marketplace-table th:nth-child(2) { width:16%; }
.gpm-marketplace-table th:nth-child(3), .gpm-marketplace-table th:nth-child(4) { width:5%; }
.gpm-marketplace-table th:nth-child(5) { width:10%; }
.gpm-marketplace-table th:nth-child(6) { width:8%; }
.gpm-marketplace-table th:nth-child(7) { width:11%; }
.gpm-marketplace-table th:nth-child(8) { width:11%; }
.gpm-marketplace-table th:nth-child(9) { width:8%; }
.gpm-marketplace-table th:nth-child(10) { width:11%; }
.gpm-select-marketplace { font-size:11px; padding:7px 8px; white-space:normal; width:100%; }

/* =====================================================================
 * Flat modern UI refresh (2.8.3) — replaces the legacy 3D theme layer.
 * =================================================================== */
:root {
	--gpm-brand: #d59b25;
	--gpm-brand-dark: #ae7411;
	--gpm-brand-darker: #70480a;
	--gpm-brand-light: #fff7e7;
	--gpm-ink: #172033;
}

.gpm-wrap {
	max-width: 1320px;
	min-height: auto;
	background: var(--gpm-app-bg, #f7f8fb) !important;
	color: var(--gpm-ink);
	padding-bottom: 32px;
	box-sizing: border-box;
	width: 100%;
	overflow-x: clip;
}

.gpm-topnav,
.gpm-card,
.gpm-stat-card,
.gpm-auth-card,
.gpm-payment-card,
.gpm-invoice-box,
.gpm-withdrawal-notice {
	background: #fff !important;
	border: 1px solid #e5e8ee !important;
	border-radius: 12px !important;
	box-shadow: 0 3px 12px rgba(17, 24, 39, .05) !important;
}
.gpm-card:hover,
.gpm-stat-card:hover { transform: none; box-shadow: 0 5px 16px rgba(17, 24, 39, .07) !important; }
.gpm-stat-card::before { display: none; }
.gpm-stat-number { text-shadow: none; }

.gpm-btn,
.gpm-btn-gradient,
.gpm-btn-outline,
.gpm-btn-danger {
	border-radius: 8px !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transform: none !important;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
.gpm-btn-gradient { background: var(--gpm-brand) !important; color: #241704 !important; border: 1px solid var(--gpm-brand) !important; }
.gpm-btn-gradient:hover { background: var(--gpm-brand-dark) !important; border-color: var(--gpm-brand-dark) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(174, 116, 17, .22) !important; transform: translateY(-1px) !important; }
.gpm-btn-outline { background: #fff !important; color: #344054 !important; border: 1px solid #d7dce5 !important; }
.gpm-btn-outline:hover { background: #f8fafc !important; border-color: #adb7c6 !important; box-shadow: 0 2px 8px rgba(17,24,39,.08) !important; }
.gpm-btn-danger { background: #d92d20 !important; border: 1px solid #d92d20 !important; color: #fff !important; }
.gpm-btn-danger:hover { background: #b42318 !important; box-shadow: 0 4px 12px rgba(180,35,24,.18) !important; transform: translateY(-1px) !important; }

.gpm-field input[type="text"],
.gpm-field input[type="email"],
.gpm-field input[type="url"],
.gpm-field input[type="password"],
.gpm-field input[type="number"],
.gpm-field input[type="file"],
.gpm-field select,
.gpm-field textarea {
	background: #fff !important;
	border: 1px solid #d6dbe5 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	padding: 10px 12px;
}
.gpm-field input:focus,
.gpm-field select:focus,
.gpm-field textarea:focus { border-color: var(--gpm-brand) !important; box-shadow: 0 0 0 3px rgba(213,155,37,.16) !important; }

.gpm-auth { min-height: auto; padding: 28px 14px; align-items: flex-start; }
.gpm-auth-card { max-width: 440px; padding: 28px; box-shadow: 0 10px 28px rgba(17,24,39,.08) !important; }
.gpm-auth-card h2 { font-size: 28px; line-height: 1.2; color: #7a510c; }
.gpm-tabs { width: 100%; display: flex; gap: 0; padding: 4px; margin: 20px 0; border-radius: 9px; background: #f1f3f6; box-shadow: none; }
.gpm-tab { background: transparent !important; border: 0 !important; border-radius: 6px !important; color: #667085; padding: 10px 12px; box-shadow: none !important; transform: none !important; }
.gpm-tab:hover { background: #e8ebf0 !important; color: #344054; }
.gpm-tab-active { background: #fff !important; color: #1d2939 !important; box-shadow: 0 1px 3px rgba(16,24,40,.12) !important; }
.gpm-fineprint { margin-top: 10px; }

/* Portal heading and navigation use the same compact hierarchy as the
 * dashboard, without introducing a second data source or a new route. */
.gpm-dash-header { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin: 4px 0 22px; }
.gpm-dash-header .gpm-heading { margin: 0; color:#101828; letter-spacing:-.035em; }
.gpm-eyebrow { margin:0 0 7px; color:#b07813; font-size:11px; font-weight:800; letter-spacing:.12em; }
.gpm-dash-subtitle { margin:7px 0 0; color:#667085; font-size:14px; }
.gpm-header-order { flex:0 0 auto; padding:11px 15px; font-weight:700; }
.gpm-brand-mark { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; margin-right:9px; border-radius:8px; background:#f4bd4f; color:#1f2937; font-size:10px; font-weight:900; letter-spacing:-.06em; }

/* Desktop sidebar: readable at rest, clear active/hover states. */
@media (min-width: 981px) {
	.gpm-wrap { padding-left: 250px; }
	.gpm-topnav { width: 226px; box-sizing:border-box; overflow-x:hidden; background: var(--gpm-sidebar, #182230) !important; border: 0 !important; border-right: 1px solid #344054 !important; box-shadow: none !important; padding: 24px 14px; }
	.gpm-topnav-brand { color: #fff !important; font-size: 17px; letter-spacing: -.01em; }
	.gpm-topnav-brand { display:flex; align-items:center; }
	.gpm-sidebar-links { margin-top: 8px; gap: 4px; }
	.gpm-sidebar-links a { color: #d0d5dd !important; border: 1px solid transparent; display:flex; align-items:center; gap:10px; }
	.gpm-sidebar-links a span { width:16px; text-align:center; color:#98a2b3; font-size:15px; }
	.gpm-sidebar-links a.gpm-nav-link-active { color:#fff !important; background:#344054 !important; border-color:#475467; }
	.gpm-sidebar-links a.gpm-nav-link-active span { color:#f7c45d; }
	.gpm-nav-count { margin-left:auto; min-width:18px; height:18px; display:inline-flex; align-items:center; justify-content:center; border-radius:99px; background:#d92d20; color:#fff; font-size:10px; }
	.gpm-sidebar-links a:hover,
	.gpm-sidebar-links a:focus { color: #fff !important; background: #344054 !important; border-color: #475467; }
	.gpm-role-side { color: #b8c2d0; }
	.gpm-role-side-active { color: #f7c45d; }
	.gpm-topnav-user { color: #d0d5dd; padding: 8px 0; }
	.gpm-signout { display: inline-flex; align-items: center; justify-content: center; color: #fff !important; background: #b42318; border: 1px solid #d92d20; border-radius: 8px; padding: 10px 12px; font-weight: 700; text-decoration: none !important; }
	.gpm-signout:hover { background: #d92d20; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
}
@media (max-width: 980px) {
	.gpm-wrap { padding-left:226px; }
	.gpm-topnav { position:fixed; top:0; bottom:0; left:0; z-index:50; width:210px; box-sizing:border-box; display:flex; flex-direction:column; align-items:stretch; gap:14px; padding:20px 12px; overflow-x:hidden; overflow-y:auto; background:var(--gpm-sidebar, #182230) !important; border:0 !important; border-right:1px solid #344054 !important; border-radius:0 !important; box-shadow:none !important; }
	.gpm-topnav-brand { display:flex; align-items:center; color:#fff !important; font-size:15px; }
	.gpm-sidebar-links { display:grid; overflow:visible; gap:4px; }
	.gpm-sidebar-links a { display:flex; align-items:center; gap:8px; color:#d0d5dd !important; border:1px solid transparent; border-radius:7px; padding:9px 8px; font-size:13px; white-space:normal; }
	.gpm-sidebar-links a:hover, .gpm-sidebar-links a.gpm-nav-link-active { color:#fff !important; background:#344054 !important; border-color:#475467; }
	.gpm-topnav-right { margin-top:auto; display:grid; gap:8px; padding:0 5px; }
	.gpm-topnav-user { color:#d0d5dd; }
	.gpm-signout { display:inline-flex; justify-content:center; padding:8px 10px; background:#b42318; border:1px solid #d92d20; border-radius:7px; color:#fff !important; font-weight:700; text-decoration:none; }
	.gpm-dash-header { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 640px) {
	.gpm-dash-header { margin-bottom:16px; }
	.gpm-header-order { width:100%; }
	.gpm-auth-card { padding:22px 18px; }
}

.gpm-marketplace-live { background: #ecfdf3; color: #027a48; border: 1px solid #abefc6; }
.gpm-card table thead th,
.gpm-orders-table thead th { background: #f8fafc !important; box-shadow: none !important; color: #475467; }

.gpm-marketplace-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 14px; }
.gpm-marketplace-search { width:min(430px, 100%); min-height:40px; padding:9px 12px 9px 36px; border:1px solid #d0d5dd; border-radius:8px; color:#344054; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px center/17px no-repeat; box-shadow:none; }
.gpm-marketplace-search:focus { outline:none; border-color:#d59b25; box-shadow:0 0 0 3px rgba(213,155,37,.15); }
.gpm-marketplace-count { color:#667085; font-size:13px; white-space:nowrap; }
.gpm-marketplace-empty { margin:14px 0 0; padding:13px; color:#667085; background:#f8fafc; border:1px solid #eaecf0; border-radius:8px; text-align:center; }
.gpm-marketplace-table tbody tr { transition:background-color .16s ease; }
.gpm-marketplace-table tbody tr:hover { background:#fffbf2; }
.gpm-featured-all { color:#9b650e; font-weight:700; text-decoration:none; font-size:14px; }
.gpm-featured-all:hover { color:#6f4709; text-decoration:underline; }
.gpm-featured-grid { display:grid; grid-template-columns:repeat(5, minmax(180px, 1fr)); gap:12px; overflow-x:auto; padding-bottom:2px; }
.gpm-featured-site { min-width:180px; padding:15px; border:1px solid #eaecf0; border-radius:10px; background:#fff; }
.gpm-featured-site:hover { border-color:#e1bd73; box-shadow:0 5px 14px rgba(17,24,39,.07); }
.gpm-featured-site-head { display:flex; justify-content:space-between; gap:8px; align-items:flex-start; color:#101828; }
.gpm-featured-site-head strong { overflow-wrap:anywhere; font-size:14px; line-height:1.35; }
.gpm-featured-site-head span { flex:0 0 auto; padding:3px 6px; border-radius:5px; background:#fff7e7; color:#8b5e10; font-size:12px; font-weight:800; }
.gpm-featured-metrics { display:flex; gap:10px; margin:12px 0 8px; color:#667085; font-size:11px; }
.gpm-featured-metrics b { color:#344054; }
.gpm-featured-site p { min-height:34px; margin:0 0 12px; color:#667085; font-size:12px; line-height:1.4; }
.gpm-featured-site .gpm-btn { width:100%; padding:8px; font-size:12px; }
.gpm-activity-list { margin:0; padding:0; list-style:none; display:grid; gap:2px; }
.gpm-activity-list li { display:flex; gap:11px; padding:12px 10px; border-radius:8px; color:#344054; }
.gpm-activity-list li:hover { background:#f8fafc; }
.gpm-activity-list li > div { display:grid; gap:3px; }
.gpm-activity-list strong { font-size:13px; font-weight:600; }
.gpm-activity-list span:not(.gpm-activity-dot) { color:#98a2b3; font-size:12px; }
.gpm-activity-dot { flex:0 0 8px; width:8px; height:8px; margin-top:5px; border-radius:50%; background:#d0d5dd; }
.gpm-activity-unread .gpm-activity-dot { background:#d59b25; box-shadow:0 0 0 3px #fff3d7; }
@media (max-width:640px) { .gpm-marketplace-toolbar { align-items:stretch; flex-direction:column; } .gpm-marketplace-search { width:100%; } .gpm-marketplace-table { font-size:10px; } .gpm-marketplace-table th, .gpm-marketplace-table td { padding:7px 3px; } }


/* Real-page sidebar mode. Each child WordPress page shows only its own module. */
.gpm-section-marketplace #gpm-view-buyer > *:not(#gpm-marketplace),
.gpm-section-orders #gpm-view-buyer > *:not(#gpm-recent-orders),
.gpm-section-invoices #gpm-view-buyer > *:not(#gpm-invoices),
.gpm-section-new-order #gpm-view-buyer > *:not(#gpm-new-order-card),
.gpm-section-notifications #gpm-view-buyer > *:not(#gpm-notifications),
.gpm-section-assigned-orders #gpm-view-seller > *:not(#gpm-assigned-orders),
.gpm-section-wallet #gpm-view-seller > *:not(#gpm-payments),
.gpm-section-notifications #gpm-view-seller > *:not(#gpm-notifications) { display:none !important; }
.gpm-section-new-order #gpm-new-order-card { display:block !important; }


/* 2.9.6: real section pages show only the requested dashboard area.
 * The main Dashboard intentionally keeps the complete overview. */
.gpm-section-marketplace #gpm-view-buyer > *:not(#gpm-marketplace),
.gpm-section-orders #gpm-view-buyer > *:not(#gpm-recent-orders),
.gpm-section-invoices #gpm-view-buyer > *:not(#gpm-invoices),
.gpm-section-new-order #gpm-view-buyer > *:not(#gpm-new-order-card),
.gpm-section-assigned-orders #gpm-view-seller > *:not(#gpm-assigned-orders),
.gpm-section-wallet #gpm-view-seller > *:not(#gpm-payments),
.gpm-section-notifications #gpm-view-buyer > *:not(#gpm-notifications),
.gpm-section-notifications #gpm-view-seller > *:not(#gpm-notifications) {
	display: none !important;
}

.gpm-section-new-order #gpm-new-order-card {
	display: block;
}

.gpm-marketplace-pagination {
	display:flex;
	flex-wrap:wrap;
	gap:7px;
	justify-content:center;
	align-items:center;
	margin:16px 0 4px;
}
.gpm-page-btn {
	min-width:36px;
	height:36px;
	padding:0 11px;
	border:1px solid #d0d5dd;
	border-radius:8px;
	background:#fff;
	color:#344054;
	cursor:pointer;
	font-weight:600;
}
.gpm-page-btn:hover:not(:disabled),
.gpm-page-btn-active {
	border-color:#d59b25;
	background:#fff7e6;
	color:#7a4b00;
}
.gpm-page-btn:disabled {
	opacity:.45;
	cursor:not-allowed;
}

/* 2.10.0 Buyer / Seller mode buttons and Seller pages */
.gpm-mode-switch {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px;
	border: 1px solid #eadfca;
	border-radius: 10px;
	background: #fffaf0;
}
.gpm-mode-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	padding: 8px 12px;
	border-radius: 8px;
	color: #765317;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}
.gpm-mode-btn:hover { background: #f7ecd6; color: #5e420f; }
.gpm-mode-btn-active { background: var(--gpm-brand); color: #1a1a1a; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.gpm-mode-btn-active:hover { background: var(--gpm-brand-dark); color: #111; }

.gpm-section-seller-websites #gpm-view-seller > *:not(#gpm-seller-websites) { display:none !important; }
.gpm-seller-site-form { margin-top: 18px; }

@media (max-width: 720px) {
	.gpm-mode-switch { order: 2; width: 100%; }
	.gpm-mode-btn { flex: 1 1 50%; }
}

/* Compact marketplace pagination: 10 websites per page. */
.gpm-marketplace-pagination .gpm-page-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 12px;
	font-weight: 600;
	white-space: nowrap;
}


/* =====================================================================
 * 2.10.3 — sidebar logo + responsive typography / spacing fix
 * Keeps the brand readable on dark and light surfaces and prevents
 * headings/text from sliding underneath the fixed sidebar.
 * =================================================================== */
.gpm-topnav-brand {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
.gpm-brand-logo-shell {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 64px;
	padding: 8px 10px;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 12px;
	overflow: hidden;
}
.gpm-brand-logo {
	display: block;
	width: 100%;
	max-width: 176px;
	height: auto;
	max-height: 58px;
	object-fit: contain;
}

/* Make plugin typography independent from aggressive theme heading rules. */
.gpm-wrap,
.gpm-wrap button,
.gpm-wrap input,
.gpm-wrap select,
.gpm-wrap textarea,
.gpm-wrap table {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}
.gpm-wrap h1,
.gpm-wrap h2,
.gpm-wrap h3,
.gpm-wrap h4,
.gpm-wrap h5,
.gpm-wrap h6,
.gpm-heading,
.gpm-card-title {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
	font-style: normal !important;
	text-transform: none;
	max-width: 100%;
	word-break: normal;
	overflow-wrap: anywhere;
}
.gpm-heading {
	font-size: clamp(24px, 3vw, 38px) !important;
	line-height: 1.15 !important;
	letter-spacing: -0.025em !important;
}
.gpm-card-title { line-height: 1.3 !important; }
.gpm-wrap p,
.gpm-wrap a,
.gpm-wrap span,
.gpm-wrap td,
.gpm-wrap th,
.gpm-wrap label {
	line-height: 1.45;
}

/* Desktop: leave a real gutter after the fixed sidebar. */
@media (min-width: 981px) {
	.gpm-wrap {
		padding-left: 262px !important;
		padding-right: 24px !important;
	}
	.gpm-topnav { width: 226px; }
	.gpm-topnav-brand { padding: 0 !important; }
	.gpm-brand-logo-shell { min-height: 68px; }
}

/* Tablet: keep sidebar, but give content breathing room and smaller type. */
@media (min-width: 768px) and (max-width: 980px) {
	.gpm-wrap {
		padding-left: 234px !important;
		padding-right: 18px !important;
		padding-top: 18px !important;
	}
	.gpm-topnav { width: 210px; }
	.gpm-topnav-brand { padding: 0 !important; }
	.gpm-brand-logo-shell { min-height: 62px; padding: 7px 8px; }
	.gpm-brand-logo { max-width: 164px; max-height: 52px; }
	.gpm-heading { font-size: clamp(23px, 4vw, 32px) !important; }
	.gpm-sidebar-links a { font-size: 13px !important; line-height: 1.35 !important; }
}

/* Phone: sidebar becomes a normal top panel so no content/font is hidden. */
@media (max-width: 767px) {
	.gpm-wrap {
		padding: 12px 12px 32px !important;
		margin: 0 !important;
		max-width: none !important;
		width: 100% !important;
		overflow-x: hidden !important;
	}
	.gpm-topnav {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		bottom: auto !important;
		width: 100% !important;
		min-height: 0 !important;
		padding: 12px !important;
		gap: 10px !important;
		border-radius: 12px !important;
		border: 1px solid #344054 !important;
		overflow: visible !important;
	}
	.gpm-topnav-brand { padding: 0 !important; }
	.gpm-brand-logo-shell {
		min-height: 56px;
		padding: 6px 8px;
	}
	.gpm-brand-logo { max-width: 170px; max-height: 48px; }
	.gpm-mode-switch { width: 100% !important; box-sizing: border-box; }
	.gpm-sidebar-links {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0,1fr));
		gap: 6px !important;
		width: 100%;
	}
	.gpm-sidebar-links a {
		min-width: 0;
		padding: 9px 8px !important;
		font-size: 12px !important;
		line-height: 1.3 !important;
		white-space: normal !important;
		overflow-wrap: anywhere;
	}
	.gpm-topnav-right {
		margin-top: 0 !important;
		padding: 0 !important;
		grid-template-columns: auto 1fr auto;
		align-items: center;
	}
	.gpm-topnav-user {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.gpm-dash-header {
		margin-top: 16px !important;
		gap: 10px !important;
	}
	.gpm-heading {
		font-size: clamp(22px, 8vw, 30px) !important;
		line-height: 1.16 !important;
	}
	.gpm-subtext,
	.gpm-dash-subtitle { font-size: 13px !important; line-height: 1.5 !important; }
	.gpm-card { padding-left: 14px !important; padding-right: 14px !important; }
	.gpm-table-wrap,
	.gpm-marketplace-table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
	.gpm-table,
	.gpm-marketplace-table { min-width: 720px; }
}

@media (max-width: 420px) {
	.gpm-sidebar-links { grid-template-columns: 1fr; }
	.gpm-topnav-right { grid-template-columns: 1fr; }
	.gpm-signout { width: 100%; box-sizing: border-box; }
	.gpm-heading { font-size: 24px !important; }
}

/* =====================================================================
 * 2.10.4 — fixed desktop shell + off-canvas tablet/mobile sidebar
 * =================================================================== */
.gpm-wrap {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
.gpm-view,
.gpm-notice,
.gpm-dash-header,
.gpm-card,
.gpm-stats,
.gpm-section-title {
	min-width: 0;
}
.gpm-sidebar-toggle,
.gpm-sidebar-close,
.gpm-sidebar-overlay { display: none; }

@media (min-width: 981px) {
	.gpm-wrap {
		padding: 24px 28px 60px 258px !important;
	}
	.gpm-topnav {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		bottom: 0 !important;
		z-index: 1000 !important;
		width: 226px !important;
		height: 100vh !important;
		max-height: 100vh !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
	}
	.gpm-view,
	.gpm-notice {
		width: 100% !important;
		max-width: 1120px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.gpm-dash-header,
	.gpm-card,
	.gpm-stats { width: 100% !important; box-sizing: border-box !important; }
}

@media (max-width: 980px) {
	.gpm-wrap {
		padding: 72px 16px 40px !important;
		overflow-x: hidden !important;
	}
	.gpm-sidebar-toggle {
		display: inline-flex !important;
		position: fixed;
		top: 14px;
		left: 14px;
		z-index: 1102;
		width: 46px;
		height: 46px;
		padding: 10px;
		border: 1px solid #d0d5dd;
		border-radius: 10px;
		background: #fff;
		box-shadow: 0 4px 14px rgba(16,24,40,.12);
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		cursor: pointer;
	}
	.gpm-sidebar-toggle span {
		display: block;
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background: #182230;
	}
	.gpm-sidebar-close {
		display: inline-flex !important;
		position: absolute;
		top: 10px;
		right: 10px;
		z-index: 2;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
		border: 0;
		border-radius: 8px;
		background: rgba(255,255,255,.1);
		color: #fff;
		font-size: 25px;
		line-height: 1;
		cursor: pointer;
	}
	.gpm-topnav {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		bottom: 0 !important;
		z-index: 1101 !important;
		width: min(300px, 86vw) !important;
		height: 100vh !important;
		max-height: 100vh !important;
		padding: 18px 14px !important;
		border-radius: 0 !important;
		transform: translateX(-105%);
		transition: transform .22s ease !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		box-shadow: 12px 0 28px rgba(16,24,40,.22) !important;
	}
	.gpm-sidebar-open .gpm-topnav { transform: translateX(0); }
	.gpm-sidebar-overlay {
		display: block !important;
		position: fixed;
		inset: 0;
		z-index: 1100;
		background: rgba(16,24,40,.48);
		opacity: 0;
		visibility: hidden;
		transition: opacity .22s ease, visibility .22s ease;
	}
	.gpm-sidebar-open .gpm-sidebar-overlay { opacity: 1; visibility: visible; }
	body.gpm-sidebar-open { overflow: hidden; }
	.gpm-topnav-brand { padding-right: 38px !important; }
	.gpm-sidebar-links {
		display: grid !important;
		grid-template-columns: 1fr !important;
		width: 100% !important;
		gap: 5px !important;
		overflow: visible !important;
	}
	.gpm-sidebar-links a {
		width: 100% !important;
		box-sizing: border-box !important;
		font-size: 14px !important;
		line-height: 1.35 !important;
		white-space: normal !important;
	}
	.gpm-topnav-right { margin-top: auto !important; }
	.gpm-view,
	.gpm-notice { width: 100% !important; max-width: none !important; }
	.gpm-heading { overflow-wrap: normal !important; word-break: normal !important; }

	/* Tables stay usable on narrow screens without crushing their text. */
	.gpm-orders-table-wrap,
	.gpm-marketplace-table-wrap,
	.gpm-table-wrap {
		width: 100% !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
	}
	.gpm-orders-table,
	.gpm-marketplace-table,
	.gpm-table {
		min-width: 760px !important;
		font-size: 12px !important;
	}
}

@media (max-width: 640px) {
	.gpm-wrap { padding: 68px 10px 28px !important; }
	.gpm-sidebar-toggle { top: 10px; left: 10px; width: 44px; height: 44px; }
	.gpm-topnav { width: min(290px, 90vw) !important; }
	.gpm-heading { font-size: clamp(22px, 7vw, 30px) !important; }
	.gpm-card { padding: 14px 12px !important; }
	.gpm-marketplace-toolbar { align-items: stretch !important; flex-direction: column !important; }
	.gpm-marketplace-search { width: 100% !important; }
	.gpm-marketplace-count { white-space: normal !important; }
}


/* =====================================================================
 * 2.10.5 — Live Link column + clean fixed-sidebar page shell
 * =================================================================== */
.gpm-live-view-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	padding: 6px 11px;
	border: 1px solid #d59b25;
	border-radius: 7px;
	background: #fff7e6;
	color: #7a4b00 !important;
	font-weight: 800;
	text-decoration: none !important;
}
.gpm-live-view-link:hover,
.gpm-live-view-link:focus {
	background: #d99c1d;
	color: #111 !important;
}
.gpm-live-empty { color: #98a2b3; }

/* WordPress themes often print their own page title outside the shortcode.
 * On fixed-sidebar dashboard pages that title can sit underneath the sidebar.
 * The dashboard already has its own contextual headings, so hide the duplicate
 * theme title and let the plugin shell own all visible dashboard typography. */
body.gpm-dashboard-page .entry-title,
body.gpm-dashboard-page .page-title,
body.gpm-dashboard-page .wp-block-post-title,
body.gpm-dashboard-page main > header.entry-header,
body.gpm-dashboard-page .site-main > header.entry-header {
	display: none !important;
}

@media (min-width: 981px) {
	body.gpm-dashboard-page .gpm-wrap {
		padding-left: 266px !important;
		padding-right: 28px !important;
	}
	body.gpm-dashboard-page .gpm-view,
	body.gpm-dashboard-page .gpm-notice {
		margin-left: 0 !important;
		margin-right: auto !important;
		max-width: 1180px !important;
	}
}

@media (max-width: 980px) {
	body.gpm-dashboard-page .gpm-wrap {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

/* =====================================================================
 * 2.10.6 — full-width app shell + definitive sidebar overlap fix
 * =================================================================== */
/* Dashboard pages must not inherit the active WordPress theme's narrow
 * content column, page-title spacing or side gutters.  The plugin owns the
 * full page while it is active. */
html body.gpm-dashboard-page {
	margin: 0 !important;
	padding: 0 !important;
	background: #f5f7fa !important;
	overflow-x: hidden !important;
}
body.gpm-dashboard-page #page,
body.gpm-dashboard-page .site,
body.gpm-dashboard-page #content,
body.gpm-dashboard-page .site-content,
body.gpm-dashboard-page .content-area,
body.gpm-dashboard-page main,
body.gpm-dashboard-page .site-main,
body.gpm-dashboard-page article,
body.gpm-dashboard-page .entry-content,
body.gpm-dashboard-page .wp-site-blocks main,
body.gpm-dashboard-page .wp-block-post-content {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* Remove every common theme-level duplicate page heading.  The plugin has
 * its own heading inside the safe content column. */
body.gpm-dashboard-page .entry-header,
body.gpm-dashboard-page .page-header,
body.gpm-dashboard-page .entry-title,
body.gpm-dashboard-page .page-title,
body.gpm-dashboard-page .wp-block-post-title,
body.gpm-dashboard-page .elementor-page-title,
body.gpm-dashboard-page .ast-single-post-order,
body.gpm-dashboard-page .page-title-bar,
body.gpm-dashboard-page .titlebar,
body.gpm-dashboard-page .page-heading {
	display: none !important;
}

body.gpm-dashboard-page .gpm-wrap {
	position: relative !important;
	min-height: 100vh !important;
	background: #f5f7fa !important;
	box-sizing: border-box !important;
}

/* Desktop: sidebar owns the first 226px of the viewport.  The content starts
 * after a permanent 34px safety gutter so no heading can ever sit under it. */
@media (min-width: 981px) {
	body.gpm-dashboard-page .gpm-wrap {
		width: 100vw !important;
		max-width: 100vw !important;
		margin: 0 !important;
		padding: 28px 32px 64px 260px !important;
	}
	body.gpm-dashboard-page .gpm-topnav {
		left: 0 !important;
		width: 226px !important;
	}
	body.gpm-dashboard-page .gpm-view,
	body.gpm-dashboard-page .gpm-notice {
		width: 100% !important;
		max-width: 1220px !important;
		margin: 0 auto !important;
		padding-left: 0 !important;
		transform: none !important;
	}
	body.gpm-dashboard-page .gpm-dash-header,
	body.gpm-dashboard-page .gpm-card,
	body.gpm-dashboard-page .gpm-stats,
	body.gpm-dashboard-page .gpm-section-title,
	body.gpm-dashboard-page .gpm-heading {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
}

/* Tablet/phone: the sidebar is always off-canvas until the hamburger is
 * pressed.  Content therefore gets the full screen width and cannot hide
 * underneath the black navigation panel. */
@media (max-width: 980px) {
	body.gpm-dashboard-page .gpm-wrap {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 72px 16px 40px !important;
	}
	body.gpm-dashboard-page .gpm-view,
	body.gpm-dashboard-page .gpm-notice,
	body.gpm-dashboard-page .gpm-dash-header,
	body.gpm-dashboard-page .gpm-card,
	body.gpm-dashboard-page .gpm-stats {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box !important;
	}
}

@media (max-width: 640px) {
	body.gpm-dashboard-page .gpm-wrap {
		padding: 68px 10px 28px !important;
	}
}

/* =====================================================================
 * 2.10.7 — balanced desktop canvas + hard no-overlap dashboard shell
 * =================================================================== */
/* Keep the application inside the actual viewport.  The sidebar owns a
 * fixed column and the content uses the rest — no theme centering, no card
 * drifting too far right, and no form fields escaping the screen. */
@media (min-width: 981px) {
	body.gpm-dashboard-page .gpm-wrap {
		position: relative !important;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 100vh !important;
		margin: 0 !important;
		padding: 24px 24px 56px 250px !important;
		overflow-x: hidden !important;
	}

	body.gpm-dashboard-page .gpm-topnav {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		bottom: 0 !important;
		width: 226px !important;
		min-width: 226px !important;
		max-width: 226px !important;
		height: 100vh !important;
		z-index: 99999 !important;
	}

	body.gpm-dashboard-page .gpm-view,
	body.gpm-dashboard-page .gpm-notice {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	/* A comfortable dashboard width without pushing forms to the right. */
	body.gpm-dashboard-page .gpm-view > *,
	body.gpm-dashboard-page .gpm-notice {
		width: 100% !important;
		max-width: 1180px !important;
		margin-left: 0 !important;
		margin-right: auto !important;
		box-sizing: border-box !important;
	}

	body.gpm-dashboard-page .gpm-card,
	body.gpm-dashboard-page .gpm-dash-header,
	body.gpm-dashboard-page .gpm-stats,
	body.gpm-dashboard-page .gpm-section-title,
	body.gpm-dashboard-page .gpm-heading,
	body.gpm-dashboard-page .gpm-form-grid,
	body.gpm-dashboard-page .gpm-field,
	body.gpm-dashboard-page input,
	body.gpm-dashboard-page select,
	body.gpm-dashboard-page textarea {
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
}

/* The WordPress/theme title sits outside the shortcode on some themes and can
 * appear under the black sidebar.  JS marks those external headings so only
 * the plugin's own page heading remains visible. */
body.gpm-dashboard-page .gpm-theme-dashboard-heading {
	display: none !important;
}

/* Tablet/mobile stay full width; form grids collapse earlier so labels and
 * fields remain readable instead of squeezing or spilling off-screen. */
@media (max-width: 980px) {
	body.gpm-dashboard-page .gpm-wrap {
		padding: 72px 14px 36px !important;
		overflow-x: hidden !important;
	}
	body.gpm-dashboard-page .gpm-view > *,
	body.gpm-dashboard-page .gpm-card,
	body.gpm-dashboard-page .gpm-form-grid,
	body.gpm-dashboard-page .gpm-field {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
}

@media (max-width: 760px) {
	body.gpm-dashboard-page .gpm-form-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* =====================================================================
 * Order tracker single-row fix (v2.10.8)
 * Keep all workflow steps on one continuous line on buyer/seller views.
 * On narrow screens the line scrolls horizontally instead of wrapping.
 * =================================================================== */
.gpm-tracker {
	flex-wrap: nowrap !important;
	gap: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	padding: 2px 0 8px;
}

.gpm-tracker-step {
	flex: 1 1 0 !important;
	min-width: 68px !important;
	max-width: none !important;
	box-sizing: border-box;
}

.gpm-tracker-label {
	white-space: normal;
	word-break: normal;
	overflow-wrap: normal;
}

@media (max-width: 900px) {
	.gpm-tracker-step {
		flex: 0 0 82px !important;
		min-width: 82px !important;
		padding-left: 3px;
		padding-right: 3px;
	}
	.gpm-tracker-label {
		font-size: 9px;
		line-height: 1.25;
	}
}

@media (max-width: 480px) {
	.gpm-tracker-step {
		flex-basis: 78px !important;
		min-width: 78px !important;
	}
}

/* Buyer/Seller switch alignment fix (v2.10.9)
 * Keep both choices exactly equal so the active state never leaves an
 * oversized white area on either Buyer or Seller. */
.gpm-mode-switch {
	display: flex !important;
	width: 100% !important;
	box-sizing: border-box !important;
	gap: 4px !important;
}
.gpm-mode-switch .gpm-mode-btn {
	flex: 1 1 0 !important;
	width: 50% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	padding: 10px 8px !important;
	margin: 0 !important;
	white-space: nowrap !important;
}

/* ==========================================================
 * 2.11.0 — Marketplace filters + metric header icons
 * ======================================================== */
.gpm-marketplace-search-wrap { flex: 1 1 430px; min-width: 240px; }
.gpm-marketplace-search-wrap .gpm-marketplace-search { width: min(520px, 100%); }
.gpm-marketplace-filters {
	display: grid;
	grid-template-columns: repeat(6, minmax(120px, 1fr)) auto;
	gap: 10px;
	align-items: end;
	margin: 0 0 16px;
	padding: 14px;
	background: #f8fafc;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
}
.gpm-filter-field { min-width: 0; }
.gpm-filter-field label {
	display: block;
	margin: 0 0 6px;
	font-size: 11px;
	line-height: 1.2;
	font-weight: 800;
	color: #344054;
}
.gpm-filter-field select,
.gpm-filter-field input {
	width: 100%;
	min-width: 0;
	height: 38px;
	margin: 0;
	padding: 7px 9px;
	border: 1px solid #d0d5dd;
	border-radius: 7px;
	background: #fff;
	color: #344054;
	font-size: 12px;
	box-shadow: none;
}
.gpm-filter-field select:focus,
.gpm-filter-field input:focus {
	outline: none;
	border-color: #d99b1d;
	box-shadow: 0 0 0 3px rgba(217,155,29,.13);
}
.gpm-filter-range > div { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.gpm-filter-clear {
	height: 38px;
	padding: 0 13px;
	border: 1px solid #d0d5dd;
	border-radius: 7px;
	background: #fff;
	color: #475467;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
}
.gpm-filter-clear:hover { border-color: #d99b1d; color: #7a4b00; background: #fffbf2; }
.gpm-table-head-label { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.gpm-table-head-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border-radius: 5px;
	font-size: 10px;
	line-height: 1;
	font-weight: 900;
	font-style: normal;
	background: #eef2f6;
	color: #344054;
}
.gpm-head-icon-brand { color: #fff; letter-spacing: -.02em; }
.gpm-head-icon-moz { background: #1f75fe; }
.gpm-head-icon-ahrefs { background: #ff3b30; }
.gpm-head-icon-generic { background: #eef2f6; color: #344054; }

@media (max-width: 1180px) {
	.gpm-marketplace-filters { grid-template-columns: repeat(3, minmax(140px, 1fr)); }
	.gpm-filter-clear { width: 100%; }
}
@media (max-width: 760px) {
	.gpm-marketplace-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 11px; gap: 9px; }
	.gpm-marketplace-toolbar { align-items: stretch !important; }
	.gpm-marketplace-search-wrap { flex-basis: auto; min-width: 0; width: 100%; }
	.gpm-marketplace-search-wrap .gpm-marketplace-search { width: 100%; }
	.gpm-filter-clear { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.gpm-marketplace-filters { grid-template-columns: 1fr; }
	.gpm-filter-clear { grid-column: auto; }
}


/* ==========================================================
 * 2.11.1 — Filter bar fit + compact niche dropdown
 * ======================================================== */
.gpm-marketplace-filters {
	grid-template-columns: minmax(135px, 1.15fr) minmax(125px, 1fr) minmax(125px, 1fr) minmax(120px, .9fr) minmax(120px, .9fr) minmax(130px, 1fr) minmax(110px, auto);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow: visible;
}
.gpm-marketplace-filters > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
.gpm-filter-field select { max-width: 100%; text-overflow: ellipsis; }
.gpm-filter-clear {
	justify-self: stretch;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	padding-left: 10px;
	padding-right: 10px;
}
@media (max-width: 1280px) {
	.gpm-marketplace-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.gpm-filter-clear { grid-column: auto; }
}
@media (max-width: 900px) {
	.gpm-marketplace-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gpm-filter-clear { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.gpm-marketplace-filters { grid-template-columns: 1fr; }
	.gpm-filter-clear { grid-column: auto; }
}


/* ==========================================================
 * 2.11.2 — Stable filter grid + Ahrefs DR badge
 * ======================================================== */
.gpm-marketplace-filters {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
.gpm-marketplace-filters > * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.gpm-filter-field,
.gpm-filter-field > div,
.gpm-filter-field input,
.gpm-filter-field select {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.gpm-filter-clear {
    grid-column: 1 / -1 !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 126px !important;
    max-width: 180px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.gpm-head-icon-ahrefs {
    width: auto !important;
    min-width: 30px !important;
    padding: 0 4px !important;
    border-radius: 4px !important;
    background: #ff3b30 !important;
    color: #fff !important;
    font-size: 7px !important;
    font-weight: 900 !important;
    letter-spacing: -0.15px !important;
    text-transform: lowercase !important;
}
@media (max-width: 760px) {
    .gpm-marketplace-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .gpm-filter-clear {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        justify-self: stretch !important;
    }
}
@media (max-width: 480px) {
    .gpm-marketplace-filters {
        grid-template-columns: 1fr !important;
    }
    .gpm-filter-clear {
        grid-column: auto !important;
    }
}


/* 2.11.4 — safe marketplace favicon / brand icon polish */
.gpm-marketplace-table .gpm-table-head-label{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.gpm-marketplace-table .gpm-brand-favicon{width:18px;height:18px;min-width:18px;object-fit:contain;border-radius:4px;background:#fff;border:1px solid #e4e7ec;padding:1px;box-sizing:border-box}
.gpm-marketplace-table th:nth-child(3),.gpm-marketplace-table th:nth-child(4){min-width:74px}
.gpm-marketplace-table .gpm-site-cell-with-icon,.gpm-marketplace-table .gpm-country-cell-with-flag{display:table-cell;white-space:nowrap}
.gpm-marketplace-table .gpm-site-cell-with-icon .gpm-site-favicon{width:17px;height:17px;vertical-align:middle;object-fit:contain;border-radius:4px;margin-right:7px;background:#fff;border:1px solid #eaecf0}
.gpm-marketplace-table .gpm-country-cell-with-flag .gpm-country-flag{display:inline-block;min-width:20px;margin-right:6px;font-size:16px;line-height:1;vertical-align:middle}
.gpm-marketplace-table .gpm-site-text,.gpm-marketplace-table .gpm-country-text{vertical-align:middle}


/* ==========================================================
 * 2.11.6 — polished marketplace grid / true column dividers
 * ======================================================== */
.gpm-marketplace-table-wrap {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: #fff;
}
.gpm-marketplace-table {
    width: 100% !important;
    min-width: 1080px !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    background: #fff;
}
.gpm-marketplace-table th,
.gpm-marketplace-table td {
    box-sizing: border-box !important;
    padding: 11px 10px !important;
    vertical-align: middle !important;
    border-right: 1px solid #e4e9f0 !important;
    border-bottom: 1px solid #e8edf3 !important;
    line-height: 1.35 !important;
    overflow: hidden;
}
.gpm-marketplace-table th:last-child,
.gpm-marketplace-table td:last-child {
    border-right: 0 !important;
}
.gpm-marketplace-table tbody tr:last-child td {
    border-bottom: 0 !important;
}
.gpm-marketplace-table thead th {
    background: #f7f9fc !important;
    color: #344054 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap !important;
}
.gpm-marketplace-table tbody td {
    color: #172033;
    font-size: 11px !important;
    background: #fff;
}
.gpm-marketplace-table tbody tr:nth-child(even) td {
    background: #fcfdff;
}
.gpm-marketplace-table tbody tr:hover td {
    background: #fffaf0 !important;
}

/* Stable column widths: Website | Niche | DA | DR | Traffic | Price | Country | TAT | Link | Order */
.gpm-marketplace-table th:nth-child(1), .gpm-marketplace-table td:nth-child(1) { width: 18% !important; }
.gpm-marketplace-table th:nth-child(2), .gpm-marketplace-table td:nth-child(2) { width: 16% !important; }
.gpm-marketplace-table th:nth-child(3), .gpm-marketplace-table td:nth-child(3) { width: 6% !important; text-align:center; }
.gpm-marketplace-table th:nth-child(4), .gpm-marketplace-table td:nth-child(4) { width: 6% !important; text-align:center; }
.gpm-marketplace-table th:nth-child(5), .gpm-marketplace-table td:nth-child(5) { width: 9% !important; }
.gpm-marketplace-table th:nth-child(6), .gpm-marketplace-table td:nth-child(6) { width: 8% !important; }
.gpm-marketplace-table th:nth-child(7), .gpm-marketplace-table td:nth-child(7) { width: 7% !important; text-align:center; }
.gpm-marketplace-table th:nth-child(8), .gpm-marketplace-table td:nth-child(8) { width: 11% !important; }
.gpm-marketplace-table th:nth-child(9), .gpm-marketplace-table td:nth-child(9) { width: 8% !important; }
.gpm-marketplace-table th:nth-child(10), .gpm-marketplace-table td:nth-child(10) { width: 11% !important; text-align:center; }

.gpm-marketplace-table .gpm-table-head-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 6px !important;
    max-width: 100%;
    white-space: nowrap !important;
}
.gpm-marketplace-table th:nth-child(3) .gpm-table-head-label,
.gpm-marketplace-table th:nth-child(4) .gpm-table-head-label,
.gpm-marketplace-table th:nth-child(7) .gpm-table-head-label,
.gpm-marketplace-table th:nth-child(10) .gpm-table-head-label {
    justify-content: center !important;
}
.gpm-marketplace-table .gpm-brand-favicon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    flex: 0 0 16px;
    object-fit: contain;
    border-radius: 3px;
    background: #fff;
    border: 1px solid #dfe5ec;
    padding: 1px;
    box-sizing: border-box;
}
.gpm-marketplace-table .gpm-site-cell-with-icon {
    white-space: normal !important;
}
.gpm-marketplace-table .gpm-site-cell-with-icon .gpm-site-favicon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    margin-right: 7px !important;
    vertical-align: middle;
}
.gpm-marketplace-table .gpm-site-cell-with-icon .gpm-site-text {
    display: inline !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    vertical-align: middle !important;
}
.gpm-marketplace-table td:nth-child(2) {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}
.gpm-marketplace-table .gpm-country-cell-with-flag .gpm-country-flag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    min-width: 0 !important;
    font-size: 19px !important;
    line-height: 1 !important;
}
.gpm-marketplace-table .gpm-btn {
    min-width: 76px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .gpm-marketplace-table { min-width: 1050px !important; }
    .gpm-marketplace-table th,
    .gpm-marketplace-table td { padding: 10px 8px !important; }
}


/* ==========================================================
 * 2.11.7 — desktop marketplace fit (no horizontal scrolling)
 * ======================================================== */
@media (min-width: 981px) {
    body.gpm-dashboard-page .gpm-section-marketplace .gpm-view > *,
    body.gpm-dashboard-page .gpm-section-dashboard .gpm-marketplace {
        max-width: 100% !important;
    }

    .gpm-marketplace-table-wrap {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .gpm-marketplace-table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed !important;
    }

    .gpm-marketplace-table th,
    .gpm-marketplace-table td {
        padding: 10px 7px !important;
        font-size: 10px !important;
    }

    /* Compact but readable desktop widths; total = 100%. */
    .gpm-marketplace-table th:nth-child(1), .gpm-marketplace-table td:nth-child(1) { width: 21% !important; }
    .gpm-marketplace-table th:nth-child(2), .gpm-marketplace-table td:nth-child(2) { width: 12% !important; }
    .gpm-marketplace-table th:nth-child(3), .gpm-marketplace-table td:nth-child(3) { width: 6% !important; }
    .gpm-marketplace-table th:nth-child(4), .gpm-marketplace-table td:nth-child(4) { width: 6% !important; }
    .gpm-marketplace-table th:nth-child(5), .gpm-marketplace-table td:nth-child(5) { width: 9% !important; }
    .gpm-marketplace-table th:nth-child(6), .gpm-marketplace-table td:nth-child(6) { width: 9% !important; }
    .gpm-marketplace-table th:nth-child(7), .gpm-marketplace-table td:nth-child(7) { width: 7% !important; }
    .gpm-marketplace-table th:nth-child(8), .gpm-marketplace-table td:nth-child(8) { width: 10% !important; }
    .gpm-marketplace-table th:nth-child(9), .gpm-marketplace-table td:nth-child(9) { width: 8% !important; }
    .gpm-marketplace-table th:nth-child(10), .gpm-marketplace-table td:nth-child(10) { width: 12% !important; }

    .gpm-marketplace-table .gpm-btn {
        min-width: 0 !important;
        width: 100% !important;
        padding: 8px 6px !important;
    }
}

/* Small screens can still swipe the table rather than crushing columns. */
@media (max-width: 980px) {
    .gpm-marketplace-table-wrap { overflow-x: auto !important; }
    .gpm-marketplace-table { min-width: 980px !important; }
}


/* ==========================================================
 * 2.11.8 — wider balanced dashboard canvas on every section
 * Keeps the fixed black sidebar, but uses more of the remaining viewport
 * without letting cards drift excessively on very wide screens.
 * ======================================================== */
@media (min-width: 981px) {
    body.gpm-dashboard-page .gpm-wrap {
        /* 226px sidebar + 12px breathing room; 14px right gutter */
        padding: 24px 14px 56px 238px !important;
    }

    /* Buyer and seller sections use the same balanced canvas. */
    body.gpm-dashboard-page .gpm-view > *,
    body.gpm-dashboard-page .gpm-notice {
        width: 100% !important;
        max-width: 1400px !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    /* Marketplace/dashboard website tables may use the full safe canvas. */
    body.gpm-dashboard-page .gpm-section-marketplace .gpm-view > *,
    body.gpm-dashboard-page .gpm-section-dashboard .gpm-marketplace,
    body.gpm-dashboard-page .gpm-marketplace {
        max-width: 1400px !important;
    }

    .gpm-marketplace-table-wrap {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .gpm-marketplace-table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed !important;
    }

    /* Give Traffic/TAT enough room so headings never clip. Total = 100%. */
    .gpm-marketplace-table th:nth-child(1), .gpm-marketplace-table td:nth-child(1) { width: 21% !important; }
    .gpm-marketplace-table th:nth-child(2), .gpm-marketplace-table td:nth-child(2) { width: 12% !important; }
    .gpm-marketplace-table th:nth-child(3), .gpm-marketplace-table td:nth-child(3) { width: 6% !important; }
    .gpm-marketplace-table th:nth-child(4), .gpm-marketplace-table td:nth-child(4) { width: 6% !important; }
    .gpm-marketplace-table th:nth-child(5), .gpm-marketplace-table td:nth-child(5) { width: 10% !important; }
    .gpm-marketplace-table th:nth-child(6), .gpm-marketplace-table td:nth-child(6) { width: 8% !important; }
    .gpm-marketplace-table th:nth-child(7), .gpm-marketplace-table td:nth-child(7) { width: 7% !important; }
    .gpm-marketplace-table th:nth-child(8), .gpm-marketplace-table td:nth-child(8) { width: 12% !important; }
    .gpm-marketplace-table th:nth-child(9), .gpm-marketplace-table td:nth-child(9) { width: 8% !important; }
    .gpm-marketplace-table th:nth-child(10), .gpm-marketplace-table td:nth-child(10) { width: 12% !important; }

    .gpm-marketplace-table .gpm-table-head-label {
        gap: 4px !important;
        max-width: 100% !important;
    }
    .gpm-marketplace-table th,
    .gpm-marketplace-table td {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* Keep tablet/mobile behavior intact: full-width app + swipeable table. */
@media (max-width: 980px) {
    body.gpm-dashboard-page .gpm-wrap {
        width: 100% !important;
        max-width: 100% !important;
    }
    .gpm-marketplace-table-wrap { overflow-x: auto !important; }
}


/* ==========================================================
 * 2.11.9 — show complete marketplace domains (no ellipsis)
 * ======================================================== */
.gpm-marketplace-table .gpm-site-cell-with-icon {
    white-space: normal !important;
}
.gpm-marketplace-table .gpm-site-cell-with-icon .gpm-site-text {
    display: inline !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}
@media (min-width: 981px) {
    .gpm-marketplace-table th:nth-child(1),
    .gpm-marketplace-table td:nth-child(1) { width: 21% !important; }
    .gpm-marketplace-table th:nth-child(2),
    .gpm-marketplace-table td:nth-child(2) { width: 12% !important; }
}

/* 2.12.0: Buyer-only marketplace pricing. Seller mode receives no exact amount in the markup. */
.gpm-price-private {
	display:inline-block;
	min-width:42px;
	padding:3px 7px;
	border-radius:6px;
	background:#e7eaf0;
	color:transparent;
	text-shadow:0 0 7px rgba(16,24,40,.75);
	user-select:none;
	-webkit-user-select:none;
	white-space:nowrap;
}

/* 2.12.2 — compact currency checkout controls */
.gpm-marketplace-toolbar{align-items:end;gap:12px}.gpm-marketplace-currency-wrap{display:flex;flex-direction:column;gap:5px;min-width:132px}.gpm-marketplace-currency-wrap label{font-size:11px;font-weight:700;color:#536174}.gpm-marketplace-currency-wrap select{height:43px;border:1px solid #d6deea;border-radius:9px;background:#fff;padding:0 10px;font:inherit}.gpm-payment-note{margin:10px 0 18px;padding:11px 13px;border-radius:9px;background:#fff8e7;border:1px solid #f0d8a2;color:#6f520d}.gpm-price-row input[readonly]{background:#f7f9fc;color:#172033;font-weight:700}
@media(max-width:760px){.gpm-marketplace-toolbar{align-items:stretch}.gpm-marketplace-currency-wrap{width:100%;min-width:0}.gpm-marketplace-currency-wrap select{width:100%}}


/* ==========================================================
 * 2.12.8 — restore classic centered dashboard container
 * Keeps the pre-full-width layout while making the fixed sidebar
 * reliably scrollable down to profile/sign-out actions.
 * ======================================================== */
@media (min-width: 981px) {
    body.gpm-dashboard-page .gpm-wrap {
        max-width: 1320px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 250px !important;
        padding-right: 14px !important;
        box-sizing: border-box !important;
    }
}

body.gpm-dashboard-page .gpm-topnav {
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
body.gpm-dashboard-page .gpm-topnav-brand,
body.gpm-dashboard-page .gpm-mode-switch,
body.gpm-dashboard-page .gpm-role-toggle-wrap,
body.gpm-dashboard-page .gpm-sidebar-links,
body.gpm-dashboard-page .gpm-topnav-right {
    flex-shrink: 0 !important;
}
body.gpm-dashboard-page .gpm-topnav-right {
    position: static !important;
    padding-bottom: 16px !important;
}
body.gpm-dashboard-page .gpm-topnav::-webkit-scrollbar { width: 8px; }
body.gpm-dashboard-page .gpm-topnav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.35);
    border-radius: 999px;
}

@media (max-width: 980px) {
    body.gpm-dashboard-page .gpm-wrap {
        width: 100% !important;
        max-width: 1320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ==========================================================
 * 2.13.0 — reliable Buyer/Seller sidebar vertical scrolling
 * Keep the sidebar pinned to the viewport while allowing every
 * navigation/profile/sign-out item to be reached with mouse wheel,
 * trackpad, keyboard and touch on all dashboard sections.
 * ======================================================== */
body.gpm-dashboard-page .gpm-topnav {
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    min-height: 0 !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    scrollbar-gutter: stable;
    scrollbar-width: auto;
    padding-bottom: 28px !important;
}
body.gpm-dashboard-page .gpm-topnav-brand,
body.gpm-dashboard-page .gpm-mode-switch,
body.gpm-dashboard-page .gpm-role-toggle-wrap,
body.gpm-dashboard-page .gpm-sidebar-links,
body.gpm-dashboard-page .gpm-topnav-right {
    flex: 0 0 auto !important;
}
body.gpm-dashboard-page .gpm-sidebar-links {
    overflow: visible !important;
    min-height: max-content !important;
}
body.gpm-dashboard-page .gpm-topnav-right {
    margin-top: 8px !important;
    margin-bottom: 18px !important;
    padding-bottom: 18px !important;
}
body.gpm-dashboard-page .gpm-topnav::-webkit-scrollbar {
    width: 10px !important;
}
body.gpm-dashboard-page .gpm-topnav::-webkit-scrollbar-track {
    background: rgba(255,255,255,.06) !important;
    border-radius: 999px;
}
body.gpm-dashboard-page .gpm-topnav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.48) !important;
    border: 2px solid #182230;
    border-radius: 999px;
}
body.gpm-dashboard-page .gpm-topnav::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.70) !important;
}
@media (max-width: 980px) {
    body.gpm-dashboard-page .gpm-topnav {
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow-y: scroll !important;
        touch-action: pan-y !important;
    }
}


/* ==========================================================
 * 2.13.1 — hard sidebar wheel scrolling fix
 * Use normal document flow inside the fixed sidebar so profile/sign-out
 * always contribute to scrollHeight. This avoids flex auto-margin/shrink
 * quirks from themes/browsers that made the wheel appear to do nothing.
 * ======================================================== */
body.gpm-dashboard-page #gpm-dashboard-sidebar.gpm-topnav {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    box-sizing: border-box !important;
    padding-bottom: 34px !important;
}
body.gpm-dashboard-page #gpm-dashboard-sidebar .gpm-topnav-brand { margin-bottom: 26px !important; }
body.gpm-dashboard-page #gpm-dashboard-sidebar .gpm-mode-switch { margin-bottom: 26px !important; }
body.gpm-dashboard-page #gpm-dashboard-sidebar .gpm-sidebar-links {
    display: grid !important;
    gap: 4px !important;
    overflow: visible !important;
    min-height: 0 !important;
    margin-bottom: 20px !important;
}
body.gpm-dashboard-page #gpm-dashboard-sidebar .gpm-topnav-right {
    display: grid !important;
    gap: 8px !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 5px 18px !important;
}
body.gpm-dashboard-page #gpm-dashboard-sidebar::after {
    content: "";
    display: block;
    height: 18px;
}
body.gpm-dashboard-page #gpm-dashboard-sidebar::-webkit-scrollbar { width: 10px !important; }
body.gpm-dashboard-page #gpm-dashboard-sidebar::-webkit-scrollbar-track { background: rgba(255,255,255,.06) !important; }
body.gpm-dashboard-page #gpm-dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.48) !important;
    border: 2px solid #182230 !important;
    border-radius: 999px !important;
}

/* 2.13.3 — clickable profile + responsive profile workspace */
body.gpm-dashboard-page .gpm-profile-link{
	display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;
	padding:7px 8px;border-radius:10px;transition:background .18s ease;
}
body.gpm-dashboard-page .gpm-profile-link:hover,
body.gpm-dashboard-page .gpm-profile-link-active{background:rgba(255,255,255,.08)}
body.gpm-dashboard-page .gpm-profile-avatar{
	width:38px;height:38px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;
	flex:0 0 38px;background:#fff8e8;color:#a86200;font-weight:800;border:1px solid #f1d89c;
}
body.gpm-dashboard-page .gpm-profile-avatar-large{width:72px;height:72px;flex-basis:72px;font-size:28px}
body.gpm-dashboard-page .gpm-profile-hero{display:flex;align-items:center;gap:18px;margin-bottom:24px}
body.gpm-dashboard-page .gpm-profile-hero h2{margin:2px 0 4px}
body.gpm-dashboard-page .gpm-profile-hero p{margin:0;color:#667085}
body.gpm-dashboard-page .gpm-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.gpm-dashboard-page .gpm-profile-grid label{display:grid;gap:7px;font-weight:700;font-size:13px}
body.gpm-dashboard-page .gpm-profile-grid input{width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid #d9e0e8;border-radius:9px;background:#fff}
body.gpm-dashboard-page .gpm-profile-grid input[readonly]{background:#f7f8fa;color:#667085}
body.gpm-dashboard-page .gpm-profile-password{margin:24px 0;padding-top:20px;border-top:1px solid #e8ebef}
body.gpm-dashboard-page .gpm-profile-password h3{margin:0 0 4px}
body.gpm-dashboard-page .gpm-profile-password p{margin:0 0 14px;color:#667085;font-size:13px}
body.gpm-dashboard-page .gpm-profile-analytics{margin-top:18px}
body.gpm-dashboard-page .gpm-profile-analytics h4{margin:20px 0 10px}
body.gpm-dashboard-page .gpm-profile-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
body.gpm-dashboard-page .gpm-profile-stat-grid .gpm-stat{min-height:92px;padding:16px 12px}
body.gpm-dashboard-page .gpm-profile-stat-grid .gpm-stat strong{font-size:24px}
body.gpm-dashboard-page .gpm-profile-stat-grid .gpm-stat span{font-size:12px}
@media (max-width: 900px){
	body.gpm-dashboard-page .gpm-profile-grid{grid-template-columns:1fr 1fr}
	body.gpm-dashboard-page .gpm-profile-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width: 600px){
	body.gpm-dashboard-page .gpm-profile-grid{grid-template-columns:1fr}
	body.gpm-dashboard-page .gpm-profile-stat-grid{grid-template-columns:1fr 1fr}
	body.gpm-dashboard-page .gpm-profile-hero{align-items:flex-start}
}


/* 2.13.5 — cleaner notification nav + profile image upload */
body.gpm-dashboard-page .gpm-profile-avatar{overflow:hidden}
body.gpm-dashboard-page .gpm-profile-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
body.gpm-dashboard-page .gpm-profile-form input[type=file]{padding:9px;background:#fff}
body.gpm-dashboard-page .gpm-profile-form label small{font-weight:400;color:#7a8493;font-size:11px}
body.gpm-dashboard-page .gpm-profile-stat-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}


/* 2.13.6 — seller pricing currency + owner verification */
.gpm-price-currency-row{display:grid;grid-template-columns:minmax(105px,130px) 1fr;gap:10px;align-items:center}
.gpm-price-currency-row select,.gpm-price-currency-row input{width:100%;min-width:0}
.gpm-owner-verify-card{margin:24px 0 8px;padding:22px;border:1px solid #e1e7ef;border-radius:14px;background:#fffdf8;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.gpm-owner-verify-card h3{margin:4px 0 8px}.gpm-verify-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}
.gpm-verify-method{border:1px solid #e4e7ec;border-radius:12px;padding:16px;background:#fff}.gpm-verify-method h4{margin:0 0 8px}.gpm-verify-method code{display:block;overflow-wrap:anywhere;white-space:normal;background:#f5f7fa;padding:10px;border-radius:8px;margin:8px 0 12px;font-size:12px}
.gpm-verify-method form{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.gpm-verify-method input{flex:1 1 190px;min-width:0}.gpm-domain-code-form{padding-top:8px;border-top:1px dashed #e4e7ec}
@media(max-width:900px){.gpm-verify-methods{grid-template-columns:1fr}.gpm-price-currency-row{grid-template-columns:110px 1fr}}
@media(max-width:520px){.gpm-price-currency-row{grid-template-columns:1fr}.gpm-owner-verify-card{padding:16px}.gpm-verify-method form{display:block}.gpm-verify-method input,.gpm-verify-method button{width:100%;margin-top:8px}}

/* 2.13.7 — seller metrics row polish */
.gpm-seller-site-form .gpm-metrics-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}
.gpm-seller-site-form .gpm-metrics-row .gpm-field{min-width:0}
.gpm-seller-site-form .gpm-metrics-row input{width:100%;min-width:0}
@media(max-width:700px){.gpm-seller-site-form .gpm-metrics-row{grid-template-columns:1fr}}

/* Payment screen visibility hardening (2.13.9).
 * Some themes apply white button/table text inside front-end cards. Keep
 * payment methods readable without changing the rest of the dashboard. */
.gpm-pm-tabs, .gpm-pm-panel, .gpm-payment-card-details,
.gpm-payment-card-details td, .gpm-pm-panel h4 {
  color: #172033 !important;
}
.gpm-pm-tab { color: #3b4352 !important; opacity: 1 !important; visibility: visible !important; }
.gpm-pm-tab-active { color: #70480a !important; }
.gpm-pm-panel[hidden] { display: none !important; }
.gpm-pm-panel:not([hidden]) { display: block !important; visibility: visible !important; opacity: 1 !important; }
.gpm-payment-card-details td:first-child { color: #667085 !important; }


/* 2.14.1 - clearer account registration choice */
.gpm-auth-card.gpm-auth-card-register { max-width: 940px; }
.gpm-register-layout { display:grid; grid-template-columns:minmax(280px,.9fr) minmax(330px,1.1fr); gap:28px; align-items:start; }
.gpm-account-type-panel { background:#f8fafc; border:1px solid #e4e7ec; border-radius:12px; padding:20px; }
.gpm-account-type-panel h3 { margin:0 0 8px; color:#101828; font-size:20px; }
.gpm-account-type-intro { margin:0 0 16px; color:#667085; font-size:13px; line-height:1.55; }
.gpm-account-choice { display:flex; align-items:flex-start; gap:12px; padding:15px; margin:0 0 12px; background:#fff; border:1px solid #d0d5dd; border-radius:10px; cursor:pointer; transition:.15s ease; }
.gpm-account-choice:last-child { margin-bottom:0; }
.gpm-account-choice:hover { border-color:#d59b25; box-shadow:0 0 0 3px rgba(213,155,37,.10); }
.gpm-account-choice input { width:18px; height:18px; margin:2px 0 0; accent-color:#d99a1b; flex:0 0 auto; }
.gpm-account-choice:has(input:checked) { border-color:#d59b25; background:#fffaf0; box-shadow:0 0 0 3px rgba(213,155,37,.12); }
.gpm-account-choice-body { display:grid; gap:4px; }
.gpm-account-choice-body strong { color:#101828; font-size:16px; }
.gpm-account-choice-body small { color:#667085; font-size:12px; line-height:1.5; }
.gpm-register-fields { min-width:0; }
.gpm-register-fields .gpm-field { margin-bottom:14px; }
@media (max-width:760px) {
  .gpm-auth-card.gpm-auth-card-register { max-width:520px; }
  .gpm-register-layout { grid-template-columns:1fr; gap:18px; }
}


/* 2.14.2 - wider registration workspace + WhatsApp field sizing */
.gpm-auth:has(.gpm-auth-card-register){width:100%;box-sizing:border-box;padding-left:24px;padding-right:24px;}
.gpm-auth-card.gpm-auth-card-register{width:min(1180px,calc(100vw - 48px));max-width:1180px;padding:30px 34px;}
.gpm-auth-card.gpm-auth-card-register .gpm-register-layout{grid-template-columns:minmax(320px,.85fr) minmax(480px,1.35fr);gap:34px;}
.gpm-auth-card.gpm-auth-card-register .gpm-register-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;}
.gpm-auth-card.gpm-auth-card-register .gpm-register-fields .gpm-field{min-width:0;}
.gpm-auth-card.gpm-auth-card-register .gpm-register-fields .gpm-field:nth-child(1),
.gpm-auth-card.gpm-auth-card-register .gpm-register-fields .gpm-field:nth-child(4),
.gpm-auth-card.gpm-auth-card-register .gpm-register-fields .gpm-btn{grid-column:1 / -1;}
.gpm-field input[type=tel]{width:100%;box-sizing:border-box;background:#fff !important;border:1px solid #d6dbe5 !important;border-radius:8px !important;box-shadow:none !important;padding:10px 12px;font-size:14px;}
.gpm-field input[type=tel]:focus{border-color:var(--gpm-brand) !important;box-shadow:0 0 0 3px rgba(213,155,37,.16) !important;outline:0;}
@media (max-width:900px){
  .gpm-auth-card.gpm-auth-card-register{width:min(760px,calc(100vw - 32px));padding:26px 24px;}
  .gpm-auth-card.gpm-auth-card-register .gpm-register-layout{grid-template-columns:1fr;gap:20px;}
}
@media (max-width:620px){
  .gpm-auth:has(.gpm-auth-card-register){padding-left:10px;padding-right:10px;}
  .gpm-auth-card.gpm-auth-card-register{width:100%;padding:20px 16px;}
  .gpm-auth-card.gpm-auth-card-register .gpm-register-fields{grid-template-columns:1fr;}
  .gpm-auth-card.gpm-auth-card-register .gpm-register-fields .gpm-field,
  .gpm-auth-card.gpm-auth-card-register .gpm-register-fields .gpm-btn{grid-column:1;}
}

/* v2.14.3 — keep the login card exactly centered in the viewport. */
.gpm-auth:not(:has(.gpm-auth-card-register)) {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gpm-auth:not(:has(.gpm-auth-card-register)) .gpm-auth-card {
  margin: 0 auto;
}
@media (max-width: 600px) {
  .gpm-auth:not(:has(.gpm-auth-card-register)) {
    min-height: 100svh;
    padding: 16px;
    align-items: center;
  }
}


/* v2.14.4 — login is centered against the actual browser viewport, not a theme wrapper. */
.gpm-auth:not(:has(.gpm-auth-card-register)) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9990;
  width: 100vw !important;
  height: 100vh;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 24px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-sizing: border-box;
  overflow: auto;
  background: #f5f7fa;
}
.gpm-auth:not(:has(.gpm-auth-card-register)) .gpm-auth-card {
  margin: auto !important;
  flex: 0 0 auto;
}
@supports (height: 100svh) {
  .gpm-auth:not(:has(.gpm-auth-card-register)) { height: 100svh; min-height: 100svh !important; }
}
@media (max-width: 600px) {
  .gpm-auth:not(:has(.gpm-auth-card-register)) { padding: 14px !important; }
  .gpm-auth:not(:has(.gpm-auth-card-register)) .gpm-auth-card { width: min(440px, 100%) !important; }
}

/* v2.14.5 — center registration workspace against the actual browser viewport too. */
.gpm-auth:has(.gpm-auth-card-register) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9990;
  width: 100vw !important;
  height: 100vh;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 24px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-sizing: border-box;
  overflow: auto;
  background: #f5f7fa;
}
.gpm-auth:has(.gpm-auth-card-register) .gpm-auth-card.gpm-auth-card-register {
  margin: auto !important;
  flex: 0 0 auto;
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: 1180px !important;
}
@supports (height: 100svh) {
  .gpm-auth:has(.gpm-auth-card-register) { height: 100svh; min-height: 100svh !important; }
}
@media (max-width: 900px) {
  .gpm-auth:has(.gpm-auth-card-register) { padding: 16px !important; align-items: center !important; }
  .gpm-auth:has(.gpm-auth-card-register) .gpm-auth-card.gpm-auth-card-register {
    width: min(760px, calc(100vw - 32px)) !important;
  }
}
@media (max-width: 620px) {
  .gpm-auth:has(.gpm-auth-card-register) { padding: 10px !important; }
  .gpm-auth:has(.gpm-auth-card-register) .gpm-auth-card.gpm-auth-card-register {
    width: 100% !important;
    max-width: 520px !important;
  }
}

/* ==========================================================
 * 2.14.7 — Marketplace full-canvas responsive layout
 * Use the complete safe dashboard width beside the fixed sidebar while
 * keeping readable spacing and the existing mobile/tablet table behavior.
 * ======================================================== */
@media (min-width: 981px) {
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 250px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-view,
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-view > *,
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-marketplace {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-marketplace {
    padding: 24px !important;
  }
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-marketplace-table {
    font-size: 12px !important;
  }
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-marketplace-table th,
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-marketplace-table td {
    padding: 10px 8px !important;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace {
    width: 100% !important;
    max-width: none !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-view,
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-marketplace {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-marketplace {
    padding: 20px !important;
  }
}

@media (max-width: 640px) {
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace {
    width: 100% !important;
    max-width: none !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-view,
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-marketplace {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-marketplace {
    padding: 16px !important;
  }
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .gpm-card-title {
    font-size: 17px !important;
  }
  body.gpm-dashboard-page .gpm-wrap.gpm-section-marketplace .description {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}

/* 2.14.8 — Clear dropdown chevron on every front-end currency selector */
.gpm-wrap #gpm-marketplace-currency,
.gpm-wrap #gpm-price-currency,
.gpm-wrap select[name="price_currency"],
.gpm-wrap select[name="link_currency"],
.gpm-wrap select[id*="currency"],
.gpm-wrap select[name*="currency"] {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M2 2l5 5 5-5' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 14px 9px !important;
	padding-right: 38px !important;
	cursor: pointer !important;
}
.gpm-wrap #gpm-marketplace-currency::-ms-expand,
.gpm-wrap #gpm-price-currency::-ms-expand,
.gpm-wrap select[name="price_currency"]::-ms-expand,
.gpm-wrap select[name="link_currency"]::-ms-expand,
.gpm-wrap select[id*="currency"]::-ms-expand,
.gpm-wrap select[name*="currency"]::-ms-expand { display:none; }


/* 2.14.9 — Order category is a real marketplace-niche dropdown. */
#gpm-category {
  width: 100%;
  min-height: 46px;
  padding-right: 42px;
  cursor: pointer;
}

/* 2.16.0 — final paint guard + white-label helpers */
body.gpm-dashboard-page .gpm-wrap { visibility: visible !important; }
.gpm-brand-text { display:block; padding:14px 12px; text-align:center; color:#172033; font-size:17px; font-weight:800; line-height:1.25; overflow-wrap:anywhere; }
.gpm-brand-logo { max-width:100%; max-height:72px; width:auto; height:auto; object-fit:contain; }
.gpm-auth-site-logo { margin:0 0 14px; display:flex; align-items:center; }
.gpm-auth-site-logo img { display:block; max-width:180px; max-height:64px; width:auto; height:auto; object-fit:contain; }
