/* ursbasket Network – member panels */
.fbn-wrap {
	--fbn-leaf: #0f3b2e;
	--fbn-leaf-deep: #0a2a21;
	--fbn-turmeric: #b08d57;
	--fbn-chilli: #b8322a;
	--fbn-ink: #1b2620;
	--fbn-muted: #5c6a61;
	--fbn-line: #dfe5e0;
	--fbn-paper: #ffffff;
	--fbn-wash: #f3f6f2;
	max-width: 1080px;
	margin: 0 auto;
	color: var(--fbn-ink);
	font-size: 16px;
	line-height: 1.55;
}
.fbn-wrap *, .fbn-wrap *::before, .fbn-wrap *::after { box-sizing: border-box; }
.fbn-wrap h2, .fbn-wrap h3 { margin: 0 0 .5em; line-height: 1.25; }
.fbn-wrap h3 { font-size: 1.15rem; }
.fbn-muted { color: var(--fbn-muted); font-size: .95rem; }

/* Notices */
.fbn-notice { padding: 12px 16px; border-radius: 8px; margin: 0 0 16px; border-left: 4px solid; }
.fbn-notice-success { background: #e6f2ea; border-color: var(--fbn-leaf); }
.fbn-notice-error { background: #fbe9e7; border-color: var(--fbn-chilli); }

/* ID card – the one bold element of the panel */
.fbn-idcard {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 20px;
	padding: 24px 26px 22px;
	margin: 0 0 18px;
	border-radius: 18px;
	color: #fff;
	background: var(--fbn-leaf);
	overflow: hidden;
}
.fbn-idcard::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(217,192,142,.45);
	border-radius: 12px;
	pointer-events: none;
}
.fbn-idcard h2 { color: #fff; font-size: 1.6rem; margin: 2px 0 6px; }
.fbn-idcard-role { margin: 0; opacity: .85; font-size: .95rem; }
.fbn-idcard-code {
	display: inline-block;
	margin: 4px 0 0;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: .06em;
	color: #d9c08e;
	font-variant-numeric: tabular-nums;
}
.fbn-idcard-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; align-content: center; }
.fbn-idcard-facts div { border-left: 2px solid rgba(255,255,255,.25); padding-left: 10px; }
.fbn-idcard-facts dt { font-size: .82rem; opacity: .8; }
.fbn-idcard-facts dd { margin: 2px 0 0; font-weight: 600; }

/* Tabs */
.fbn-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; border-bottom: 2px solid var(--fbn-line); }
.fbn-tabs a {
	padding: 10px 14px;
	text-decoration: none;
	color: var(--fbn-muted);
	font-weight: 600;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
}
.fbn-tabs a:hover { color: var(--fbn-leaf); }
.fbn-tabs a.is-active { color: var(--fbn-leaf-deep); border-bottom-color: var(--fbn-turmeric); }

/* Stats */
.fbn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; margin: 0 0 18px; border: 1px solid var(--fbn-line); border-radius: 12px; background: var(--fbn-paper); }
.fbn-stat { padding: 16px 18px; border-right: 1px solid var(--fbn-line); }
.fbn-stat:last-child { border-right: 0; }
.fbn-stat-label { display: block; font-size: .9rem; color: var(--fbn-muted); }
.fbn-stat strong { display: block; font-size: 1.45rem; color: var(--fbn-leaf-deep); font-variant-numeric: tabular-nums; }
.fbn-stat-hint { display: block; font-size: .82rem; color: var(--fbn-muted); }

/* Cards */
.fbn-card { background: var(--fbn-paper); border: 1px solid var(--fbn-line); border-radius: 12px; padding: 20px 22px; margin: 0 0 18px; }
.fbn-narrow { max-width: 560px; }
.fbn-empty { background: var(--fbn-wash); border-style: dashed; }
.fbn-plan ul { margin: 0 0 10px; padding-left: 1.2em; }
.fbn-plan li { margin: 4px 0; }

/* Buttons */
.fbn-btn {
	display: inline-block;
	padding: 10px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--fbn-leaf);
	color: #fff !important;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.3;
}
.fbn-btn:hover { background: var(--fbn-leaf-deep); }
.fbn-btn-ghost { background: transparent; color: var(--fbn-leaf) !important; box-shadow: inset 0 0 0 2px var(--fbn-leaf); }
.fbn-btn-ghost:hover { background: var(--fbn-wash); }
.fbn-btn-small { padding: 6px 12px; font-size: .9rem; }
.fbn-btn:focus-visible, .fbn-tabs a:focus-visible, .fbn-form input:focus-visible, .fbn-form select:focus-visible, .fbn-form textarea:focus-visible {
	outline: 3px solid var(--fbn-turmeric);
	outline-offset: 2px;
}

/* Copy link */
.fbn-copy { display: flex; gap: 8px; }
.fbn-copy input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--fbn-line); border-radius: 8px; background: var(--fbn-wash); font-size: .95rem; }

