/* ==========================================================================
   BDL Accounts — পোর্টাল ও ফর্মের স্টাইল

   `bdl-profiles.css` এর ভেরিয়েবলের উপর দাঁড়ায় (নেভি-গোল্ড প্যালেট),
   তাই সেটি আগে লোড হয় — `wp_enqueue_style` এর নির্ভরতায় নিশ্চিত করা আছে।
   ========================================================================== */

.bdl-narrow {
	max-width: 720px;
}

.bdl-lead {
	font-size: 1rem;
	color: var(--bdl-muted);
	margin: 0 0 1.1rem;
}

/* --------------------------------------------------------------------------
   বার্তা
   -------------------------------------------------------------------------- */

.bdl-msg {
	border-radius: 10px;
	padding: .85rem 1.1rem;
	margin-bottom: 1.1rem;
	font-size: .93rem;
	border: 1px solid;
	border-inline-start-width: 3px;
}

.bdl-msg a {
	font-weight: 600;
}

.bdl-msg-success {
	background: #f0faf4;
	border-color: #bfe6d0;
	border-inline-start-color: #0f7b4f;
	color: #11593c;
}

.bdl-msg-error {
	background: #fdf3f3;
	border-color: #f0c9c9;
	border-inline-start-color: #b32d2e;
	color: #8a2224;
}

.bdl-msg-info {
	background: #f4f7fc;
	border-color: #ccd8ea;
	border-inline-start-color: var(--bdl-navy2);
	color: #253a57;
}

/* --------------------------------------------------------------------------
   ফর্ম
   -------------------------------------------------------------------------- */

.bdl-form-block {
	background: #fff;
	border: 1px solid var(--bdl-line);
	border-radius: var(--bdl-radius);
	box-shadow: var(--bdl-shadow);
	padding: 1.2rem 1.3rem;
}

.bdl-form-progress {
	color: var(--bdl-muted, #5d6673);
	font-size: 1rem;
	margin: 0 0 1rem;
}

.bdl-fieldset {
	border: 0;
	border-top: 1px dashed var(--bdl-line);
	padding: 1rem 0 0;
	margin: 1.4rem 0 0;
	min-width: 0;
}

.bdl-fieldset:first-of-type {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.bdl-fieldset > legend {
	font-size: 1rem;
	font-weight: 700;
	color: var(--bdl-navy);
	padding: 0 .6rem 0 0;
}

.bdl-fieldset.is-locked > legend {
	color: var(--bdl-muted);
}

.bdl-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: .9rem;
}

.bdl-form-block .bdl-field {
	margin-bottom: .9rem;
}

.bdl-form-grid .bdl-field {
	margin-bottom: 0;
}

.bdl-req {
	color: #b32d2e;
	font-style: normal;
}

.bdl-hint {
	font-size: .81rem;
	color: var(--bdl-muted);
	line-height: 1.5;
}

.bdl-hint-block {
	display: block;
	background: var(--bdl-cream);
	border: 1px solid var(--bdl-line);
	border-radius: 9px;
	padding: .7rem .9rem;
	margin-bottom: 1rem;
	font-size: .86rem;
}

.bdl-counter {
	font-size: .78rem;
	color: var(--bdl-muted);
	align-self: flex-end;
}

.bdl-counter.is-full {
	color: #b32d2e;
	font-weight: 600;
}

.bdl-filemsg {
	display: block;
	font-size: .82rem;
	color: #b32d2e;
	font-weight: 600;
	margin-top: .3rem;
}

textarea.bdl-input {
	min-height: 96px;
	resize: vertical;
}

/* নিষ্ক্রিয় ঘর — কেন, তা পাশে লেখা থাকে */
.bdl-input:disabled {
	background: #f4f5f7;
	color: var(--bdl-muted);
	cursor: not-allowed;
}

.bdl-field.is-locked .bdl-label {
	color: #8b94a1;
}

.bdl-locked-wrap {
	position: relative;
}

.bdl-locked-note {
	font-size: .84rem;
	color: #8a6d10;
	background: rgba(201, 162, 39, .1);
	border: 1px dashed rgba(201, 162, 39, .45);
	border-radius: 9px;
	padding: .6rem .85rem;
	margin: .3rem 0 0;
}

.bdl-locked-note a {
	font-weight: 700;
	color: #8a6d10;
}

/* চেকবক্সের দল */
.bdl-boxes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
	gap: .3rem .8rem;
	background: var(--bdl-cream);
	border: 1px solid var(--bdl-line);
	border-radius: 9px;
	padding: .7rem .85rem;
	max-height: 260px;
	overflow-y: auto;
}

.bdl-box {
	display: flex;
	align-items: flex-start;
	gap: .4rem;
	font-size: .88rem;
	line-height: 1.45;
	cursor: pointer;
}

.bdl-box input {
	margin-top: .25em;
	flex: none;
}

