/**
 * AGPF — Player field DESIGNS (GamerHub for WooCommerce-er 5 ta design hubohu port).
 * Settings → Appearance → "Player fields design". "default" hole ei file load-i hoy na.
 * Shob selector .agpf-group.agpf-design-* er bhitore scoped — site-er onno kichute haat dey na.
 * GH class → AGPF class: .gh-card → .agpf-group, .gh-head/.gh-card-eyebrow → .agpf-group__header,
 * .gh-head-ic → .agpf-group__icon, .gh-body → .agpf-group__body, .gh-grid → .agpf-grid,
 * .gh-in/.gh-in-ic → .agpf-in/.agpf-in-ic, .gh-input → .agpf-input, .gh-verify-btn → .agpf-verify-btn.
 */

/* ════════════════ Common: grid (Classic + 4 styled) ════════════════ */
.agpf-group.agpf-design .agpf-field { margin: 0; min-width: 0; }
.agpf-group.agpf-design .agpf-grid > .agpf-field--hidden { display: none; }
.agpf-group.agpf-design .agpf-grid > .agpf-field--textarea,
.agpf-group.agpf-design .agpf-grid > .agpf-field--radio,
.agpf-group.agpf-design .agpf-grid > .agpf-field--checkbox,
.agpf-group.agpf-design .agpf-grid > .agpf-field--verify { grid-column: 1 / -1; }

