/* Reseller Hub — ড্যাশবোর্ড স্টাইল
   রেফারেন্স: ডার্ক নেভি কার্ড + কমলা অ্যাকসেন্ট + সাদা রাউন্ডেড কার্ড */

.rhb-dash {
	--rhb-ink: #1c1b2e;        /* ডার্ক নেভি */
	--rhb-accent: #f4711f;     /* কমলা */
	--rhb-bg: #f7f7f9;
	--rhb-line: #ececf1;
	--rhb-muted: #6d6d7d;
	--rhb-radius: 18px;
	display: grid;
	gap: 20px;
	font-size: 15px;
	color: var(--rhb-ink);
}

.rhb-eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rhb-accent);
	margin-bottom: 4px;
}

/* ---------- ব্যানার ---------- */
.rhb-banner {
	position: relative;
	overflow: hidden;
	background: var(--rhb-ink);
	color: #fff;
	border-radius: 22px;
	padding: 34px 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.rhb-banner__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: .55;
	pointer-events: none;
}
.rhb-banner__glow--a { width: 220px; height: 220px; right: -60px; top: -80px; background: radial-gradient(circle, #6b4a3a, transparent 70%); }
.rhb-banner__glow--b { width: 160px; height: 160px; left: 35%; bottom: -90px; background: radial-gradient(circle, #f4711f33, transparent 70%); }
.rhb-banner__text { position: relative; max-width: 620px; }
.rhb-banner h2 { color: #fff; margin: 0 0 8px; font-size: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rhb-banner p { margin: 0; color: #d9d9e3; }
.rhb-tag {
	font-size: 11px;
	font-weight: 700;
	color: var(--rhb-accent);
	border: 1px solid #f4711f66;
	border-radius: 999px;
	padding: 4px 12px;
	letter-spacing: .04em;
}

/* ---------- বাটন ---------- */
.rhb-btn {
	display: inline-block;
	border-radius: 999px;
	padding: 12px 24px;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
	position: relative;
}
.rhb-btn:hover { transform: translateY(-1px); text-decoration: none; }
.rhb-btn:focus-visible { outline: 3px solid #f4711f66; outline-offset: 2px; }
.rhb-btn--light { background: #fff; color: var(--rhb-ink) !important; }
.rhb-btn--dark { background: var(--rhb-ink); color: #fff !important; }
.rhb-btn--accent { background: var(--rhb-accent); color: #fff !important; }

.rhb-link { color: var(--rhb-accent); font-weight: 700; text-decoration: none; }
.rhb-link:hover { text-decoration: underline; }

/* ---------- স্ট্যাট কার্ড ---------- */
.rhb-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.rhb-stats--3 { grid-template-columns: repeat(3, 1fr); }
.rhb-stat {
	background: #fff;
	border: 1px solid var(--rhb-line);
	border-radius: var(--rhb-radius);
	padding: 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	box-shadow: 0 1px 2px rgb(28 27 46 / 4%);
}
.rhb-stat__icon {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	background: #fdf1e8;
	border-radius: 14px;
	font-size: 20px;
	flex: none;
}
.rhb-stat strong { display: block; font-size: 18px; line-height: 1.2; }
.rhb-stat span:not(.rhb-stat__icon) { font-size: 12.5px; color: var(--rhb-muted); }
.rhb-stat--accent { border-color: #f4711f55; background: linear-gradient(180deg, #fff, #fff7f1); }

/* ---------- গ্রিড ও কার্ড ---------- */
.rhb-grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: 20px;
	align-items: start;
}
.rhb-card {
	background: #fff;
	border: 1px solid var(--rhb-line);
	border-radius: var(--rhb-radius);
	padding: 22px;
	box-shadow: 0 1px 2px rgb(28 27 46 / 4%);
}
.rhb-card__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 14px;
}
.rhb-card h3 { margin: 0; font-size: 19px; }

/* ---------- অর্ডার/লেনদেন সারি ---------- */
.rhb-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rhb-orders > li { margin: 0; }
.rhb-order-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--rhb-line);
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}
a.rhb-order-row:hover { border-color: #f4711f77; box-shadow: 0 3px 10px rgb(244 113 31 / 10%); }
.rhb-order-row__icon {
	width: 40px; height: 40px; flex: none;
	display: grid; place-items: center;
	background: #fdf1e8; border-radius: 12px;
}
.rhb-order-row__main { flex: 1; min-width: 0; }
.rhb-order-row__main strong { display: block; }
.rhb-order-row__main small { color: var(--rhb-muted); }
.rhb-order-row__end { text-align: right; display: grid; gap: 4px; justify-items: end; }
.rhb-profit { color: var(--rhb-accent); font-weight: 700; }
.rhb-amount--in { color: #158a4c; }
.rhb-amount--out { color: #c23b3b; }

/* ---------- স্ট্যাটাস পিল ---------- */
.rhb-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
}
.rhb-pill--green { background: #e3f6ec; color: #158a4c; }
.rhb-pill--blue  { background: #e8effc; color: #2b5bd7; }
.rhb-pill--amber { background: #fdf3e2; color: #b97a12; }
.rhb-pill--red   { background: #fde8e8; color: #c23b3b; }
.rhb-pill--purple { background: #f0e9fc; color: #6b3fa0; }

/* ---------- সাহায্য কার্ড ---------- */
.rhb-card--help { text-align: left; }
.rhb-help-icon {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	background: #fdf1e8;
	color: var(--rhb-accent);
	font-weight: 800;
	font-size: 20px;
	border-radius: 14px;
	margin-bottom: 10px;
}
.rhb-card--help p { color: var(--rhb-muted); }
.rhb-help-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- ফর্ম ---------- */
.rhb-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; }
.rhb-form input, .rhb-form select {
	width: 100%;
	border: 1px solid var(--rhb-line);
	border-radius: 12px;
	padding: 11px 14px;
	background: #fff;
}
.rhb-form input:focus, .rhb-form select:focus {
	border-color: var(--rhb-accent);
	outline: none;
	box-shadow: 0 0 0 3px #f4711f22;
}

/* ---------- মেম্বারশিপ পেন্ডিং ---------- */
.rhb-pending-card {
	background: var(--rhb-ink);
	color: #fff;
	border-radius: 22px;
	padding: 34px 36px;
}
.rhb-pending-card h3 { color: #fff; margin: 0 0 10px; }
.rhb-pending-card p { color: #d9d9e3; }
.rhb-pending-info {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin: 18px 0;
}
.rhb-pending-info > div {
	background: #ffffff12;
	border: 1px solid #ffffff22;
	border-radius: 14px;
	padding: 14px 20px;
	min-width: 180px;
}
.rhb-pending-info span { display: block; font-size: 12px; color: #bdbdcd; margin-bottom: 4px; }
.rhb-pending-info strong { font-size: 18px; color: var(--rhb-accent); }
.rhb-muted { color: var(--rhb-muted); }
.rhb-empty { color: var(--rhb-muted); background: var(--rhb-bg); border-radius: 14px; padding: 18px; }

/* ---------- প্রোডাক্ট পেজ ---------- */
.rhb-badge {
	display: inline-block;
	background: #fdf1e8;
	color: #c65a0f;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.rhb-resale-box {
	background: linear-gradient(135deg, #fff4ea, #fffaf5);
	border: 1px solid #f4711f33;
	border-radius: 18px;
	padding: 22px 22px;
	margin: 6px 0 22px;
	box-shadow: 0 2px 10px rgb(244 113 31 / 8%);
}
.rhb-resale-box__head { margin-bottom: 14px; }
.rhb-resale-box__head strong { display: block; font-size: 16px; color: #1c1b2e; margin-bottom: 2px; }
.rhb-resale-box__head span { font-size: 13px; color: #6d6d7d; }

.rhb-resale-cost { font-size: 14px; color: #1c1b2e; margin-bottom: 12px; }
.rhb-resale-cost strong { color: #c65a0f; font-size: 16px; }

.rhb-resale-max-callout {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #158a4c14;
	border: 1px solid #158a4c4d;
	color: #0f6b3a;
	border-radius: 12px;
	padding: 11px 16px;
	margin: 0 0 16px;
	font-weight: 700;
	font-size: 14.5px;
}
.rhb-resale-max-callout strong { font-size: 16px; }

.rhb-resale-box input[type="number"] {
	width: 100%;
	max-width: 280px;
	border: 1px solid #f4711f66;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 16px;
	background: #fff;
}
.rhb-resale-box input[type="number"]:focus {
	border-color: #f4711f;
	outline: none;
	box-shadow: 0 0 0 3px #f4711f22;
}
.rhb-resale-hint { display: block; margin-top: 10px; color: #8a5a3a; font-size: 12.5px; }

@media (min-width: 783px) {
	.rhb-resale-box { padding: 30px 32px; }
	.rhb-resale-box__head strong { font-size: 18px; }
	.rhb-resale-box__head span { font-size: 14px; }
	.rhb-resale-cost { font-size: 15px; }
	.rhb-resale-cost strong { font-size: 19px; }
	.rhb-resale-max-callout { font-size: 16px; padding: 13px 20px; }
	.rhb-resale-max-callout strong { font-size: 19px; }
	.rhb-resale-box input[type="number"] { font-size: 17px; padding: 14px 16px; max-width: 320px; }
	.rhb-resale-hint { font-size: 13px; }
}

/* ---------- রেসপনসিভ ---------- */
@media (max-width: 920px) {
	.rhb-stats { grid-template-columns: repeat(2, 1fr); }
	.rhb-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.rhb-stats, .rhb-stats--3 { grid-template-columns: 1fr; }
	.rhb-banner { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.rhb-btn, .rhb-order-row { transition: none; }
}