/* হানিপট — মানুষ দেখে না, বট ভরে ফেলে */
.bdl-hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* কাজের বোতামের সারি */
.bdl-actions-sticky {
	position: sticky;
	bottom: 0;
	background: linear-gradient(to top, #fff 60%, rgba(255, 255, 255, 0));
	padding: 1rem 0 .4rem;
	margin-top: 1.4rem;
	z-index: 2;
}

/* --------------------------------------------------------------------------
   নিবন্ধনের ধাপ
   -------------------------------------------------------------------------- */

.bdl-steps {
	margin-bottom: 1.3rem;
}

.bdl-steplist {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
	gap: .7rem;
	margin: 0;
	padding: 0;
}

.bdl-steplist li {
	background: #fff;
	border: 1px solid var(--bdl-line);
	border-radius: 11px;
	padding: .8rem .9rem;
	position: relative;
	box-shadow: var(--bdl-shadow);
}

.bdl-consult-steps ol {
	list-style: none;
	counter-reset: bdlstep;
	display: contents;
}

.bdl-consult-steps li {
	counter-increment: bdlstep;
	padding-inline-start: 2.9rem;
}

.bdl-consult-steps li::before {
	content: counter(bdlstep);
	position: absolute;
	inset-inline-start: .8rem;
	top: .8rem;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--bdl-navy);
	color: var(--bdl-gold-light);
	font-size: .85rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bdl-steplist strong {
	display: block;
	font-size: .93rem;
	color: var(--bdl-navy);
}

.bdl-steplist span {
	font-size: .8rem;
	color: var(--bdl-muted);
}

/* --------------------------------------------------------------------------
   সফল / দরজা
   -------------------------------------------------------------------------- */

.bdl-done,
.bdl-gate {
	background: #fff;
	border: 1px solid var(--bdl-line);
	border-radius: var(--bdl-radius);
	box-shadow: var(--bdl-shadow);
	padding: 2rem 1.4rem;
	text-align: center;
}

.bdl-done-mark {
	width: 62px;
	height: 62px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: #f0faf4;
	color: #0f7b4f;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bdl-done-mark .bdl-i {
	opacity: 1;
	margin: 0;
	stroke-width: 2;
}

.bdl-gate strong {
	display: block;
	font-size: 1.05rem;
	color: var(--bdl-navy);
	margin-bottom: .4rem;
}

.bdl-gate p,
.bdl-done p {
	color: var(--bdl-muted);
	margin: .5rem 0;
}

.bdl-gate-actions,
.bdl-done-actions {
	display: flex;
	gap: .6rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 1.1rem;
}

/* --------------------------------------------------------------------------
   অবস্থা-বার
   -------------------------------------------------------------------------- */

.bdl-statusbar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
	gap: .8rem;
	background: #fff;
	border: 1px solid var(--bdl-line);
	border-radius: var(--bdl-radius);
	box-shadow: var(--bdl-shadow);
	padding: 1rem 1.1rem;
	margin-bottom: 1.3rem;
}

.bdl-status-item {
	display: flex;
	flex-direction: column;
	gap: .1rem;
}

.bdl-status-k {
	font-size: .78rem;
	font-weight: 600;
	color: var(--bdl-muted);
	text-transform: uppercase;
	letter-spacing: .02em;
}

.bdl-status-v {
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--bdl-navy);
	display: flex;
	align-items: baseline;
	gap: .5rem;
	flex-wrap: wrap;
}

.bdl-status-cta {
	font-size: .8rem;
	font-weight: 600;
	color: #8a6d10;
}

.bdl-status-sub {
	font-size: .8rem;
	color: var(--bdl-muted);
}

/* --------------------------------------------------------------------------
   ড্যাশবোর্ড
   -------------------------------------------------------------------------- */

.bdl-dash-hero {
	display: flex;
	gap: 1.1rem;
	align-items: center;
	flex-wrap: wrap;
	background: linear-gradient(135deg, var(--bdl-navy), var(--bdl-navy2));
	border-radius: 18px;
	padding: 1.3rem;
	color: #fff;
	margin-bottom: 1.3rem;
}

.bdl-dash-photo {
	flex: none;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(201, 162, 39, .45);
	display: flex;
	align-items: center;
	justify-content: center;
}

.bdl-dash-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 22%;
}

.bdl-dash-head {
	flex: 1 1 200px;
	min-width: 0;
}

.bdl-dash-name {
	font-size: clamp(1.2rem, 3.6vw, 1.6rem);
	font-weight: 800;
	color: #fff;
	margin: 0 0 .2rem;
	line-height: 1.3;
}

.bdl-dash-sub {
	font-size: .9rem;
	color: rgba(255, 255, 255, .8);
	margin: 0 0 .5rem;
}

.bdl-dash-badges {
	display: flex;
	gap: .35rem;
	flex-wrap: wrap;
}

.bdl-dash-hero .bdl-badge {
	background: rgba(255, 255, 255, .13);
	border-color: rgba(255, 255, 255, .28);
	color: #fff;
}

.bdl-dash-hero .bdl-badge-gold {
	background: rgba(201, 162, 39, .26);
	border-color: var(--bdl-gold);
	color: var(--bdl-gold-light);
}

.bdl-dash-actions {
	display: flex;
	gap: .5rem;
	flex-wrap: wrap;
}

.bdl-dash-hero .bdl-btn-plain {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .3);
	color: #fff;
}

