/* ==========================================================================
   হেলথ মেম্বারশিপ কার্ড — pages, card, verify, account space (tone: teal)
   ========================================================================== */
:root{--fbm-teal:#0E7490;--fbm-teal-dark:#155E75;--fbm-teal-soft:#ECFEFF;--fbm-navy:#1E3A8A;--fbm-gold:#D97706}
.fbm-wrap,.fbm-wrap *{box-sizing:border-box}
.fbm-wrap{width:100%;max-width:1040px;margin:0 auto;padding:26px 22px 56px}
.fbm-wrap h1,.fbm-wrap h2,.fbm-wrap h3{margin:0;line-height:1.3}
.fbm-muted{color:var(--wfb-muted)}
.fbm-center{text-align:center}
.fbm-preview-note{margin:0 0 14px;padding:10px 14px;border-radius:12px;background:var(--wfb-blue-soft);color:var(--wfb-blue-dark);font-size:14.5px}

/* Hero */
.fbm-hero{position:relative;padding:30px 32px;border-radius:22px;color:#fff;background:radial-gradient(120% 140% at 100% 0%,rgba(14,116,144,.55) 0%,transparent 55%),linear-gradient(135deg,var(--wfb-blue-dark),var(--wfb-blue));box-shadow:var(--wfb-shadow-lg);overflow:hidden;text-align:center}
.fbm-hero:after{content:"✚";position:absolute;right:20px;bottom:-40px;font-size:200px;line-height:1;opacity:.07}
.fbm-hero.is-small{padding:24px}
.fbm-eyebrow{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.16);font-size:13.5px;font-weight:600}
.fbm-hero h1{margin:10px 0 6px !important;color:#fff !important;font-size:clamp(24px,3vw,34px)}
.fbm-hero p{margin:0 auto;max-width:620px;color:rgba(255,255,255,.88);font-size:15.5px;line-height:1.6}
.fbm-hero-link{display:inline-block;margin-top:14px;padding:8px 16px;border-radius:12px;background:rgba(255,255,255,.15);border:1.5px solid rgba(255,255,255,.45);color:#fff !important;font-weight:700;text-decoration:none !important}

/* Steps */
.fbm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 !important;padding:0 !important;list-style:none !important}
.fbm-steps li{display:flex;align-items:center;gap:10px;margin:0 !important;padding:12px;border:1px solid var(--wfb-line);border-radius:14px;background:#fff;font-weight:600;font-size:14px;color:var(--wfb-muted)}
.fbm-steps b{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--wfb-gray);color:var(--wfb-muted)}
.fbm-steps li.is-on{color:var(--wfb-text);border-color:color-mix(in srgb,var(--fbm-teal) 40%,var(--wfb-line))}
.fbm-steps li.is-on b{background:var(--fbm-teal);color:#fff}

.fbm-card-box{margin-bottom:18px;padding:22px;border:1px solid var(--wfb-line);border-radius:20px;background:#fff;box-shadow:var(--wfb-shadow)}
.fbm-card-box[hidden]{display:none !important}
.fbm-h2{margin:0 0 14px !important;font-size:20px !important}

/* Form */
.fbm-form-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:start}
.fbm-fields{display:grid;gap:2px;min-width:0}
.fbm-photo{position:relative;display:block;width:100%;aspect-ratio:3/4;margin:6px 0 4px;border:2px dashed color-mix(in srgb,var(--fbm-teal) 45%,var(--wfb-line));border-radius:16px;background:var(--fbm-teal-soft);cursor:pointer;overflow:hidden}
.fbm-photo img{position:absolute;inset:0;width:100% !important;height:100% !important;object-fit:cover}
.fbm-photo.has-img{border-style:solid}
.fbm-photo-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px;color:var(--fbm-teal-dark);text-align:center}
.fbm-photo.has-img .fbm-photo-empty{inset:auto 0 0 0;flex-direction:row;padding:6px;background:rgba(17,24,39,.55);color:#fff}
.fbm-photo.has-img .fbm-photo-empty svg,.fbm-photo.has-img .fbm-photo-empty small{display:none}
.fbm-photo.has-img .fbm-photo-empty b:after{content:" বদলান"}
.fbm-photo.has-img .fbm-photo-empty b{font-size:0}
.fbm-photo.has-img .fbm-photo-empty b:after{font-size:13px}
.fbm-photo-empty small{font-size:12px;color:var(--wfb-muted)}
.fbm-photo.is-invalid{border-color:var(--wfb-red)}
.fbm-opt{font-weight:500;color:var(--wfb-muted);font-size:12px}
.fbm-loc .wfb-loc-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fbm-form .is-invalid{border-color:var(--wfb-red) !important;box-shadow:0 0 0 3px var(--wfb-red-soft) !important}
.fbm-form input[readonly]{background:var(--wfb-gray) !important;color:var(--wfb-muted)}

/* Packages */
.fbm-pkgs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.fbm-pkg{position:relative;display:flex;flex-direction:column;gap:12px;padding:20px;border:1.5px solid var(--wfb-line);border-radius:18px;background:#fff;overflow:hidden}
.fbm-pkg.is-best{border-color:var(--wfb-red);box-shadow:0 10px 30px color-mix(in srgb,var(--wfb-red) 14%,transparent)}
.fbm-pkg-flag{position:absolute;top:14px;right:-30px;transform:rotate(35deg);padding:3px 36px;background:var(--wfb-red);color:#fff;font-size:12px;font-weight:800}
.fbm-pkg-name{font-size:16px;font-weight:800;color:var(--fbm-teal-dark)}
.fbm-pkg-price strong{display:block;font-size:34px;font-weight:800;line-height:1.1}
.fbm-pkg-price span{color:var(--wfb-muted);font-size:13.5px}
.fbm-pkg-list{margin:0 !important;padding:0 !important;list-style:none !important;display:grid;gap:6px}
.fbm-pkg-list li{position:relative;margin:0 !important;padding-left:24px;font-size:14.5px}
.fbm-pkg-list li:before{content:"✓";position:absolute;left:0;top:2px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--fbm-teal-soft);color:var(--fbm-teal-dark);font-size:11px;font-weight:800}
.fbm-pkg .wfb-btn{margin-top:auto}
.fbm-pay-note{margin:12px 0 0;color:var(--wfb-muted);font-size:13.5px;text-align:center}

.fbm-have{display:flex;align-items:center;gap:16px;margin:18px 0;padding:18px 20px;border-radius:18px;background:#fff;border:1px solid var(--wfb-line)}
.fbm-have-main{flex:1;min-width:0}
.fbm-have h3{margin:6px 0 2px !important;font-size:18px}
.fbm-have p{margin:0;color:var(--wfb-muted)}
.fbm-status{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12.5px;font-weight:700;background:var(--wfb-gray)}
.fbm-status.is-active{background:#DCFCE7;color:#166534}
.fbm-status.is-expired{background:#FEE2E2;color:#991B1B}
.fbm-status.is-suspended{background:#111827;color:#fff}

/* Account */
.fbm-banner{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 16px;padding:12px 16px;border-radius:14px;background:var(--wfb-gray);font-size:14.5px}
.fbm-banner b{padding:2px 10px;border-radius:999px;background:#fff}
.fbm-banner a{margin-left:auto;font-weight:600}
.fbm-banner.is-active{background:#ECFDF5;color:#166534}
.fbm-banner.is-expired{background:#FEF2F2;color:#991B1B}
.fbm-banner.is-suspended{background:#111827;color:#fff}
.fbm-banner.is-unpaid{background:#FFFBEB;color:#92400E}
.fbm-card-area{display:flex;justify-content:center;padding:6px 0}
.fbm-card-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:16px 0 8px}
.fbm-empty{padding:30px;text-align:center;border:1.5px dashed var(--wfb-line);border-radius:18px;background:#fff}
.fbm-empty-ico,.fbm-thanks-ico{font-size:42px;line-height:1}
.fbm-empty h3,.fbm-thanks h3{margin:10px 0 6px !important}
.fbm-empty p,.fbm-thanks p{color:var(--wfb-muted);margin:0 0 14px}
.fbm-thanks{max-width:560px;margin:0 auto 24px;padding:26px;border:1px solid var(--wfb-line);border-radius:20px;background:#fff;text-align:center;box-shadow:var(--wfb-shadow)}
.fbb-space-card.is-teal:before{background:var(--fbm-teal)}
.is-teal > .fbb-space-top .fbb-space-ico{background:var(--fbm-teal-soft);color:var(--fbm-teal)}
.fbb-space-banner.is-teal{background:linear-gradient(135deg,var(--fbm-teal),var(--fbm-teal-dark))}
.fbb-mod-dot.is-teal{background:var(--fbm-teal)}
.wfb-acc-side.in-space.is-teal .wfb-acc-nav li.is-active a{background:var(--fbm-teal) !important;border-color:var(--fbm-teal) !important}
.wfb-acc-side.in-space.is-teal .wfb-acc-back{background:var(--fbm-teal-soft);color:var(--fbm-teal-dark) !important}

/* ==========================================================================
   The card — ID-card (CR80, 85.6 × 54 mm) ratio: fixed 1012 × 638 design,
   scaled on screen, drawn 1:1 for the PDF/PNG.
   ========================================================================== */
.fbm-card-scale{position:relative;margin:0 auto;max-width:100%}
.fbm-card{position:absolute;top:0;left:0;width:1012px;height:638px;transform-origin:0 0;border-radius:34px;background:#fff;overflow:hidden;color:#111827;box-shadow:0 18px 50px rgba(17,24,39,.18);border:1px solid #E5E7EB;font-family:var(--wfb-font,"Hind Siliguri"),"Noto Sans Bengali",sans-serif;line-height:1.3;text-align:left}
.fbm-card *{box-sizing:border-box}
.fbm-c-bg{position:absolute;inset:0;background:radial-gradient(320px 260px at 100% 0%,#DBEAFE 0%,rgba(219,234,254,0) 70%),radial-gradient(260px 240px at 0% 70%,#FEE2E2 0%,rgba(254,226,226,0) 70%)}
/* header: logo · brand · badge — the brand never runs into the badge */
.fbm-c-top{position:absolute;top:16px;left:30px;right:30px;height:104px;display:flex;align-items:center;gap:18px}
.fbm-c-logo{flex:none;width:92px;height:100px;display:flex;align-items:center;justify-content:center}
.fbm-c-logo img{max-width:92px !important;max-height:100px !important;width:auto !important;height:auto !important}
.fbm-c-logo span{display:flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:20px;background:#1D4ED8;color:#fff;font-size:38px;font-weight:800}
.fbm-c-brand{flex:1 1 auto;min-width:0;padding-right:16px;overflow:hidden}
.fbm-c-brand strong{display:block;font-size:46px;font-weight:900;letter-spacing:1px;color:#1D4ED8;line-height:1.02;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Arial,Helvetica,sans-serif}
.fbm-c-brand strong span{color:#111827}
.fbm-c-brand small{display:block;margin-top:6px;font-size:19px;color:#111827;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fbm-c-badge{position:relative;flex:none;width:96px;height:110px;text-align:center}
.fbm-c-badge svg{position:absolute;inset:0;width:96px;height:110px}
.fbm-c-stars{position:absolute;top:17px;left:0;right:0;color:#FBBF24;font-size:11px;letter-spacing:1px}
.fbm-c-badge b{position:absolute;top:35px;left:10px;right:10px;color:#FDE68A;font-size:12.5px;font-weight:800;line-height:1.15;font-family:Arial,Helvetica,sans-serif}
.fbm-c-badge em{position:absolute;bottom:21px;left:17px;right:17px;padding:1px 0;border-radius:999px;background:#FDE68A;color:#1E3A8A;font-style:normal;font-size:11.5px;font-weight:800}
.fbm-c-title{position:absolute;top:128px;left:30px;right:30px;height:42px;border-radius:13px;background:linear-gradient(90deg,#DC2626,#B91C1C);color:#fff;font-size:22px;font-weight:800;text-align:center;line-height:42px}
/* middle: photo · info · QR */
.fbm-c-mid{position:absolute;top:184px;left:30px;right:30px;height:252px;display:flex;gap:24px;overflow:hidden}
.fbm-c-photo{flex:none;width:190px;height:252px;padding:6px;border-radius:20px;background:linear-gradient(135deg,#1D4ED8,#DC2626)}
.fbm-c-photo div{width:100%;height:100%;border-radius:15px;background:#F3F4F6 center/cover no-repeat}
.fbm-c-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:9px}
.fbm-c-row{padding-bottom:7px;border-bottom:1.5px dashed #CBD5E1}
.fbm-c-row span{display:block;font-size:15px;color:#4B5563;font-weight:600}
.fbm-c-row b{display:block;margin-top:1px;font-size:23px;font-weight:700;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fbm-c-qr{flex:none;align-self:center;width:176px;padding:12px 12px 10px;border:2px solid #DC2626;border-radius:18px;background:#fff;text-align:center}
.fbm-c-qr img{display:block;width:146px !important;height:146px !important;margin:0 auto}
.fbm-c-qr span{display:inline-block;margin-top:6px;padding:2px 10px;border-radius:999px;background:#DC2626;color:#fff;font-size:12px;font-weight:800;font-family:Arial,Helvetica,sans-serif}
/* ID + barcode side by side — no gap above the barcode */
.fbm-c-codes{position:absolute;top:448px;left:30px;right:30px;height:92px;display:flex;align-items:center;gap:20px;padding:0 18px;border:2px solid #1E3A8A;border-radius:18px;background:#fff;overflow:hidden}
.fbm-c-id{flex:none;display:flex;flex-direction:column;gap:5px}
.fbm-c-id span{align-self:flex-start;padding:3px 12px;border-radius:999px;background:#1E3A8A;color:#fff;font-size:13.5px;font-weight:700}
.fbm-c-id strong{font-size:38px;font-weight:800;color:#111827;letter-spacing:1px;font-family:Arial,Helvetica,sans-serif;line-height:1}
.fbm-c-bar{display:block;flex:1 1 auto;min-width:0;width:100% !important;height:66px !important;object-fit:fill}
/* footer band */
.fbm-c-bottom{position:absolute;left:0;right:0;bottom:0;height:86px;padding:6px 30px 0;display:flex;align-items:center;gap:26px;background:linear-gradient(120deg,#1E3A8A,#1D4ED8);border-top:6px solid #DC2626;color:#fff}
.fbm-c-bottom small{display:block;font-size:13px;opacity:.8;font-family:Arial,Helvetica,sans-serif}
.fbm-c-bottom b{display:block;font-size:22px;font-weight:800;font-family:Arial,Helvetica,sans-serif;white-space:nowrap}
.fbm-c-note{flex:1;min-width:0;margin:0 !important;font-size:13.5px;line-height:1.4;opacity:.92;text-align:center}
.fbm-c-site{flex:none;font-size:16px;font-weight:700;opacity:.95;font-family:Arial,Helvetica,sans-serif}
.fbm-card.is-expired:after,.fbm-card.is-suspended:after{content:"EXPIRED";position:absolute;top:250px;left:300px;padding:8px 26px;border:5px solid #DC2626;border-radius:12px;color:#DC2626;font-size:56px;font-weight:900;transform:rotate(-14deg);opacity:.85;font-family:Arial,Helvetica,sans-serif;background:rgba(255,255,255,.75)}
.fbm-card.is-suspended:after{content:"SUSPENDED";left:250px}
.fbm-card img{max-width:none}

/* ==========================================================================
   Verify page
   ========================================================================== */
.fbm-verify{max-width:720px}
.fbm-vform{display:flex;gap:8px;margin:18px 0 10px}
.fbm-vform input{flex:1;min-width:0}
.fbm-vform .wfb-btn{flex:none}
.fbm-vres{margin:18px 0 10px;border-radius:20px;overflow:hidden;border:2px solid var(--wfb-line);background:#fff;box-shadow:var(--wfb-shadow)}
.fbm-vres-head{padding:14px 18px;font-size:19px;font-weight:800;color:#fff;background:#6B7280}
.fbm-vres.is-active{border-color:#16A34A}
.fbm-vres.is-active .fbm-vres-head{background:#16A34A}
.fbm-vres.is-expired,.fbm-vres.is-none{border-color:#DC2626}
.fbm-vres.is-expired .fbm-vres-head,.fbm-vres.is-none .fbm-vres-head{background:#DC2626}
.fbm-vres.is-suspended .fbm-vres-head{background:#111827}
.fbm-vres.is-none p{margin:0;padding:14px 18px;color:var(--wfb-muted)}
.fbm-vres-body{display:flex;gap:18px;padding:18px}
.fbm-vres-photo{flex:none;width:120px;height:160px;border-radius:14px;background:#F3F4F6 center/cover no-repeat;border:3px solid #E5E7EB}
.fbm-vres dl{flex:1;min-width:0;display:grid;gap:8px;margin:0 !important}
.fbm-vres dl div{display:flex;gap:10px;justify-content:space-between;padding-bottom:6px;border-bottom:1px dashed var(--wfb-line)}
.fbm-vres dt{color:var(--wfb-muted);font-size:14px}
.fbm-vres dd{margin:0 !important;font-weight:700;text-align:right}
.fbm-vres-foot{display:block;padding:0 18px 14px;color:var(--wfb-muted);font-size:12.5px}
.fbm-forgot{margin:10px 0 18px;padding:12px 16px;border:1px solid var(--wfb-line);border-radius:14px;background:#fff}
.fbm-forgot summary{cursor:pointer;font-weight:700;color:var(--wfb-blue)}
.fbm-lookup-grid{display:grid;grid-template-columns:1fr auto;gap:8px}
.fbm-found-list{margin:0 0 6px !important;padding:0 !important;list-style:none !important}
.fbm-found-list li{margin:0 0 4px !important}
.fbm-lookup-out{margin-top:10px}
.fbm-found{padding:12px 14px;border-radius:12px;background:#ECFDF5;color:#166534;line-height:1.7}

@media (max-width:760px){
	.fbm-wrap{padding:14px 14px 40px}
	.fbm-hero{padding:22px 16px;border-radius:18px}
	.fbm-hero h1{font-size:23px}
	.fbm-steps li{flex-direction:column;gap:4px;padding:10px 6px;text-align:center;font-size:12.5px}
	.fbm-steps b{width:26px;height:26px}
	.fbm-card-box{padding:16px;border-radius:16px}
	.fbm-form-grid{grid-template-columns:120px minmax(0,1fr);gap:14px}
	.fbm-loc .wfb-loc-group{grid-template-columns:1fr}
	.fbm-pkgs{grid-template-columns:1fr}
	.fbm-have{flex-direction:column;align-items:stretch;text-align:center}
	.fbm-vres-body{flex-direction:column;align-items:center}
	.fbm-vres dl{width:100%}
	.fbm-lookup-grid{grid-template-columns:1fr}
	.fbm-card-actions .wfb-btn{flex:1 1 100%}
}
@media (max-width:420px){
	.fbm-form-grid{grid-template-columns:1fr}
	.fbm-photo-col{max-width:180px;margin:0 auto}
}


/* =========================================================
   v2.17 — পার্টনার প্রতিষ্ঠান (list + single)
   ========================================================= */
.fbm-btn-teal{background:var(--fbm-teal) !important;border-color:var(--fbm-teal) !important;color:#fff !important}
.fbm-btn-teal:hover{background:var(--fbm-teal-dark) !important;border-color:var(--fbm-teal-dark) !important}
.fbp-wrap,.fbp-single{max-width:1180px}
.fbp-search{display:flex;align-items:center;gap:8px;max-width:620px;margin:18px auto 0;padding:6px 6px 6px 14px;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.18)}
.fbp-search-ico{display:flex;color:#64748B}
.fbp-search-ico svg{width:20px;height:20px}
.fbp-search input{flex:1;min-width:0;height:44px;border:0 !important;outline:0;background:transparent !important;box-shadow:none !important;font-size:15.5px;color:var(--wfb-text)}
.fbp-search .wfb-btn{flex:none;height:44px;padding:0 20px;border-radius:12px}
.fbp-types .fbu-cat.is-active{background:var(--fbm-teal) !important;border-color:var(--fbm-teal) !important;color:#fff !important}
.fbp-types .fbu-cat:hover:not(.is-active){border-color:var(--fbm-teal) !important;color:var(--fbm-teal-dark) !important}

.fbp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;margin-top:8px}
.fbp-card{display:flex;flex-direction:column;border:1px solid var(--wfb-line);border-radius:18px;background:#fff;overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}
.fbp-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(15,23,42,.10);border-color:color-mix(in srgb,var(--fbm-teal) 35%,var(--wfb-line))}
.fbp-card-media{position:relative;display:block;aspect-ratio:16/10;background:var(--fbm-teal-soft);overflow:hidden}
.fbp-card-media > img{position:absolute;inset:0;width:100% !important;height:100% !important;object-fit:cover;transition:transform .35s}
.fbp-card:hover .fbp-card-media > img{transform:scale(1.04)}
.fbp-noimg{position:absolute;inset:0;display:grid;place-items:center;font-size:56px}
.fbp-badge{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;align-items:center;padding:7px 11px;border-radius:14px;background:var(--wfb-red);color:#fff;line-height:1.05;box-shadow:0 6px 16px rgba(220,38,38,.35)}
.fbp-badge b{font-size:20px;font-weight:800}
.fbp-badge small{font-size:10.5px;font-weight:600;opacity:.95}
.fbp-card-body{display:flex;flex-direction:column;gap:12px;flex:1;padding:14px 16px 16px}
.fbp-card-head{display:flex;align-items:center;gap:11px}
.fbp-logo{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:12px;border:1px solid var(--wfb-line);background:#fff;overflow:hidden}
.fbp-logo img{width:100% !important;height:100% !important;object-fit:contain;padding:3px}
.fbp-logo.is-icon{font-size:24px;background:var(--fbm-teal-soft);border-color:transparent}
.fbp-card-title{margin:0 !important;font-size:16.5px !important;line-height:1.35 !important}
.fbp-card-title a{color:var(--wfb-text) !important;text-decoration:none !important}
.fbp-card-title a:hover{color:var(--fbm-teal-dark) !important}
.fbp-type{display:inline-block;margin-top:2px;font-size:12.5px;font-weight:600;color:var(--fbm-teal-dark) !important;text-decoration:none !important}
.fbp-mini{margin:0 !important;padding:0 !important;list-style:none !important;border-top:1px dashed var(--wfb-line)}
.fbp-mini li{display:flex;justify-content:space-between;gap:10px;margin:0 !important;padding:8px 0 0;font-size:14px;color:var(--wfb-muted)}
.fbp-mini li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fbp-mini li b{flex:none;color:var(--wfb-red);font-weight:800}
.fbp-card-loc{display:flex;align-items:center;gap:5px;margin-top:auto;font-size:13px;color:var(--wfb-muted)}
.fbp-card-loc svg{flex:none;width:15px;height:15px;color:var(--fbm-teal)}

.fbp-how{margin-top:36px;padding:24px;border-radius:20px;background:var(--fbm-teal-soft);border:1px solid color-mix(in srgb,var(--fbm-teal) 20%,transparent)}
.fbp-how h2{margin:0 0 16px !important;font-size:20px !important;text-align:center;color:var(--fbm-teal-dark) !important}
.fbp-how ol{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 !important;padding:0 !important;list-style:none !important}
.fbp-how li{display:flex;gap:10px;align-items:flex-start;margin:0 !important;padding:14px;border-radius:14px;background:#fff}
.fbp-how li b{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--fbm-teal);color:#fff;font-size:15px}
.fbp-how li span{font-size:13.5px;line-height:1.45;color:var(--wfb-muted)}
.fbp-how li strong{display:block;color:var(--wfb-text);font-size:14.5px}

/* Single */
.fbp-single .fbu-crumbs{margin-bottom:14px}
.fbp-head{border:1px solid var(--wfb-line);border-radius:22px;background:#fff;overflow:hidden}
.fbp-cover{position:relative;background:var(--fbm-teal-soft)}
.fbp-cover .fbu-g-main{border:0 !important;border-radius:0 !important}
.fbp-cover .fbu-g-slide{aspect-ratio:21/8;max-height:420px;background:var(--fbm-teal-soft)}
.fbp-cover .fbu-g-slide img{object-fit:cover}
.fbp-cover .fbu-g-counter{left:auto !important;right:14px}
.fbp-cover-empty{display:grid;place-items:center;aspect-ratio:21/6;font-size:72px;background:linear-gradient(135deg,var(--fbm-teal-soft),#E0F2FE)}
.fbp-id{position:relative;display:flex;align-items:flex-end;gap:18px;padding:0 24px 20px}
.fbp-logo.is-big{width:96px;height:96px;margin-top:-40px;border-radius:20px;border:4px solid #fff;box-shadow:0 8px 22px rgba(15,23,42,.14);position:relative;z-index:2}
.fbp-logo.is-big.is-icon{font-size:44px;background:var(--fbm-teal-soft)}
.fbp-id-text{flex:1;min-width:0;padding-top:14px}
.fbp-id-text h1{margin:2px 0 4px !important;font-size:clamp(22px,2.6vw,30px) !important;line-height:1.25 !important}
.fbp-loc{display:flex;align-items:flex-start;gap:5px;margin:0 !important;color:var(--wfb-muted);font-size:14.5px}
.fbp-loc svg{flex:none;width:16px;height:16px;margin-top:3px;color:var(--fbm-teal)}
.fbp-max{flex:none;display:flex;flex-direction:column;align-items:center;padding:12px 18px;border-radius:16px;background:var(--wfb-red);color:#fff;line-height:1.1;box-shadow:0 8px 20px rgba(220,38,38,.28)}
.fbp-max b{font-size:28px;font-weight:800}
.fbp-max span{font-size:12px;font-weight:600}
.fbp-cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start;margin-top:22px}
.fbp-main{display:flex;flex-direction:column;gap:18px}
.fbp-side{display:flex;flex-direction:column;gap:16px;position:sticky;top:90px}
.fbp-table{width:100%;margin:6px 0 0 !important;border-collapse:separate !important;border-spacing:0 !important;border:1px solid var(--wfb-line) !important;border-radius:14px;overflow:hidden}
.fbp-table th,.fbp-table td{padding:12px 14px !important;border:0 !important;border-bottom:1px solid var(--wfb-line) !important;text-align:left;vertical-align:middle;background:#fff}
.fbp-table th{background:#F8FAFC !important;font-size:13px;color:var(--wfb-muted);font-weight:700}
.fbp-table th:last-child,.fbp-table td:last-child{width:110px;text-align:right}
.fbp-table tr:last-child td{border-bottom:0 !important}
.fbp-table td strong{display:block;font-size:15px;color:var(--wfb-text)}
.fbp-table td small{display:block;margin-top:2px;font-size:12.5px;color:var(--wfb-muted)}
.fbp-pct{display:inline-block;padding:5px 11px;border-radius:10px;background:#FEF2F2;color:var(--wfb-red);font-weight:800;font-size:16px}
.fbp-terms{margin-top:14px;padding:12px 14px;border-radius:12px;background:#FFFBEB;border:1px solid #FDE68A;font-size:14px;color:#78350F}
.fbp-terms strong{display:block;margin-bottom:2px}
.fbp-terms p{margin:0 !important}
.fbp-member{border-color:color-mix(in srgb,var(--wfb-red) 25%,var(--wfb-line)) !important;background:linear-gradient(180deg,#FEF2F2,#fff) !important}
.fbp-member.is-active{border-color:color-mix(in srgb,var(--fbm-teal) 35%,var(--wfb-line)) !important;background:linear-gradient(180deg,var(--fbm-teal-soft),#fff) !important}
.fbp-member h3,.fbp-contact h3{margin:0 0 6px !important;font-size:17px !important}
.fbp-member p{margin:0 0 12px !important;font-size:14px;color:var(--wfb-muted);line-height:1.55}
.fbp-contact ul{margin:0 0 12px !important;padding:0 !important;list-style:none !important}
.fbp-contact li{display:flex;align-items:flex-start;gap:8px;margin:0 !important;padding:7px 0;border-bottom:1px dashed var(--wfb-line);font-size:14px;color:var(--wfb-text)}
.fbp-contact li:last-child{border-bottom:0}
.fbp-contact li svg{flex:none;width:16px;height:16px;margin-top:3px;color:var(--fbm-teal)}
.fbp-contact li a{color:var(--wfb-text) !important;font-weight:700;text-decoration:none !important}
.fbp-contact-btns{display:grid;gap:8px}
.fbp-contact-btns .wfb-btn{justify-content:center}
.fbp-contact-btns svg{width:16px;height:16px}

@media (max-width:1024px){
	.fbp-cols{grid-template-columns:1fr}
	.fbp-side{position:static}
	.fbp-how ol{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
	.fbp-search{padding:5px 5px 5px 12px}
	.fbp-search .wfb-btn{padding:0 14px}
	.fbp-grid{grid-template-columns:1fr;gap:14px}
	.fbp-cover .fbu-g-slide{aspect-ratio:16/10}
	.fbp-id{flex-wrap:wrap;gap:12px;padding:0 16px 16px}
	.fbp-logo.is-big{width:76px;height:76px;margin-top:-34px}
	.fbp-id-text{flex-basis:100%;order:2;padding-top:0}
	.fbp-max{position:absolute;right:16px;top:12px;padding:8px 12px}
	.fbp-max b{font-size:22px}
	.fbp-how{padding:18px}
	.fbp-how ol{grid-template-columns:1fr;gap:10px}
	.fbp-table th,.fbp-table td{padding:10px 12px !important}
	.fbp-table th:last-child,.fbp-table td:last-child{width:84px}
}
/* v2.17.1 — verify form stacks on small phones */
@media (max-width:480px){
	.fbm-vform{flex-direction:column}
	.fbm-vform .wfb-btn{width:100%}
}

/* =========================================================
   v2.18 — পার্টনার হতে আবেদন
   ========================================================= */
.fbp-apply{max-width:920px}
.fbp-perks{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 !important;padding:0 !important;list-style:none !important}
.fbp-perks li{display:flex;gap:10px;align-items:flex-start;margin:0 !important;padding:14px;border:1px solid var(--wfb-line);border-radius:16px;background:#fff}
.fbp-perks li b{flex:none;font-size:24px;line-height:1}
.fbp-perks li span{font-size:13.5px;line-height:1.45;color:var(--wfb-muted)}
.fbp-perks li strong{display:block;font-size:15px;color:var(--wfb-text)}
.fbp-apply-form{padding:26px}
.fbp-step{display:flex;align-items:center;gap:10px;margin:26px 0 12px !important;padding-top:20px;border-top:1px solid var(--wfb-line);font-size:18px !important}
.fbp-apply-form > .fbp-step:first-of-type{margin-top:0 !important;padding-top:0;border-top:0}
.fbp-step b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--fbm-teal);color:#fff;font-size:15px}
.fbp-help{margin:-6px 0 10px !important}
.fbp-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.fbp-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}
.fbp-loc .wfb-loc-group,.fbp-loc > div:first-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}
.fbp-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;opacity:0}
.fbp-files{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px}
.fbp-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:150px;padding:14px;border:2px dashed color-mix(in srgb,var(--fbm-teal) 40%,var(--wfb-line));border-radius:16px;background:var(--fbm-teal-soft);text-align:center;cursor:pointer;transition:border-color .15s,background .15s}
.fbp-drop:hover{border-color:var(--fbm-teal);background:#fff}
.fbp-drop:before{content:"📷";font-size:28px;line-height:1}
.fbp-drop.has-files:before{display:none}
.fbp-drop-txt b{display:block;font-size:15px;color:var(--fbm-teal-dark)}
.fbp-drop-txt small{display:block;font-size:12.5px;color:var(--wfb-muted)}
.fbp-drop-prev{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.fbp-drop-prev:empty{display:none}
.fbp-drop-prev img{width:78px !important;height:78px !important;object-fit:cover;border-radius:10px;border:2px solid #fff;box-shadow:0 2px 8px rgba(15,23,42,.12)}
.fbp-drows{display:grid;gap:8px;margin-bottom:10px}
.fbp-drow{display:grid;grid-template-columns:minmax(0,1.4fr) 110px minmax(0,1fr) 40px;gap:8px;align-items:center}
.fbp-drow .wfb-input{margin:0 !important}
.fbp-pctin{position:relative;display:block}
.fbp-pctin input{padding-right:30px !important}
.fbp-pctin i{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-style:normal;font-weight:700;color:var(--wfb-red)}
.fbp-drow-del{width:40px;height:44px;border:1px solid var(--wfb-line);border-radius:10px;background:#fff;color:var(--wfb-muted);cursor:pointer}
.fbp-drow-del:hover{border-color:var(--wfb-red);color:var(--wfb-red)}
.fbp-agree{display:flex;gap:10px;align-items:flex-start;margin:20px 0 16px;padding:14px;border-radius:12px;background:#F8FAFC;font-size:14.5px;line-height:1.5;cursor:pointer}
.fbp-agree input{flex:none;width:20px;height:20px;margin-top:2px;accent-color:var(--fbm-teal)}
.fbp-apply-done{text-align:center;padding:36px 22px}
.fbp-apply-done h2{margin:10px 0 8px !important}
.fbp-apply-done p{max-width:520px;margin:0 auto 16px !important;color:var(--wfb-muted)}
.fbp-join{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:30px;padding:20px 22px;border-radius:18px;background:linear-gradient(135deg,#FEF2F2,#fff);border:1px solid #FECACA}
.fbp-join strong{display:block;font-size:17px}
.fbp-join span{display:block;font-size:14px;color:var(--wfb-muted)}
.fbp-join .wfb-btn{flex:none}
@media (max-width:767px){
	.fbp-perks{grid-template-columns:1fr;gap:8px}
	.fbp-apply-form{padding:16px}
	.fbp-grid2,.fbp-grid3,.fbp-loc .wfb-loc-group,.fbp-loc > div:first-child{grid-template-columns:1fr}
	.fbp-files{grid-template-columns:1fr}
	.fbp-drop{min-height:120px}
	.fbp-drow{grid-template-columns:minmax(0,1fr) 96px 40px;padding:10px;border:1px solid var(--wfb-line);border-radius:12px;background:#F8FAFC}
	.fbp-drow > input[name="d_note[]"]{grid-column:1 / 3;grid-row:2}
	.fbp-drow-del{grid-column:3;grid-row:1}
	.fbp-join{flex-direction:column;align-items:stretch;text-align:center}
}
.fbp-drow-del{box-sizing:border-box !important;width:40px !important;min-width:0 !important;height:44px !important;padding:0 !important;margin:0 !important;display:grid !important;place-items:center;font-size:15px !important;line-height:1 !important;background:#fff !important;color:var(--wfb-muted) !important;box-shadow:none !important}
.fbp-drow-del:hover{background:#FEF2F2 !important;color:var(--wfb-red) !important}

/* v2.18.1 — smaller discount badge; partner cards 2-up on phones */
.fbp-badge{top:10px;right:10px;padding:5px 9px;border-radius:12px;box-shadow:0 4px 12px rgba(220,38,38,.3)}
.fbp-badge b{font-size:16px}
.fbp-badge small{font-size:9.5px}
@media (max-width:640px){
	.fbp-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}
	.fbp-card{border-radius:14px}
	.fbp-card-media{aspect-ratio:4/3}
	.fbp-badge{top:6px;right:6px;padding:3px 7px;border-radius:9px}
	.fbp-badge b{font-size:13px}
	.fbp-badge small{font-size:8.5px}
	.fbp-noimg{font-size:38px}
	.fbp-card-body{gap:8px;padding:10px 10px 12px}
	.fbp-card-head{gap:8px;align-items:flex-start}
	.fbp-logo{width:32px;height:32px;border-radius:9px}
	.fbp-logo.is-icon{font-size:17px}
	.fbp-card-title{font-size:14px !important;line-height:1.3 !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
	.fbp-type{font-size:11.5px}
	.fbp-mini li{padding-top:5px;font-size:12px;gap:6px}
	.fbp-card-loc{font-size:11.5px;gap:3px}
	.fbp-card-loc svg{width:13px;height:13px}
	.fbp-card-loc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
	.fbp-card-loc svg{vertical-align:-2px;margin-right:2px}
}
@media (max-width:340px){
	.fbp-grid{grid-template-columns:1fr !important}
}

/* v2.18.10 — the decorative ✚ must never catch taps (on phones it sat over the search button) */
.fbm-hero:after{pointer-events:none !important;z-index:0}
.fbm-hero > *{position:relative;z-index:1}

.fbp-wrap img.emoji,.fbp-single img.emoji,.fbm-wrap img.emoji{position:static !important;display:inline !important;width:1em !important;height:1em !important;margin:0 .1em !important;vertical-align:-.1em !important;transform:none !important;object-fit:contain !important}
.fbp-noimg img.emoji{width:56px !important;height:56px !important}