/* ════════════════ 1) CLASSIC ════════════════ */
.agpf-group.agpf-design-classic {
	margin: 0 0 8px;
	background: #ffffff;
	border: 1.5px solid #A5B4FC;
	border-radius: 12px !important;
	box-shadow: 0 0 0 3px #EEF2FF;
	overflow: hidden;
}
.agpf-group.agpf-design-classic .agpf-group__header {
	position: relative;
	gap: 8px;
	padding: 12px 16px 24px;          /* 12 + 12px gol-kona strip */
	background: #2a1655;
	border-bottom: 0;
}
.agpf-group.agpf-design-classic .agpf-group__header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 12px;
	background: #ffffff;
	border-radius: 12px 12px 0 0;
	pointer-events: none;
}
.agpf-group.agpf-design-classic .agpf-group__icon { width: 24px; height: 24px; background: #6366f1; border: 2px solid #a78bfa; }
.agpf-group.agpf-design-classic .agpf-group__icon svg { width: 12px; height: 12px; }
.agpf-group.agpf-design-classic .agpf-group__title { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #ffffff; }
.agpf-group.agpf-design-classic .agpf-group__body { padding: 0 16px 12px; }
.agpf-group.agpf-design-classic .agpf-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
.agpf-group.agpf-design-classic .agpf-field__label {
	margin: 0 0 6px;
	padding: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: #374151;
}
.agpf-group.agpf-design-classic .agpf-input {
	height: 42px;
	padding: 0 12px !important;
	background-color: #ffffff;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	color: #111827;
	font-size: 14px;
	box-shadow: none;
}
.agpf-group.agpf-design-classic textarea.agpf-input { height: auto; min-height: 90px; padding: 10px 12px !important; }
.agpf-group.agpf-design-classic .agpf-input:focus { border-color: #6366f1 !important; box-shadow: none; }
.agpf-group.agpf-design-classic select.agpf-input {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.6' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 12px center;
	padding-right: 32px !important;
}
.agpf-group.agpf-design-classic .agpf-grid + .agpf-field--verify,
.agpf-group.agpf-design-classic .agpf-field--verify { margin-top: 16px; }
.agpf-group.agpf-design-classic .agpf-grid > .agpf-field--verify { margin-top: 4px; }
.agpf-group.agpf-design-classic .agpf-verify-btn {
	height: 38px !important;
	min-height: 38px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 1 !important;
	background-color: #f9fafb !important;
	color: #374151 !important;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}
.agpf-group.agpf-design-classic .agpf-verify-btn:hover:not(:disabled) { background-color: #f3f4f6 !important; }
.agpf-group.agpf-design-classic .agpf-verify-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(99, 102, 241, .30) !important; }
.agpf-group.agpf-design-classic .agpf-verify-result:not(:empty) { margin-top: 6px; }
@media (min-width: 768px) {
	.agpf-group.agpf-design-classic .agpf-grid:not(.is-single) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 14px;
		align-items: start;
	}
}
@media (max-width: 767px) {
	.agpf-group.agpf-design-classic .agpf-input { font-size: 16px; } /* iOS zoom bondho */
}
@media (max-width: 600px) {
	.agpf-group.agpf-design-classic { width: auto; max-width: none; margin: 0 -8px 8px; }
	.agpf-group.agpf-design-classic .agpf-group__header { padding: 12px 10px 24px; }
	.agpf-group.agpf-design-classic .agpf-group__body { padding: 0 10px 12px; }
}

/* ════════════════ STYLED designs — tokens ════════════════ */
/* A — Modern Filled */
.agpf-group.agpf-design-filled {
	--d-card-hl: #9D87F8;
	--d-card-ring: rgba(124, 92, 255, .10);
	--d-card-shadow: 0 4px 18px rgba(40, 22, 91, .08);
	--d-head-bg: linear-gradient(135deg, #28165B 0%, #351B78 55%, #5B2DE8 100%);
	--d-head-title: #FFFFFF;
	--d-head-sub: #D9D1FF;
	--d-ic-bg: rgba(124, 92, 255, .95);
	--d-ic-radius: 50%;
	--d-ic-ring: 0 0 0 3px rgba(255, 255, 255, .10);
	--d-ic-border: #A78BFA;
	--d-deco: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 74' preserveAspectRatio='xMaxYMid slice'%3E %3Cdefs%3E%3CradialGradient id='g' cx='1' cy='0' r='.9'%3E%3Cstop offset='0' stop-color='%239B7BFF' stop-opacity='.45'/%3E%3Cstop offset='1' stop-color='%239B7BFF' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E %3Crect width='280' height='74' fill='url(%23g)'/%3E %3Cpolygon points='128,74 176,0 190,0 142,74' fill='%238E6BFF' fill-opacity='.16'/%3E %3Cpolygon points='160,74 208,0 232,0 184,74' fill='%238E6BFF' fill-opacity='.24'/%3E %3Cpolygon points='204,74 252,0 268,0 220,74' fill='%23A58BFF' fill-opacity='.30'/%3E %3Cpolygon points='236,74 284,0 310,0 262,74' fill='%23B7A2FF' fill-opacity='.26'/%3E %3Cline x1='196' y1='74' x2='244' y2='0' stroke='%23FFFFFF' stroke-opacity='.18' stroke-width='1'/%3E %3C/svg%3E");
	--d-focus: #6D4AFF;
	--d-btn-bg: linear-gradient(135deg, #4F35E8 0%, #633BFF 55%, #8A3FFC 100%);
	--d-btn-bg-hover: linear-gradient(135deg, #432AD4 0%, #5831EA 55%, #7934E8 100%);
	--d-btn-bg-busy: linear-gradient(135deg, #6247E8 0%, #7552F3 55%, #8B5CF6 100%);
	--d-btn-shadow: 0 4px 12px rgba(91, 63, 230, .18);
	--d-btn-shadow-hover: 0 6px 16px rgba(91, 63, 230, .22);
	--d-howto: #FFFFFF;
}
/* B — Soft Modern */
.agpf-group.agpf-design-soft {
	--d-card-hl: #B9A8FB;
	--d-card-ring: rgba(139, 108, 255, .10);
	--d-card-shadow: 0 4px 18px rgba(79, 53, 232, .07);
	--d-head-bg: radial-gradient(120% 140% at 100% 0%, rgba(167, 139, 250, .28) 0%, rgba(167, 139, 250, 0) 55%), linear-gradient(135deg, #F3F0FF 0%, #ECE7FF 60%, #E6DFFF 100%);
	--d-head-title: #1E1450;
	--d-head-sub: #6E6893;
	--d-ic-bg: linear-gradient(135deg, #6D4AFF 0%, #8A63FF 100%);
	--d-ic-radius: 50%;
	--d-ic-ring: 0 4px 10px rgba(109, 74, 255, .25);
	--d-ic-border: #C4B5FD;
	--d-deco: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 74' preserveAspectRatio='xMaxYMid slice'%3E %3Cpath d='M96 0 C 132 30 196 50 280 54 L280 0 Z' fill='%23B9ABFF' fill-opacity='.16'/%3E %3Cpath d='M150 0 C 176 30 226 50 280 58 L280 0 Z' fill='%23A898FF' fill-opacity='.20'/%3E %3Cpath d='M188 0 C 204 22 236 36 280 40 L280 0 Z' fill='%23FFFFFF' fill-opacity='.30'/%3E %3Cpath d='M226 0 C 238 16 256 26 280 28 L280 0 Z' fill='%23B9ABFF' fill-opacity='.20'/%3E %3Cpath d='M150 74 C 206 70 250 58 280 34 L280 74 Z' fill='%23FFFFFF' fill-opacity='.42'/%3E %3C/svg%3E");
	--d-focus: #6D4AFF;
	--d-btn-bg: linear-gradient(135deg, #6A55F5 0%, #7B62FA 55%, #9170FF 100%);
	--d-btn-bg-hover: linear-gradient(135deg, #5C47EA 0%, #6D53F0 55%, #8360F5 100%);
	--d-btn-bg-busy: linear-gradient(135deg, #8472F7 0%, #907DFA 55%, #A08CFF 100%);
	--d-btn-shadow: 0 4px 12px rgba(106, 85, 245, .16);
	--d-btn-shadow-hover: 0 6px 16px rgba(106, 85, 245, .22);
	--d-howto: #1E1450;
}
/* C — Premium Refined */
.agpf-group.agpf-design-premium {
	--d-card-hl: #8B6CF6;
	--d-card-ring: rgba(109, 59, 240, .10);
	--d-card-shadow: 0 6px 22px rgba(60, 30, 140, .10);
	--d-head-bg: linear-gradient(135deg, #231252 0%, #2F1870 50%, #4A22B8 100%);
	--d-head-title: #FFFFFF;
	--d-head-sub: #CFC6F7;
	--d-ic-bg: linear-gradient(145deg, #9A88FF 0%, #6A4DF0 100%);
	--d-ic-radius: 11px;
	--d-ic-ring: inset 0 0 0 1px rgba(255, 255, 255, .22);
	--d-ic-border: #B8A6FF;
	--d-deco: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 74' preserveAspectRatio='xMaxYMid slice'%3E%3Cdefs%3E %3CradialGradient id='g' cx='.86' cy='.3' r='.6'%3E%3Cstop offset='0' stop-color='%23A78BFA' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%23A78BFA' stop-opacity='0'/%3E%3C/radialGradient%3E %3ClinearGradient id='f' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23C4B5FD' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23C4B5FD' stop-opacity='.24'/%3E%3C/linearGradient%3E %3C/defs%3E %3Crect width='280' height='74' fill='url(%23g)'/%3E %3Cpolygon points='140,74 196,0 214,0 158,74' fill='url(%23f)'/%3E %3Cpolygon points='170,74 226,0 262,0 206,74' fill='url(%23f)'/%3E %3Cline x1='164' y1='74' x2='220' y2='0' stroke='%23E9E3FF' stroke-opacity='.28' stroke-width='1'/%3E%3Cg transform='rotate(-14 250 40)'%3E%3Cg transform='translate(220 12) scale(1.25)' fill='%23C4B5FD' fill-opacity='.10' stroke='%23FFFFFF' stroke-opacity='0.3' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E %3Cpath d='M9 4h26c6.5 0 11 5 11.6 11.4l1.3 13.2c.5 5-5.5 8-9.2 4.6L33 28H11l-5.7 5.2C1.6 36.6-4.4 33.6-3.9 28.6L-2.6 15.4C-2 9 2.5 4 9 4z'/%3E %3Cpath d='M8 12v8M4 16h8'/%3E%3Ccircle cx='32' cy='13' r='1.6'/%3E%3Ccircle cx='36.5' cy='18' r='1.6'/%3E%3Cpath d='M19 13h6' stroke-opacity='0.21'/%3E%3C/g%3E%3C/g%3E%3Cpath d='M208 14.5 Q208 18 211.5 18 Q208 18 208 21.5 Q208 18 204.5 18 Q208 18 208 14.5Z' fill='%23FFFFFF' fill-opacity='0.7'/%3E%3Cpath d='M222 57.5 Q222 60 224.5 60 Q222 60 222 62.5 Q222 60 219.5 60 Q222 60 222 57.5Z' fill='%23FFFFFF' fill-opacity='0.5'/%3E%3C/svg%3E");
	--d-focus: #6D3BF0;
	--d-btn-bg: linear-gradient(90deg, #4338CA 0%, #6D3BF0 52%, #B03FE0 100%);
	--d-btn-bg-hover: linear-gradient(90deg, #3A30B5 0%, #5F31DB 52%, #9C34CC 100%);
	--d-btn-bg-busy: linear-gradient(90deg, #5D55D6 0%, #8160F2 52%, #BE68E6 100%);
	--d-btn-shadow: 0 6px 16px rgba(109, 59, 240, .22);
	--d-btn-shadow-hover: 0 8px 20px rgba(109, 59, 240, .28);
	--d-howto: #FFFFFF;
}
/* E — Soft Lavender */
.agpf-group.agpf-design-lavender {
	--d-card-hl: #BDB0FB;
	--d-card-ring: rgba(139, 108, 255, .10);
	--d-card-shadow: 0 8px 28px rgba(99, 82, 220, .10);
	--d-head-bg: transparent;
	--d-head-title: #1B1646;
	--d-head-sub: #5B54AE;
	--d-ic-bg: linear-gradient(145deg, #8E72FF 0%, #6D4AFF 100%);
	--d-ic-radius: 50%;
	--d-ic-ring: 0 6px 14px rgba(109, 74, 255, .28);
	--d-ic-border: #C4B5FD;
	--d-deco: none; /* asol wave chhobi niche sorasori background-image e (relative URL var() e bhorsajoggo na) */
	--d-focus: #6D4AFF;
	--d-btn-bg: linear-gradient(90deg, #6446FB 0%, #6C4EFC 50%, #8B6EFF 100%);
	--d-btn-bg-hover: linear-gradient(90deg, #5638F0 0%, #5F41F3 50%, #7C5EF8 100%);
	--d-btn-bg-busy: linear-gradient(90deg, #7D66FB 0%, #8670FC 50%, #A08BFF 100%);
	--d-btn-shadow: 0 8px 18px rgba(100, 70, 251, .22);
	--d-btn-shadow-hover: 0 10px 22px rgba(100, 70, 251, .28);
	--d-howto: #1B1646;
}

/* ════════════════ STYLED: card ════════════════ */
.agpf-group.agpf-styled {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0 0 14px;
	padding: 0;
	background: #FFFFFF;
	border: 1.5px solid var(--d-card-hl);
	border-radius: 14px !important;
	box-shadow: 0 0 0 3px var(--d-card-ring), var(--d-card-shadow);
	overflow: hidden;
	color: #111827;
	text-align: left;
}
.agpf-group.agpf-design-lavender {
	background: linear-gradient(180deg, #EEEBFD 0%, #F3F2FE 60%, #F5F4FE 100%);
	border-radius: 16px !important;
}

/* ════════════════ STYLED: header ════════════════ */
.agpf-group.agpf-styled .agpf-group__header {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 76px;               /* WCOPC/AVC maap: dekha jawa 64 + 12px shada strip */
	padding: 14px 18px 26px;
	background: var(--d-head-bg);
	border-bottom: 0;
	overflow: hidden;
	isolation: isolate;
}
/* Dan dike decorative accent — text-er niche, click dhore na */
.agpf-group.agpf-styled .agpf-group__header::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: clamp(150px, 50%, 300px);
	background-image: var(--d-deco);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: auto 100%;
	-webkit-mask-image: linear-gradient(to left, #000 55%, transparent);
	mask-image: linear-gradient(to left, #000 55%, transparent);
	pointer-events: none;
	z-index: -1;
}
/* Header-er niche shada gol-kona strip (Lavender baad) */
.agpf-group.agpf-styled:not(.agpf-design-lavender) .agpf-group__header::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 12px;
	background: #FFFFFF;
	border-radius: 12px 12px 0 0;
	pointer-events: none;
	z-index: 1;
}
.agpf-group.agpf-styled .agpf-group__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: var(--d-ic-radius);
	background: var(--d-ic-bg);
	box-shadow: var(--d-ic-ring);
	border: 2px solid var(--d-ic-border);
	color: #FFFFFF;
}
.agpf-group.agpf-styled .agpf-group__icon svg { width: 19px; height: 19px; }
.agpf-group.agpf-styled .agpf-group__head-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.agpf-group.agpf-styled .agpf-group__title {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--d-head-title);
}
.agpf-group.agpf-styled .agpf-group__sub { font-size: 12px; font-weight: 400; line-height: 1.25; color: var(--d-head-sub); }
/* "How to Order" pill — light header (Soft / Lavender) e dark lekha */
.agpf-group.agpf-styled .agpf-howto-btn,
.agpf-group.agpf-styled .agpf-howto-btn:hover { color: var(--d-howto); border-color: var(--d-howto); position: relative; z-index: 2; }
.agpf-group.agpf-design-soft .agpf-howto-btn,
.agpf-group.agpf-design-lavender .agpf-howto-btn { background: rgba(255, 255, 255, .55); border-color: rgba(30, 20, 80, .35); }
.agpf-group.agpf-design-soft .agpf-howto-btn:hover,
.agpf-group.agpf-design-lavender .agpf-howto-btn:hover { background: rgba(255, 255, 255, .85); }

/* Lavender header */
.agpf-group.agpf-design-lavender .agpf-group__header { min-height: 64px; padding: 14px 18px; gap: 12px; } /* strip nei — dekha jawa 64 */
.agpf-group.agpf-design-lavender .agpf-group__header::after {
	background-image: url("../img/lavender-wave.webp");
	width: auto;
	aspect-ratio: 453 / 237;
	background-size: 100% 100%;
	background-position: right top;
}
.agpf-group.agpf-design-lavender .agpf-group__icon { width: 36px; height: 36px; }
.agpf-group.agpf-design-lavender .agpf-group__icon svg { width: 19px; height: 19px; }
.agpf-group.agpf-design-lavender .agpf-group__title { font-size: 14px; }
.agpf-group.agpf-design-lavender .agpf-group__sub { font-size: 12px; font-weight: 400; }

/* ════════════════ STYLED: body + grid ════════════════ */
.agpf-group.agpf-styled .agpf-group__body { padding: 0 22px 22px; }
.agpf-group.agpf-design-lavender .agpf-group__body {
	background: #FFFFFF;
	border-radius: 14px 14px 0 0;
	padding: 12px 18px 20px;
	box-shadow: 0 -1px 0 rgba(109, 74, 255, .06);
}
.agpf-group.agpf-styled .agpf-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 18px;
}
.agpf-group.agpf-styled .agpf-grid.is-single { grid-template-columns: minmax(0, 1fr); }

/* Label */
.agpf-group.agpf-styled .agpf-field__label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: #111827;
	text-align: left;
}
.agpf-group.agpf-design-lavender .agpf-field__label { font-size: 14.5px; }
.agpf-group.agpf-styled .agpf-opt { margin-left: 2px; font-size: 12px; font-weight: 500; color: #8A91A3; }

/* Input + icon */
.agpf-group.agpf-styled .agpf-in { position: relative; display: block; width: 100%; }
.agpf-group.agpf-styled .agpf-in-ic {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	color: #59627A;
	pointer-events: none;
	z-index: 1;
}
.agpf-group.agpf-design-lavender .agpf-in-ic { left: 15px; }
.agpf-group.agpf-design-lavender .agpf-in-ic svg { width: 23px; height: 23px; }
.agpf-group.agpf-design-lavender .agpf-in-ic svg *,
.agpf-group.agpf-design-lavender .agpf-verify-btn svg * { stroke-width: 1.75; }
.agpf-group.agpf-styled .agpf-input {
	display: block;
	width: 100% !important;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 0 14px 0 14px !important;
	background-color: #FFFFFF;
	border: 1px solid #D5D9E5 !important;
	border-radius: 10px !important;
	box-shadow: none;
	color: #1F2937;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.agpf-group.agpf-styled .agpf-in .agpf-input { padding-left: 43px !important; }
.agpf-group.agpf-design-lavender .agpf-in .agpf-input { padding-left: 52px !important; font-size: 14.5px; }
.agpf-group.agpf-design-lavender .agpf-input { border-color: #DCE0EA !important; }
.agpf-group.agpf-styled textarea.agpf-input { height: auto; min-height: 96px; padding: 12px 14px !important; line-height: 1.45; }
.agpf-group.agpf-styled .agpf-input::placeholder { color: #8A91A3; font-weight: 400; opacity: 1; }
.agpf-group.agpf-design-lavender .agpf-input::placeholder { color: #6B7280; }
.agpf-group.agpf-styled .agpf-input:hover:not(:focus):not(:disabled):not([readonly]) { border-color: #B8B0E8 !important; }
.agpf-group.agpf-styled .agpf-input:focus {
	outline: none;
	border-color: var(--d-focus) !important;
	box-shadow: 0 0 0 3px rgba(109, 74, 255, .10);
}
.agpf-group.agpf-styled select.agpf-input {
	padding-right: 40px !important;
	cursor: pointer;
	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='M1.5 1.5l5.5 5.5 5.5-5.5' stroke='%2359627A' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
}
.agpf-group.agpf-styled select.agpf-input:has(option[value=""]:checked) { color: #8A91A3; font-weight: 400; }
.agpf-group.agpf-styled .agpf-field.has-error .agpf-input { border-color: #FCA5A5 !important; }

/* ════════════════ STYLED: Verify button ════════════════ */
.agpf-group.agpf-styled .agpf-grid + .agpf-field--verify,
.agpf-group.agpf-styled .agpf-field--verify { margin-top: 16px; }
.agpf-group.agpf-styled .agpf-grid > .agpf-field--verify { margin-top: 0; }
.agpf-group.agpf-styled .agpf-verify-btn,
.agpf-group.agpf-styled .agpf-verify-btn.is-ready {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100% !important;
	max-width: none !important;
	height: 42px !important;
	min-height: 42px !important;
	margin: 0;
	padding: 0 18px !important;
	border: 1px solid transparent !important;
	border-radius: 10px !important;
	background: var(--d-btn-bg) !important;
	color: #FFFFFF !important;
	box-shadow: var(--d-btn-shadow) !important;
	font-family: inherit;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: .1px;
	text-transform: none !important;
	text-decoration: none !important;
	opacity: 1;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.agpf-group.agpf-design-lavender .agpf-verify-btn,
.agpf-group.agpf-design-lavender .agpf-verify-btn.is-ready {
	height: 44px !important;
	min-height: 44px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
}
.agpf-group.agpf-styled .agpf-verify-btn:hover:not(:disabled) {
	background: var(--d-btn-bg-hover) !important;
	border-color: transparent !important;
	box-shadow: var(--d-btn-shadow-hover) !important;
	transform: translateY(-1px);
}
.agpf-group.agpf-styled .agpf-verify-btn:active:not(:disabled) { transform: translateY(0); box-shadow: var(--d-btn-shadow) !important; }
.agpf-group.agpf-styled .agpf-verify-btn:focus-visible {
	outline: none !important;
	box-shadow: var(--d-btn-shadow), 0 0 0 3px rgba(109, 74, 255, .30) !important;
}
.agpf-group.agpf-styled .agpf-verify-btn__icon,
.agpf-group.agpf-styled .agpf-verify-btn__spin,
.agpf-group.agpf-styled .agpf-verify-btn__ok { display: flex; flex-shrink: 0; color: inherit; }
.agpf-group.agpf-styled .agpf-verify-btn__icon svg { width: 18px; height: 18px; }
.agpf-group.agpf-design-lavender .agpf-verify-btn__icon svg,
.agpf-group.agpf-design-lavender .agpf-verify-btn__ok svg { width: 20px; height: 20px; }
.agpf-group.agpf-styled .agpf-verify-btn__spin,
.agpf-group.agpf-styled .agpf-verify-btn__ok,
.agpf-group.agpf-styled .agpf-verify-btn__spinner { display: none !important; }

/* Loading */
.agpf-group.agpf-styled .agpf-verify-btn.is-loading,
.agpf-group.agpf-styled .agpf-verify-btn.is-loading:hover {
	background: var(--d-btn-bg-busy) !important;
	box-shadow: var(--d-btn-shadow) !important;
	transform: none;
	opacity: 1;
	cursor: progress;
	font-weight: 600 !important;
}
.agpf-group.agpf-styled .agpf-verify-btn.is-loading .agpf-verify-btn__icon { display: none; }
.agpf-group.agpf-styled .agpf-verify-btn.is-loading .agpf-verify-btn__spin { display: flex !important; animation: agpf-spin .85s linear infinite; }

/* Verified — shobuj */
.agpf-group.agpf-styled .agpf-verify-btn.is-verified,
.agpf-group.agpf-styled .agpf-verify-btn.is-verified:hover:not(:disabled) {
	background: #ECFDF3 !important;
	border-color: #86EFAC !important;
	color: #15803D !important;
	box-shadow: none !important;
	transform: none;
}
.agpf-group.agpf-styled .agpf-verify-btn.is-verified .agpf-verify-btn__icon { display: none; }
.agpf-group.agpf-styled .agpf-verify-btn.is-verified .agpf-verify-btn__ok { display: flex !important; }


/* Result card (shudhu chehara) */
.agpf-group.agpf-styled .agpf-verify-result:not(:empty) { margin-top: 12px; }
.agpf-group.agpf-styled .agpf-result-card { border-radius: 10px; }
.agpf-group.agpf-styled .agpf-result-card--success { background: #ECFDF3; border-color: #BBF7D0; }
.agpf-group.agpf-styled .agpf-result-card--success .agpf-result-card__icon { background: #16A34A; color: #FFFFFF; }
.agpf-group.agpf-styled .agpf-result-card--success .agpf-result-card__title { color: #15803D; }

/* ════════════════ STYLED: mobile ≤767px (ek line-e ek field) ════════════════ */
@media (max-width: 767px) {
	.agpf-group.agpf-styled { margin: 0 0 12px; border-radius: 12px !important; }
	.agpf-group.agpf-design-lavender { border-radius: 14px !important; }
	.agpf-group.agpf-styled .agpf-group__header { min-height: 70px; padding: 12px 16px 24px; gap: 11px; } /* dekha jawa 58 + 12 strip */
	.agpf-group.agpf-styled .agpf-group__header::after { width: clamp(80px, 26%, 140px); }
	.agpf-group.agpf-styled .agpf-group__icon { width: 32px; height: 32px; }
	.agpf-group.agpf-styled .agpf-group__icon svg { width: 17px; height: 17px; }
	.agpf-group.agpf-styled .agpf-group__title { font-size: 13px; }
	.agpf-group.agpf-styled .agpf-group__sub { font-size: 11.5px; }
	.agpf-group.agpf-styled .agpf-group__body { padding: 0 16px 16px; }
	.agpf-group.agpf-styled .agpf-grid { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
	.agpf-group.agpf-styled .agpf-field__label { font-size: 13px; margin-bottom: 7px; }
	.agpf-group.agpf-styled .agpf-input { height: 46px; min-height: 46px; font-size: 16px; } /* 16px: iOS zoom bondho */
	.agpf-group.agpf-styled textarea.agpf-input { height: auto; }
	.agpf-group.agpf-styled .agpf-field--verify { margin-top: 14px; }
	.agpf-group.agpf-styled .agpf-verify-btn { font-size: 14px !important; }

	.agpf-group.agpf-design-lavender .agpf-group__header { min-height: 58px; padding: 12px 16px; gap: 11px; }
	.agpf-group.agpf-design-lavender .agpf-group__header::after { width: auto; }
	.agpf-group.agpf-design-lavender .agpf-group__icon { width: 32px; height: 32px; }
	.agpf-group.agpf-design-lavender .agpf-group__icon svg { width: 17px; height: 17px; }
	.agpf-group.agpf-design-lavender .agpf-group__title { font-size: 13px; }
	.agpf-group.agpf-design-lavender .agpf-group__sub { font-size: 11.5px; }
	.agpf-group.agpf-design-lavender .agpf-group__body { padding: 12px 16px 18px; }
	.agpf-group.agpf-design-lavender .agpf-field__label { font-size: 13.5px; }
	.agpf-group.agpf-design-lavender .agpf-in .agpf-input,
	.agpf-group.agpf-design-lavender .agpf-input { font-size: 16px; } /* iOS zoom bondho */
	.agpf-group.agpf-design-lavender .agpf-verify-btn,
	.agpf-group.agpf-design-lavender .agpf-verify-btn.is-ready { height: 42px !important; min-height: 42px !important; font-size: 15px !important; }
}

/* ════════════════ Phone ≤600px: Classic-er moto dui pashe choura ════════════════ */
@media (max-width: 600px) {
	.agpf-group.agpf-styled { width: auto; max-width: none; margin: 0 -9px 10px; }
	.agpf-group.agpf-styled .agpf-group__header { padding-left: 16px; padding-right: 16px; } /* WCOPC/AVC er moto */
	.agpf-group.agpf-styled .agpf-group__body { padding: 0 10px 12px; }
	.agpf-group.agpf-design-lavender .agpf-group__body { padding: 12px 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.agpf-group.agpf-styled .agpf-verify-btn,
	.agpf-group.agpf-styled .agpf-input { transition: none; }
	.agpf-group.agpf-styled .agpf-verify-btn:hover:not(:disabled) { transform: none; }
	.agpf-group.agpf-styled .agpf-verify-btn.is-loading .agpf-verify-btn__spin { animation-duration: 1.6s; }
}

/* Required "*" — GH-er moto label-er sathe (AGPF default-e extra 2px margin chilo) */
.agpf-group.agpf-design .agpf-req { margin-left: 0; }

/* Halka header (Soft / Lavender) — keyboard focus ring dark, jate dekha jay (gol, box-shadow) */
.agpf-group.agpf-design-soft .agpf-howto-btn:focus-visible,
.agpf-group.agpf-design-lavender .agpf-howto-btn:focus-visible { box-shadow: 0 0 0 2px rgba(30, 20, 80, .35) !important; }

/* ════════════════ STYLED: Radio option card tile (icon bame, nam dane) ════════════════
   Desktop/tablet: ek line-e 3 ta (2 option hole 2 ta). Phone: ek line-e 2 ta.
   Asol radio input lukano thake (JS/conditional/cart ager moto); keyboard focus-e gol ring. */
.agpf-group.agpf-styled .agpf-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}
.agpf-group.agpf-styled .agpf-tiles[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.agpf-group.agpf-styled .agpf-tiles[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.agpf-group.agpf-styled .agpf-tile {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 0 32px 0 9px;
	background: #FFFFFF;
	border: 1.5px solid #D5D9E5;
	border-radius: 12px;
	color: #1F2937;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.agpf-group.agpf-styled .agpf-tile:hover { border-color: #B8B0E8; }
.agpf-group.agpf-styled .agpf-tile__input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0;
}
.agpf-group.agpf-styled .agpf-tile__ic {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;            /* default: circle */
	background: #F3F0FF;
	color: #5B3FD6;
	overflow: hidden;
	transition: background .15s ease, color .15s ease;
}
.agpf-group.agpf-styled .agpf-tile__ic svg { width: 16px; height: 16px; }
.agpf-group.agpf-styled .agpf-tiles.is-square .agpf-tile__ic { border-radius: 8px; } /* admin: Square (rounded) */
.agpf-group.agpf-styled .agpf-tile__ic.is-img { background: #FFFFFF; border: 1px solid #ECEAF5; }
.agpf-group.agpf-styled .agpf-tile__ic img { display: block; width: 18px; height: 18px; object-fit: contain; }
.agpf-group.agpf-styled .agpf-tile__name {
	min-width: 0;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.agpf-group.agpf-styled .agpf-tile__dot svg { width: 10px; height: 10px; }
.agpf-group.agpf-styled .agpf-tile__dot {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border: 2px solid #CBD5E1;
	border-radius: 50%;
	color: transparent;
	transition: background .15s ease, border-color .15s ease;
}
/* Selected — :has() + JS-er .is-checked (purono browser-er fallback) */
.agpf-group.agpf-styled .agpf-tile:has(.agpf-tile__input:checked),
.agpf-group.agpf-styled .agpf-tile.is-checked {
	border-color: var(--d-focus);
	background: #FAF7FF;
	box-shadow: 0 0 0 3px rgba(109, 74, 255, .10);
}
.agpf-group.agpf-styled .agpf-tile:has(.agpf-tile__input:checked) .agpf-tile__ic:not(.is-img),
.agpf-group.agpf-styled .agpf-tile.is-checked .agpf-tile__ic:not(.is-img) {
	background: var(--d-ic-bg);
	color: #FFFFFF;
}
.agpf-group.agpf-styled .agpf-tile:has(.agpf-tile__input:checked) .agpf-tile__name,
.agpf-group.agpf-styled .agpf-tile.is-checked .agpf-tile__name { color: #4C1D95; }
.agpf-group.agpf-styled .agpf-tile:has(.agpf-tile__input:checked) .agpf-tile__dot,
.agpf-group.agpf-styled .agpf-tile.is-checked .agpf-tile__dot {
	background: var(--d-focus);
	border-color: var(--d-focus);
	color: #FFFFFF;
}
.agpf-group.agpf-styled .agpf-tile:has(.agpf-tile__input:focus-visible) {
	box-shadow: 0 0 0 3px rgba(109, 74, 255, .30) !important;
}
.agpf-group.agpf-styled .agpf-field.has-error .agpf-tile { border-color: #FCA5A5; }

@media (max-width: 767px) {
	.agpf-group.agpf-styled .agpf-tiles,
	.agpf-group.agpf-styled .agpf-tiles[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.agpf-group.agpf-styled .agpf-tile { height: 44px; gap: 8px; padding: 0 28px 0 8px; }
	.agpf-group.agpf-styled .agpf-tile__ic { width: 26px; height: 26px; }
	.agpf-group.agpf-styled .agpf-tiles.is-square .agpf-tile__ic { border-radius: 7px; }
	.agpf-group.agpf-styled .agpf-tile__ic svg { width: 15px; height: 15px; }
	.agpf-group.agpf-styled .agpf-tile__ic img { width: 16px; height: 16px; }
	.agpf-group.agpf-styled .agpf-tile__name { font-size: 13px; }
	.agpf-group.agpf-styled .agpf-tile__dot { width: 15px; height: 15px; right: 9px; }
}

/* Header-er niche shada strip ar body-r majhe hairline (purple dag) fix:
   phone-er fractional DPR (1.5 / 2.625 / 2.75) e strip ar header-er nicher kinara
   pixel-e mele na, tai header-er rong 1px dekha jeto. Body 1px upore uthe shada
   background diye oi jayga dheke dey — dekhte kono parthokko nei. */
.agpf-group.agpf-styled:not(.agpf-design-lavender) .agpf-group__body {
	position: relative;
	z-index: 2;
	margin-top: -1px;
	padding-top: 1px;
	background: #FFFFFF;
}