.bdl-dash-hero .bdl-btn-plain:hover {
	background: rgba(255, 255, 255, .18);
	border-color: var(--bdl-gold);
	color: #fff;
}

/* করণীয় */
.bdl-todo {
	background: #fff;
	border: 1px solid var(--bdl-line);
	border-radius: var(--bdl-radius);
	box-shadow: var(--bdl-shadow);
	padding: 1.1rem 1.3rem;
	margin-bottom: 1.3rem;
}

.bdl-todo h2 {
	margin-bottom: .6rem;
}

.bdl-todo ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bdl-todo li {
	padding: .45rem 0 .45rem 1.7rem;
	position: relative;
	border-bottom: 1px solid var(--bdl-line);
	font-size: .94rem;
}

.bdl-todo li:last-child {
	border-bottom: 0;
}

.bdl-todo li::before {
	position: absolute;
	inset-inline-start: 0;
	top: .5rem;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	font-size: .72rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.bdl-todo-todo::before {
	content: '!';
	background: #fdf3f3;
	color: #b32d2e;
	border: 1px solid #f0c9c9;
}

.bdl-todo-done-wait::before {
	content: '⏳';
	background: var(--bdl-cream);
	border: 1px solid var(--bdl-line);
	font-size: .62rem;
}

.bdl-todo-upsell::before {
	content: '★';
	background: rgba(201, 162, 39, .14);
	color: #8a6d10;
	border: 1px solid rgba(201, 162, 39, .4);
}

/* --------------------------------------------------------------------------
   ছবি ও ভিডিও
   -------------------------------------------------------------------------- */

.bdl-photo-row {
	display: flex;
	gap: 1.1rem;
	align-items: flex-start;
	flex-wrap: wrap;
}

.bdl-photo-now {
	flex: none;
	width: 104px;
	height: 128px;
	border-radius: 11px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--bdl-navy), var(--bdl-navy2));
	display: flex;
	align-items: center;
	justify-content: center;
}

.bdl-photo-now img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 22%;
}

.bdl-photo-row > div:last-child {
	flex: 1 1 240px;
	min-width: 0;
}

.bdl-video-preview {
	max-width: 420px;
	margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   দাবি (claim)
   -------------------------------------------------------------------------- */

.bdl-claimlist {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	margin-top: .8rem;
}

.bdl-claimrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .9rem;
	flex-wrap: wrap;
	background: #fff;
	border: 1px solid var(--bdl-line);
	border-radius: 11px;
	box-shadow: var(--bdl-shadow);
	padding: .8rem 1rem;
}

.bdl-claimrow strong {
	display: block;
	font-size: .98rem;
	color: var(--bdl-navy);
}

.bdl-claimrow span {
	font-size: .84rem;
	color: var(--bdl-muted);
}

.bdl-claimcard {
	background: var(--bdl-cream);
	border: 1px solid rgba(201, 162, 39, .45);
	border-radius: 11px;
	padding: .9rem 1.1rem;
	margin-bottom: 1.1rem;
}

.bdl-claimcard-k {
	display: block;
	font-size: .78rem;
	font-weight: 600;
	color: var(--bdl-muted);
	text-transform: uppercase;
	letter-spacing: .02em;
	margin-bottom: .2rem;
}

.bdl-claimcard strong {
	display: block;
	font-size: 1.1rem;
	color: var(--bdl-navy);
}

.bdl-claimcard > span:last-child {
	font-size: .86rem;
	color: var(--bdl-muted);
}

/* --------------------------------------------------------------------------
   ছোট পর্দা
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
	.bdl-form-block {
		padding: 1rem;
	}

	.bdl-form-grid {
		grid-template-columns: 1fr;
	}

	.bdl-boxes {
		grid-template-columns: 1fr;
		max-height: 220px;
	}

	.bdl-dash-hero {
		padding: 1.1rem;
	}

	.bdl-dash-actions {
		width: 100%;
	}

	.bdl-dash-actions .bdl-btn {
		flex: 1 1 100%;
	}

	.bdl-claimrow {
		flex-direction: column;
		align-items: stretch;
	}

	.bdl-claimrow .bdl-btn {
		width: 100%;
	}

	.bdl-photo-row {
		flex-direction: column;
	}
}

/* ==================================================================
   প্রোফাইল সম্পূর্ণতা (প্ল্যান §১০)
   ==================================================================
   প্ল্যান বলছে এটি **বৃদ্ধির কৌশল** — তাই রঙে লজ্জা দেওয়া হয় না।
   লাল/সবুজ ট্রাফিক-লাইট নয়; একটিই সোনালি বার, আর নিচে "কী বাকি"
   নামগুলো। ৩৩% দেখে আইনজীবী যেন হতাশ না হয়ে পরের ঘরটি ভরতে যান।
   ================================================================== */

.bdl-completion {
	border: 1px solid var(--bdl-line, #e3e6ea);
	border-radius: 11px;
	padding: .85rem 1rem .9rem;
	background: #fff;
	margin-bottom: 1.1rem;
}

.bdl-completion-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: .6rem;
	margin-bottom: .55rem;
}