/* Forms */
.fbn-form label { display: block; margin: 0 0 14px; font-weight: 600; font-size: .95rem; }
.fbn-form input[type=text], .fbn-form input[type=email], .fbn-form input[type=tel], .fbn-form input[type=password],
.fbn-form input[type=number], .fbn-form select, .fbn-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	border: 1px solid #c9d2cb;
	border-radius: 8px;
	font: inherit;
	font-weight: 400;
	background: #fff;
}
.fbn-form input[type=file] { display: block; margin-top: 6px; font-weight: 400; }
.fbn-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.fbn-check input { margin-top: 4px; flex: none; }
.fbn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Tables */
.fbn-table-wrap { overflow-x: auto; }
.fbn-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fbn-table th, .fbn-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--fbn-line); vertical-align: middle; white-space: nowrap; }
.fbn-table th { font-size: .85rem; color: var(--fbn-muted); font-weight: 600; background: var(--fbn-wash); }
.fbn-table code { background: none; padding: 0; font-weight: 600; color: var(--fbn-leaf-deep); }
.fbn-table form { margin: 0; }

/* Badges */
.fbn-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #eef0ee; color: var(--fbn-muted); }
.fbn-badge-active, .fbn-badge-approved, .fbn-badge-paid, .fbn-badge-live { background: #dff0e4; color: var(--fbn-leaf-deep); }
.fbn-badge-pending { background: #fdf0cf; color: #6a4800; }
.fbn-badge-suspended, .fbn-badge-reversed { background: #f9dfdc; color: #7f1f19; }
.fbn-idcard .fbn-badge { background: rgba(255,255,255,.18); color: #fff; }

/* Weekly plans, payment links, kits */
.fbn-badge-due { background: #f9dfdc; color: #7f1f19; }
.fbn-badge-ontrack, .fbn-badge-delivered { background: #dff0e4; color: var(--fbn-leaf-deep); }
.fbn-badge-at_hub { background: #e4ecf3; color: #1c3546; }
.fbn-badge-with_agent { background: #f4ead6; color: #6a4f1e; }
.fbn-badge-cancelled { background: #eee; color: #555; }
.fbn-btn-wa { background: #1f7a4a; }
.fbn-btn-wa:hover { background: #17603a; }
.fbn-paylink { border-color: var(--fbn-turmeric); }
.fbn-enroll summary { cursor: pointer; list-style: none; }
.fbn-enroll summary::-webkit-details-marker { display: none; }
.fbn-enroll summary h3 { display: inline; }
.fbn-enroll summary::after { content: "+"; float: right; font-size: 1.4rem; line-height: 1; color: var(--fbn-turmeric); }
.fbn-enroll[open] summary::after { content: "–"; }
.fbn-enroll form { margin-top: 16px; }
.fbn-feed { list-style: none; margin: 0; padding: 0; }
.fbn-feed li { padding: 8px 0; border-bottom: 1px solid var(--fbn-line); }
.fbn-feed li:last-child { border-bottom: 0; }
.fbn-feed-time { color: var(--fbn-muted); font-size: .85rem; margin-right: 6px; }
.fbn-reader { max-width: 360px; margin: 0 0 12px; border-radius: 12px; overflow: hidden; }
.fbn-manual { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-top: 16px; }
.fbn-manual label { flex: 1 1 220px; margin: 0; }
.fbn-kit-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fbn-kit-head h3 { font-size: 1.4rem; letter-spacing: .04em; margin: 0; }
.fbn-kit-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 20px; margin: 16px 0; }
.fbn-kit-facts dt { font-size: .82rem; color: var(--fbn-muted); }
.fbn-kit-facts dd { margin: 2px 0 0; font-weight: 600; }
.fbn-kit-action { padding-top: 14px; border-top: 1px solid var(--fbn-line); margin-top: 14px; }

/* Customer side (product page + My Account) */
.ub-weekly-box { border: 1px solid #b08d57; border-radius: 14px; padding: 18px 20px; margin: 18px 0; background: #fff; }
.ub-weekly-title { margin: 0; font-size: .9rem; color: #6a5a3e; }
.ub-weekly-amount { margin: 2px 0 4px; font-size: 1.15rem; }
.ub-weekly-amount strong { font-size: 1.6rem; color: #0f3b2e; }
.ub-weekly-note { margin: 0 0 12px; color: #5c6a61; font-size: .95rem; }
.ub-weekly-form label { display: block; margin: 0 0 10px; font-weight: 600; font-size: .92rem; }
.ub-weekly-form input, .ub-weekly-form textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid #c9d2cb; border-radius: 8px; font: inherit; }
.ub-plan-card { border: 1px solid #dfe5e0; border-radius: 12px; padding: 16px 18px; margin: 0 0 14px; }
.ub-plan-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ub-plan-head span { color: #5c6a61; font-size: .9rem; }
.ub-progress { height: 8px; border-radius: 99px; background: #eef1ee; overflow: hidden; margin-bottom: 8px; }
.ub-progress span { display: block; height: 100%; background: linear-gradient(90deg, #0f3b2e, #b08d57); }

@media (max-width: 720px) {
	.fbn-idcard { grid-template-columns: 1fr; padding: 20px 18px 22px; }
	.fbn-stat { border-right: 0; border-bottom: 1px solid var(--fbn-line); }
	.fbn-stat:last-child { border-bottom: 0; }
	.fbn-copy { flex-direction: column; }
	.fbn-card { padding: 16px; }
}