.bdl-completion-head strong {
	font-size: .95rem;
	color: var(--bdl-navy, #0d1b2e);
}

.bdl-completion-pct {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	color: var(--bdl-navy, #0d1b2e);
	font-variant-numeric: tabular-nums;
}

.bdl-completion-track {
	height: 9px;
	border-radius: 999px;
	background: #eceef1;
	overflow: hidden;
}

.bdl-completion-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--bdl-gold, #c9a227), var(--bdl-gold-light, #e8c766));
	/* শূন্য শতাংশেও বারটি যেন দেখা যায় — নইলে "ভাঙা" মনে হয়। */
	min-width: 3px;
	transition: width .35s ease;
}

@media (prefers-reduced-motion: reduce) {
	.bdl-completion-fill {
		transition: none;
	}
}

.bdl-completion-next {
	margin: .6rem 0 0;
	font-size: .85rem;
	line-height: 1.6;
	color: var(--bdl-muted, #5d6673);
}

.bdl-completion-next a {
	font-weight: 600;
	white-space: nowrap;
}

.bdl-completion-done {
	color: #0f7b4f;
}

/* ==================================================================
   বিলিং ও ব্যবহার (প্ল্যান §৪৩)
   ================================================================== */

.bdl-bill-top {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: .8rem;
	margin-bottom: 1.1rem;
}

.bdl-bill-plan,
.bdl-bill-cell {
	border: 1px solid var(--bdl-line, #e3e6ea);
	border-radius: 11px;
	padding: .8rem .9rem .85rem;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: .2rem;
}

/* বর্তমান স্তরের রঙ বাঁ পাশে — ছকের কলামের রঙের সঙ্গে মেলে। */
.bdl-bill-plan {
	border-inline-start: 4px solid var(--plan, #64748b);
}

.bdl-bill-k {
	font-size: .78rem;
	color: var(--bdl-muted, #5d6673);
}

.bdl-bill-v {
	font-size: 1.15rem;
	line-height: 1.25;
	color: var(--bdl-navy, #0d1b2e);
}

.bdl-bill-note {
	font-size: .8rem;
	color: var(--bdl-muted, #5d6673);
	line-height: 1.5;
}

/* মেয়াদ ৩০ দিনের কম — মনোযোগ দরকার, কিন্তু আতঙ্ক নয়। */
.bdl-bill-note.is-warn {
	color: #8a5a0b;
	font-weight: 600;
}

.bdl-usage {
	border: 1px solid var(--bdl-line, #e3e6ea);
	border-radius: 11px;
	padding: .9rem 1rem 1rem;
	background: #fff;
	margin-bottom: 1.2rem;
}

.bdl-usage-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: .6rem;
	margin-bottom: .5rem;
	font-size: .95rem;
}

.bdl-usage-head strong {
	font-variant-numeric: tabular-nums;
	color: var(--bdl-navy, #0d1b2e);
}

.bdl-usage-track {
	height: 9px;
	border-radius: 999px;
	background: #eceef1;
	overflow: hidden;
}

.bdl-usage-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #0f7b4f, #2aa06c);
	min-width: 3px;
	transition: width .35s ease;
}

/* সীমা পূর্ণ — সবুজ থেকে অ্যাম্বার, কারণ এটি ব্যর্থতা নয়, সীমা। */
.bdl-usage-fill.is-full {
	background: linear-gradient(90deg, #a8690c, #d08a1c);
}

@media (prefers-reduced-motion: reduce) {
	.bdl-usage-fill {
		transition: none;
	}
}

.bdl-usage-note {
	margin: .55rem 0 0;
	font-size: .84rem;
	color: var(--bdl-muted, #5d6673);
}

.bdl-usage-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: .7rem;
	margin: .95rem 0 0;
	padding-top: .85rem;
	border-top: 1px solid var(--bdl-line, #e3e6ea);
}

.bdl-usage-grid dt {
	font-size: .78rem;
	color: var(--bdl-muted, #5d6673);
	margin-bottom: .1rem;
}

.bdl-usage-grid dd {
	margin: 0;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--bdl-navy, #0d1b2e);
}

.bdl-bill-actions {
	display: flex;
	gap: .6rem;
	flex-wrap: wrap;
	margin-bottom: .8rem;
}

.bdl-sep {
	border: 0;
	border-top: 1px solid var(--bdl-line, #e3e6ea);
	margin: 1.1rem 0;
}

/*
 * বাতিলের বোতাম — লাল, কিন্তু চিৎকার নয়। আউটলাইন রাখা হয়েছে যাতে
 * ভুল করে চাপা না পড়ে, অথচ খুঁজে পেতে কষ্ট না হয়।
 */
.bdl-btn-danger {
	background: #fff;
	color: #a32a22;
	border: 1px solid #e4b4b0;
}

.bdl-btn-danger:hover,
.bdl-btn-danger:focus-visible {
	background: #fdf4f3;
	border-color: #cf8c86;
}

.bdl-btn-link {
	background: none;
	border: 0;
	padding: .2rem 0;
	color: var(--bdl-muted, #5d6673);
	text-decoration: none;
	cursor: pointer;
	font: inherit;
}

.bdl-mono {
	font-family: "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
	font-size: .85em;
}

.bdl-dim {
	color: var(--bdl-muted, #5d6673);
	font-size: .85em;
}

.bdl-pill {
	display: inline-block;
	padding: .1rem .5rem;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 600;
	white-space: nowrap;
}

.bdl-pill-verified { background: #e7f4ed; color: #0f7b4f; }
.bdl-pill-new      { background: #fdf6e3; color: #8a6d1f; }
.bdl-pill-rejected { background: #fdf0ef; color: #a32a22; }

.bdl-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--bdl-line, #e3e6ea);
	border-radius: 11px;
	background: #fff;
}

.bdl-table-wrap .bdl-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
}

.bdl-table-wrap .bdl-table th,
.bdl-table-wrap .bdl-table td {
	padding: .6rem .75rem;
	text-align: start;
	border-bottom: 1px solid var(--bdl-line, #e3e6ea);
	white-space: nowrap;
}

.bdl-table-wrap .bdl-table thead th {
	background: #f7f8f9;
	font-size: .8rem;
	color: var(--bdl-muted, #5d6673);
	font-weight: 600;
}

.bdl-table-wrap .bdl-table tr:last-child td {
	border-bottom: 0;
}

.bdl-row-end {
	align-items: flex-end;
}

/* ছোট ইনপুট ও বোতাম — ইনবক্সের সারির ভেতরে বসার জন্য। */
.bdl-input-sm {
	padding: .3rem .5rem;
	font-size: .88rem;
	width: auto;
	max-width: 100%;
}

.bdl-btn-sm {
	padding: .32rem .7rem;
	font-size: .85rem;
}

.bdl-inline-form {
	display: flex;
	align-items: center;
	gap: .45rem;
	flex-wrap: wrap;
}

/* চিপের ভেতরের সংখ্যা — হালকা, যাতে লেখাটাই প্রধান থাকে। */
.bdl-chip-n {
	display: inline-block;
	margin-inline-start: .25rem;
	opacity: .6;
	font-variant-numeric: tabular-nums;
	font-size: .9em;
}

.bdl-chip.is-on .bdl-chip-n {
	opacity: .85;
}

/* ==================================================================
   বিচারপ্রার্থীর অনুরোধ (প্ল্যান §১৪, §১৫)
   ================================================================== */

/* ট্র্যাকিং লিংক — অ্যাকাউন্ট ছাড়া এটিই একমাত্র পথ, তাই চোখে পড়তে হবে। */
.bdl-track {
	border: 1px solid var(--bdl-gold, #c9a227);
	border-radius: 11px;
	background: #fdfaf0;
	padding: .95rem 1rem 1rem;
	margin: 1.2rem 0;
	text-align: start;
}

.bdl-track-why {
	margin: .35rem 0 .7rem;
	font-size: .88rem;
	line-height: 1.65;
	color: var(--bdl-muted, #5d6673);
}

.bdl-track-row {
	display: flex;
	gap: .5rem;
	flex-wrap: wrap;
	align-items: center;
}

.bdl-track-url {
	flex: 1 1 260px;
	min-width: 0;
	font-size: .85rem;
	background: #fff;
}

.bdl-req-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--bdl-line, #e3e6ea);
	padding-bottom: .9rem;
	margin-bottom: 1rem;
}

.bdl-req-ref {
	display: block;
	font-size: .78rem;
	color: var(--bdl-muted, #5d6673);
	font-variant-numeric: tabular-nums;
}

.bdl-req-when {
	margin: .2rem 0 0;
	font-size: .85rem;
	color: var(--bdl-muted, #5d6673);
}

.bdl-req-status {
	text-align: center;
	min-width: 140px;
}

.bdl-req-n {
	display: block;
	font-size: 2rem;
	line-height: 1;
	color: var(--bdl-navy, #0d1b2e);
	font-variant-numeric: tabular-nums;
}

.bdl-req-status span {
	font-size: .8rem;
	color: var(--bdl-muted, #5d6673);
}

.bdl-req-msg {
	margin: 0 0 1.2rem;
	padding: .7rem .95rem;
	border-inline-start: 3px solid var(--bdl-line, #e3e6ea);
	background: #f8f9fa;
	border-radius: 0 8px 8px 0;
	font-size: .93rem;
	line-height: 1.7;
}

/* মিলে যাওয়া আইনজীবীর কার্ড */
.bdl-matchlist {
	display: flex;
	flex-direction: column;
	gap: .8rem;
	margin-bottom: 1.4rem;
}

.bdl-match {
	border: 1px solid var(--bdl-line, #e3e6ea);
	border-radius: 11px;
	background: #fff;
	overflow: hidden;
}

/*
 * বাদ দেওয়া আইনজীবী মুছে যান না — হালকা হয়ে নিচে নামেন, যাতে
 * "ভুল করে বাদ দিলাম" থেকে ফেরা যায়।
 */
.bdl-match.is-rejected {
	opacity: .55;
}

.bdl-match-main.bdl-match-shared { display: grid; grid-template-columns: minmax(0, 1fr); }
.bdl-match-main {
	display: flex;
	gap: .9rem;
	padding: .9rem 1rem;
}

.bdl-match-photo {
	flex: 0 0 62px;
	width: 62px;
	height: 62px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--bdl-navy, #0d1b2e);
	display: grid;
	place-items: center;
	color: var(--bdl-gold, #c9a227);
	font-size: 1.5rem;
	font-weight: 700;
}

.bdl-match-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bdl-match-body {
	flex: 1 1 auto;
	min-width: 0;
}

.bdl-match-name {
	margin: 0 0 .15rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

.bdl-match-meta,
.bdl-match-areas {
	margin: .15rem 0;
	font-size: .85rem;
	color: var(--bdl-muted, #5d6673);
}

.bdl-chip-sm {
	font-size: .76rem;
	padding: .1rem .45rem;
}

.bdl-match-call {
	margin: .6rem 0 .2rem;
}

.bdl-match-seen {
	margin: .25rem 0 0;
	font-size: .8rem;
	color: var(--bdl-muted, #5d6673);
}

.bdl-match-seen.is-replied {
	color: #0f7b4f;
	font-weight: 600;
}

.bdl-match-seen.is-unseen {
	color: #8a5a0b;
}

.bdl-match-foot {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
	padding: .6rem 1rem .7rem;
	border-top: 1px solid var(--bdl-line, #e3e6ea);
	background: #fafbfc;
}

.bdl-match-flag {
	font-size: .82rem;
	color: var(--bdl-muted, #5d6673);
}

.bdl-match-flag.is-saved {
	color: #0f7b4f;
	font-weight: 600;
}

.bdl-match-flag.is-reported {
	color: #a32a22;
	font-weight: 600;
}

.bdl-match-report summary {
	cursor: pointer;
	font-size: .84rem;
	color: var(--bdl-muted, #5d6673);
}

.bdl-match-report[open] {
	flex: 1 1 100%;
	margin-top: .4rem;
}

.bdl-match-report form {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	margin-top: .5rem;
	max-width: 420px;
}

/* অনুরোধের তালিকা */
.bdl-reqlist {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	margin-bottom: 1.4rem;
}

.bdl-reqrow {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	border: 1px solid var(--bdl-line, #e3e6ea);
	border-radius: 10px;
	background: #fff;
	padding: .75rem .95rem;
}

.bdl-reqrow-main {
	flex: 1 1 200px;
	min-width: 0;
}

.bdl-reqrow-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
}

.bdl-reqrow-meta {
	margin: .15rem 0 0;
	font-size: .8rem;
	color: var(--bdl-muted, #5d6673);
}

.bdl-reqrow-side {
	text-align: end;
	font-size: .82rem;
	line-height: 1.4;
}

.bdl-reqrow-side strong {
	display: block;
	font-size: 1rem;
	color: var(--bdl-navy, #0d1b2e);
}

@media (max-width: 560px) {
	.bdl-req-status {
		text-align: start;
	}
	.bdl-reqrow-side {
		text-align: start;
	}
}

/* ==================================================================
   বার্তা (প্ল্যান §১৬)
   ==================================================================
   একই CSS দুই পাশে কাজ করে: `is-mine` নিজের বার্তা (ডানে),
   `is-them` অন্য পক্ষের (বাঁয়ে)। তাই বিচারপ্রার্থী ও আইনজীবী —
   দুজনেই নিজের লেখা ডান পাশে দেখেন, যা চ্যাটের চেনা ভাষা।
   ================================================================== */

.bdl-thread {
	border-top: 1px solid var(--bdl-line, #e3e6ea);
	padding: .6rem 1rem .8rem;
	background: #fafbfc;
}

.bdl-thread > summary {
	cursor: pointer;
	font-size: .88rem;
	font-weight: 600;
	color: var(--bdl-navy, #0d1b2e);
	display: flex;
	align-items: center;
	gap: .4rem;
}

.bdl-thread-new {
	background: var(--bdl-gold, #c9a227);
	color: #221c00;
	font-size: .7rem;
	font-weight: 700;
	padding: .05rem .4rem;
	border-radius: 999px;
}

.bdl-msglist {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	margin: .7rem 0;
	max-height: 420px;
	overflow-y: auto;
	padding-inline-end: .2rem;
}

.bdl-msg-row {
	display: flex;
}

.bdl-msg-row.is-mine {
	justify-content: flex-end;
}

.bdl-msg-bubble {
	max-width: 80%;
	padding: .5rem .7rem .35rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--bdl-line, #e3e6ea);
	font-size: .9rem;
	line-height: 1.65;
}

.bdl-msg-row.is-mine .bdl-msg-bubble {
	background: #fdf8e8;
	border-color: #e8dcb0;
}

.bdl-msg-bubble p {
	margin: 0 0 .2rem;
	overflow-wrap: anywhere;
}

.bdl-msg-file {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	margin: .2rem 0;
	padding: .3rem .5rem;
	border: 1px solid var(--bdl-line, #e3e6ea);
	border-radius: 8px;
	background: #f7f8f9;
	font-size: .84rem;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.bdl-msg-file:hover,
.bdl-msg-file:focus-visible {
	background: #eef1f4;
}

.bdl-msg-when {
	display: block;
	font-size: .7rem;
	color: var(--bdl-muted, #5d6673);
	text-align: end;
}

.bdl-msgform {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	margin-top: .5rem;
}

.bdl-msgform-foot {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
}

/*
 * ফাইল বাছার ঘরটি লুকিয়ে label-কেই বোতাম বানানো — ব্রাউজারের
 * ডিফল্ট "Choose file" বোতামটি স্টাইল করা যায় না, আর ইংরেজিতে থাকে।
 */
.bdl-msgfile-pick {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .32rem .7rem;
	border: 1px solid var(--bdl-line, #e3e6ea);
	border-radius: 8px;
	background: #fff;
	font-size: .85rem;
	cursor: pointer;
}

.bdl-msgfile-pick:hover,
.bdl-msgfile-pick:focus-within {
	background: #f3f5f7;
	border-color: #c9ced4;
}

.bdl-msgfile-pick input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.bdl-msg-warn {
	background: #fdf6e3;
	border-inline-start: 3px solid #d9c38a;
	color: #6b5412;
}

/* --------------------------------------------------------------------------
   প্রিমিয়াম যোগদানের ফর্ম ও নির্বাচক (Lawyer vs Law Firm)
   -------------------------------------------------------------------------- */

.bdl-join-hero {
	text-align: center;
	margin-bottom: 2.2rem;
	padding: 0.5rem 0;
}

.bdl-join-badge {
	display: inline-flex;
	align-items: center;
	background: #f0fdfa;
	color: #0d9488;
	border: 1px solid #ccfbf1;
	font-weight: 600;
	font-size: 0.85rem;
	padding: 5px 16px;
	border-radius: 9999px;
	margin-bottom: 12px;
	box-shadow: 0 1px 2px rgba(13, 148, 136, 0.05);
}

.bdl-join-heading {
	font-size: 1.85rem;
	font-weight: 800;
	color: var(--bdl-navy, #0f172a);
	margin: 0 0 0.6rem 0;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.bdl-join-sub {
	font-size: 1rem;
	color: #64748b;
	max-width: 620px;
	margin: 0 auto;
	line-height: 1.6;
}

.bdl-join-selector {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin-bottom: 2.2rem;
}

@media (max-width: 640px) {
	.bdl-join-selector {
		grid-template-columns: 1fr;
	}
	.bdl-join-heading {
		font-size: 1.5rem;
	}
}

.bdl-join-card {
	display: flex;
	align-items: flex-start;
	gap: 1.15rem;
	padding: 1.35rem 1.45rem;
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: 16px;
	text-decoration: none !important;
	color: inherit;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	text-align: left;
	width: 100%;
	font-family: inherit;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
}

.bdl-join-card:hover {
	border-color: #0d9488;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -6px rgba(13, 148, 136, 0.14), 0 4px 8px -2px rgba(13, 148, 136, 0.06);
	text-decoration: none !important;
}

.bdl-join-card.is-active {
	border-color: #0d9488;
	background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
	box-shadow: 0 12px 28px -6px rgba(13, 148, 136, 0.18), 0 4px 10px -2px rgba(13, 148, 136, 0.08);
}

.bdl-join-icon-box {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	flex-shrink: 0;
	transition: all 0.25s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.bdl-join-card.is-active .bdl-join-icon-box {
	background: #ccfbf1;
	border-color: #99f6e4;
	box-shadow: 0 4px 10px rgba(13, 148, 136, 0.15);
}

.bdl-join-text {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1;
	min-width: 0;
}

.bdl-join-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.bdl-join-title {
	font-size: 1.12rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.bdl-join-card.is-active .bdl-join-title {
	color: #0f766e;
}

.bdl-join-radio {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	background: #ffffff;
	position: relative;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.bdl-join-card.is-active .bdl-join-radio {
	border-color: #0d9488;
	background: #0d9488;
}

.bdl-join-card.is-active .bdl-join-radio::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffffff;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.bdl-join-desc {
	font-size: 0.86rem;
	color: #64748b;
	line-height: 1.45;
}

.bdl-join-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 6px;
}

.bdl-join-pill {
	font-size: 0.74rem;
	padding: 2px 8px;
	border-radius: 6px;
	background: #f1f5f9;
	color: #475569;
	font-weight: 500;
	line-height: 1.4;
}

.bdl-join-card.is-active .bdl-join-pill {
	background: #e6fffa;
	color: #0d9488;
	border: 1px solid #b2f5ea;
}

/* --------------------------------------------------------------------------
   প্রিমিয়াম স্টেপার উইজার্ড (নিবন্ধন ও অনবোর্ডিং)
   -------------------------------------------------------------------------- */

.bdl-stepper-wrap {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.15rem 1.4rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.bdl-stepper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bdl-step-item {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
	padding: 0.45rem 0.65rem;
	border-radius: 12px;
	transition: all 0.25s ease;
}

.bdl-step-item.is-active {
	background: #f0fdfa;
}

.bdl-step-badge {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.95rem;
	flex-shrink: 0;
	background: #f1f5f9;
	color: #64748b;
	border: 2px solid #e2e8f0;
	transition: all 0.25s ease;
}

.bdl-step-item.is-active .bdl-step-badge {
	background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
	color: #ffffff;
	border-color: #0d9488;
	box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.bdl-step-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bdl-step-title {
	font-size: 0.92rem;
	font-weight: 600;
	color: #475569;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bdl-step-item.is-active .bdl-step-title {
	color: #0f172a;
	font-weight: 700;
}

.bdl-step-desc {
	font-size: 0.77rem;
	color: #94a3b8;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bdl-step-item.is-active .bdl-step-desc {
	color: #0d9488;
	font-weight: 500;
}

.bdl-step-divider {
	display: flex;
	align-items: center;
	color: #cbd5e1;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.bdl-stepper {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
	}
	.bdl-step-divider {
		display: none;
	}
	.bdl-step-title,
	.bdl-step-desc {
		white-space: normal;
	}
}

/* নিরাপদকরণ: পুরনো steplist যেন কোনো ডুপ্লিকেট বিফোর উপাদান না তৈরি করে */
.bdl-steplist li::before {
	display: none !important;
	content: none !important;
}

/* --------------------------------------------------------------------------
   প্রিমিয়াম ফর্ম কার্ড ও বোতাম
   -------------------------------------------------------------------------- */

.bdl-form-block {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
	padding: 2.2rem 2.4rem;
	box-sizing: border-box;
}

@media (max-width: 600px) {
	.bdl-form-block {
		padding: 1.4rem 1.25rem;
		border-radius: 14px;
	}
}

.bdl-fieldset {
	border: 0;
	border-top: 1px solid #f1f5f9;
	padding: 1.8rem 0 0.5rem;
	margin: 1.8rem 0 0;
	min-width: 0;
}

.bdl-fieldset:first-of-type {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.bdl-fieldset > legend {
	font-size: 1.15rem;
	font-weight: 700;
	color: #0f172a;
	padding: 0 0 0 12px;
	margin: 0 0 1.25rem;
	border-left: 4px solid #0d9488;
	border-radius: 2px;
	line-height: 1.25;
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.bdl-fieldset > legend::before {
	display: none !important;
	content: none !important;
}

.bdl-form-block .bdl-label {
	font-weight: 600;
	color: #1e293b;
	font-size: 0.91rem;
	margin-bottom: 6px;
	display: block;
}

.bdl-form-block .bdl-input,
.bdl-form-block .bdl-select,
.bdl-form-block textarea.bdl-input {
	border: 1.5px solid #cbd5e1;
	border-radius: 10px;
	padding: 0.72rem 0.95rem;
	font-size: 1rem;
	color: #1e293b;
	background: #ffffff;
	transition: all 0.2s ease;
	width: 100%;
	box-sizing: border-box;
	min-height: 44px;
}

.bdl-form-block select.bdl-input,
.bdl-form-block select.bdl-select {
	height: 44px;
}

.bdl-form-block .bdl-input:hover,
.bdl-form-block .bdl-select:hover {
	border-color: #94a3b8;
}

.bdl-form-block .bdl-input:focus,
.bdl-form-block .bdl-select:focus,
.bdl-form-block textarea.bdl-input:focus {
	border-color: #0d9488;
	box-shadow: 0 0 0 3.5px rgba(13, 148, 136, 0.15);
	outline: none;
}

.bdl-form-block .bdl-hint {
	display: block;
	margin-top: 6px;
	font-size: 0.8rem;
	color: #64748b;
	line-height: 1.4;
}

.bdl-hint-block {
	display: block;
	background: #f0fdfa;
	border: 1px solid #ccfbf1;
	border-left: 4px solid #0d9488;
	border-radius: 10px;
	padding: 0.85rem 1.1rem;
	margin-bottom: 1.25rem;
	font-size: 0.88rem;
	color: #134e4a;
	line-height: 1.6;
}

.bdl-box input[type="checkbox"],
.bdl-box input[type="radio"] {
	width: 18px;
	height: 18px;
	accent-color: #0d9488;
	cursor: pointer;
	flex-shrink: 0;
}

.bdl-actions {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #f1f5f9;
}

@media (max-width: 600px) {
	.bdl-actions {
		flex-direction: column;
		align-items: stretch;
	}
}

.bdl-btn-premium {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
	color: #ffffff !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	padding: 0.9rem 2.2rem !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3) !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	border: none !important;
	cursor: pointer;
	text-decoration: none !important;
}

.bdl-btn-premium:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(15, 118, 110, 0.4) !important;
	background: linear-gradient(135deg, #0f766e 0%, #115e59 100%) !important;
	text-decoration: none !important;
}

.bdl-btn-premium:active {
	transform: translateY(0);
}

.bdl-btn-premium svg {
	transition: transform 0.2s ease;
}

.bdl-btn-premium:hover svg {
	transform: translateX(4px);
}

.bdl-service-editor-row { margin: 10px 0; border: 1px solid #dce6e1; border-radius: 10px; padding: 12px; }
.bdl-service-editor-row summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.bdl-service-editor-row .bdl-form-grid { margin-top: 12px; }
.bdl-service-editor-row input, .bdl-service-editor-row textarea { width: 100%; box-sizing: border-box; }
