:root {
	--bg: #f6f7fb;
	--pill: #10131a;
	--surface: #fff;
	--surface2: #c7cee0;
	--text: #172033;
	--muted: #68738a;
	--line: #e2e6ee;
	--primary2: #4849c8;

	--primary: #5b5ce2;
	--success: #45866b;
	--warning: #8b5f15;
	--danger: #d34b5b;

	--bgprimary: #4c4cf7;
	--bgsuccess: #1f875c;
	--bgwarning: #bf8217;
	--bgdanger: #f8808e;

	--shadow: 0 10px 30px rgba(25, 35, 60, .07);
	--radius: 16px;
	--border: rgba(0, 0, 0, 0.1);
	--blue: #006ffa;
	--purple: #7b2df9;
}

[data-theme=dark] {
	--bg: #10131a;
	--pill: #10131a;
	--surface: #171b24;
	--surface2: #202532;
	--text: #eef1f7;
	--muted: #9aa5b8;
	--line: #2b3241;
	--primary: #8586ff;
	--primary2: #7071ef;
	--shadow: 0 12px 35px rgba(0, 0, 0, .25);
	--border: rgba(255, 255, 255, 0.95);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
	/* background: var(--bg); */
	color: var(--text);
	background: radial-gradient(600px 400px at 15% 10%,
			color-mix(in srgb, var(--blue) 25%, transparent), transparent 70%), radial-gradient(600px 400px at 90% 90%,
			color-mix(in srgb, var(--purple) 25%, transparent), transparent 70%), var(--bg);
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

input[type=checkbox] {
	width: auto !important;
}

button {
	cursor: pointer;
}

.card>form {
	width: stretch;
}

.app {
	min-height: 100vh;
	display: flex;
}

.sidebar {
	width: auto;
	/* background: var(--surface); */
	border-right: 1px solid var(--line);
	padding: 22px 14px;
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 20;
	background: radial-gradient(600px 400px at 15% 10%,
			color-mix(in srgb, var(--blue) 25%, transparent), transparent 70%), radial-gradient(600px 400px at 90% 90%,
			color-mix(in srgb, var(--purple) 25%, transparent), transparent 70%), var(--bg);
}

.brand {
	display: flex;
	gap: 10px;
	align-items: center;
	font-weight: 800;
	font-size: 20px;
	padding: 8px 10px 24px;
}

.brand-mark {
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: var(--primary);
	display: grid;
	place-items: center;
	color: #fff;
}

.nav-label {
	font-size: 11px;
	color: var(--muted);
	font-weight: 700;
	letter-spacing: .08em;
	padding: 14px 12px 7px;
}

.nav a {
	display: flex;
	gap: 11px;
	align-items: center;
	padding: 5px 16px;
	border-radius: 11px;
	color: var(--muted);
	margin: 2px 0;
	width: stretch;
}

.nav a:hover,
.nav a.active {
	background: var(--surface2);
	color: var(--text);
}

.main.auth {
	margin-left: 210px;
}

.main {
	width: stretch;
	padding: 28px 34px 90px;
}

.topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 26px;
}

.topbar h1 {
	margin: 0;
	font-size: 26px;
}

.topbar p {
	margin: 5px 0 0;
	color: var(--muted);
}

.actions {
	display: flex;
	gap: 9px;
	align-items: flex-end;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.btn {
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--text);
	padding: 10px 14px;
	border-radius: 11px;
	font-weight: 650;
}

.primary {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

.btn-danger {
	background: rgb(204, 30, 30);
	border-color: var(--danger);
	color: #fff;
}

.btn-nostyle {
	all: unset;
	cursor: pointer;
}

.ghost {
	background: transparent;
}

.iconbtn {
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--surface);
	color: var(--text);
}

.grid {
	display: grid;
	gap: 16px;
}

.stats {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 18px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
}

.stat .label {
	color: var(--muted);
	font-size: 13px;
}

.stat .value {
	font-size: 28px;
	font-weight: 800;
	margin: 9px 0 4px;
}

.stat .hint {
	font-size: 12px;
	color: var(--muted);
}

.section {
	margin-top: 22px;
}

.section-title {
	display: flex;
	margin-bottom: 12px;
	align-items: center;
	width: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
}

.section-title h2 {
	font-size: 17px;
	margin: 0;
}

.muted {
	color: var(--muted);
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--surface2);
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.info {
	color: var(--primary);
}

.success {
	color: var(--success);
}

.warning {
	color: var(--warning);
}

.danger {
	color: var(--danger);
}

.bginfo {
	background-color: var(--bgprimary) !important;
}

.bgsuccess {
	background-color: var(--bgsuccess) !important;
}

.bgwarning {
	background-color: var(--bgwarning) !important;
}

.bgdanger {
	background-color: var(--bgdanger) !important;
}

.row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	width: stretch;
}

.list {
	display: grid;
	gap: 9px;
	width: stretch;
}

.list-item {
	display: flex;
	gap: 1rem;
	padding: 13px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
}

.avatar,
.thumb {
	width: 51px;
	height: 50px;
	border-radius: 50%;
	background: var(--surface);
	display: grid;
	place-items: center;
	font-weight: 800;
	flex: 0 0 auto;
	grid-auto-flow: column;
	gap: 5px;
}

.avatar img {
	border-radius: 50%;
	width: inherit;
}

.thumb {
	width: 54px;
	height: 54px;
}

.grow {
	flex: 1;
	min-width: 0;
}

.truncate {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.table-wrap {
	overflow: auto;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--surface);
}

table {
	width: 100%;
	border-collapse: collapse;
	min-width: 720px;
}

th,
td {
	text-align: left;
	padding: 13px 15px;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
}

th {
	color: var(--muted);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em
}

tr:last-child td {
	border-bottom: 0;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.field {
	display: grid;
	gap: 7px;
}

.field label {
	font-size: 13px;
	font-weight: 700;
	width: fit-content;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--text);
	padding: 11px 12px;
	border-radius: 11px;
	outline: none;
}

.field textarea {
	min-height: 110px;
	resize: vertical;
}

.field.full {
	grid-column: 1/-1;
}

.check {
	display: flex;
	gap: 9px;
	align-items: center;
}

.empty {
	padding: 34px;
	text-align: center;
	color: var(--muted);
}

.notice {
	padding: 13px 15px;
	border-radius: 12px;
	background: var(--surface2);
	font-size: 16px;
}

.notice.warning {
	border-left: 3px solid var(--warning);
}

.mobile-nav {
	display: none;
}

.mobile-menu {
	display: none;
}

.menu-container {
	display: flex;
	flex-wrap: nowrap;
	/* Prevents menu links from wrapping to a new line */
	overflow-x: auto;
	/* SHOWS horizontal scroll ONLY if items overflow */
	overflow-y: hidden;
	/* Hides vertical scroll completely */
	width: stretch;
	/* Or any fixed/max width */
	/* Optional smooth touch scrolling for mobile devices */
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	align-items: flex-start;
	gap: 25px;
}

.sidebar-menu {
	display: flex;
	flex-direction: column;
	max-height: 30rem;
	/* Set a maximum ceiling limit */
	overflow-y: auto;
	/* SHOWS vertical scroll ONLY if items exceed 400px */
	overflow-x: hidden;
	/* Hides horizontal scroll completely */
}

/* Container management */
.menu-item-dropdown {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	border-radius: 11px;
}

.menu-item-dropdown.active {
	background: var(--surface2);
}

.menu-item-dropdown:hover {
	background: var(--surface2);
}

/* Row alignment layout */
.parent-link-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.parent-link-row a {
	flex-grow: 1;
}

/* Arrow Button configuration */
.dropdown-arrow-btn {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease;
	margin-top: inherit;
	padding-right: 5px;
}

/* Hide checkbox element off-screen completely */
.dropdown-trigger-check {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
}

/* 1. HIDE SUBMENU LIST BY DEFAULT */
.submenu-list {
	display: none;
	flex-direction: column;
	padding-left: 36px;
	margin: 4px 0 8px 0;
	gap: 4px;
}

/* 2. THE CSS TOGGLE MAGIC: Show submenu when checkbox element state is checked */
.dropdown-trigger-check:checked~.submenu-list {
	display: flex;
}

/* Rotate down-arrow glyph indicator cleanly when visible */
.dropdown-trigger-check:checked~.parent-link-row .dropdown-arrow-btn {
	transform: rotate(180deg);
}

/* Standard child menu lines */
.submenu-link {
	display: block;
	color: var(--text);
	text-decoration: none;
	font-size: 13px;
	padding: 0 !important;
	border-radius: 4px;
	font-family: sans-serif;
	transition: background-color 0.2s, color 0.2s;
}

.submenu-link:hover {
	background-color: #27272a;
	color: var(--text);
}

/* CSS fallback structure */
.submenu-list.show-forced {
	display: flex !important;
	color: var(--text);
}

.submenu-list.show-forced a {
	color: var(--text);
}

.hero {
	padding: 26px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--primary), #7c64d9);
	color: #fff;
}

.hero h2 {
	margin: 0 0 6px;
}

.hero p {
	margin: 0;
	opacity: .86;
}

.progress {
	height: 8px;
	background: var(--surface2);
	border-radius: 99px;
	overflow: hidden;
}

.progress>span {
	display: block;
	height: 100%;
	background: var(--primary);
	border-radius: 99px;
}

.product {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
}

.product img {
	width: 58px;
	height: 58px;
	border-radius: 12px;
	object-fit: cover;
	background: var(--surface2);
}

.switch {
	width: 44px;
	height: 24px;
	border-radius: 99px;
	background: var(--surface2);
	padding: 3px;
}

.switch span {
	display: block;
	width: 18px;
	height: 18px;
	background: var(--text);
	border-radius: 50%;
	transition: .2s;
	margin: -2px;
}

.switch.on {
	background: var(--primary);
}

.switch.on span {
	transform: translateX(20px);
}

.toast {
	position: fixed;
	left: 0;
	bottom: 10px;
	background: var(--surface2);
	color: var(--text);
	padding: 12px 15px;
	border-radius: 12px;
	display: none;
	z-index: 99;
	box-shadow: 0 0 12px 12px var(--bgprimary);
}

@media(max-width:1000px) {
	.stats {
		grid-template-columns: repeat(4, 1fr);
	}

	.cards {
		/* grid-template-columns: 1fr 1fr; */
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sidebar {
		display: none;
	}

	.main {
		margin: 0 !important;
		width: 100%;
		padding: 22px 18px 85px;
	}

	.mobile-nav {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: 64px;
		background: var(--surface);
		border-top: 1px solid var(--line);
		z-index: 30;
		justify-content: space-around;
		overflow-x: auto;
		overflow-y: hidden;
		text-align: center;
	}

	.mobile-nav a {
		display: grid;
		place-items: center;
		font-size: 15px;
		color: var(--muted);
		padding: 7px;
	}

	.mobile-nav a.active {
		color: var(--primary);
	}

	.mobile-menu {
		display: block;
	}
}

@media(max-width:650px) {

	.stats,
	.cards,
	.form-grid {
		grid-template-columns: 1fr;
	}

	.topbar {
		align-items: flex-start;
	}

	.topbar h1 {
		font-size: 22px;
	}

	.actions {
		justify-content: flex-end;
	}

	.product {
		grid-template-columns: auto 1fr;
	}

	.product .actions {
		grid-column: 2;
	}

	.card {
		padding: 15px;
	}
}

.aff-src-manage {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: stretch;
}

.hide {
	display: none !important;
}

.invisible {
	visibility: hidden !important;
}

.subs {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	flex-direction: row;
	width: stretch;
	border: 1px solid var(--surface2);
	border-radius: inherit;
	padding: 1rem;
	align-content: space-around;
}

.text-center {
	text-align: center !important;
}

/* --- Base Structural Layout --- */
.bs-pagination-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 1rem 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	width: stretch;
}

.bs-pagination {
	display: flex;
	padding-left: 0;
	list-style: none;
	border-radius: 0.375rem;
	margin: 0;
	flex-wrap: wrap;
}

.bs-page-item:first-child .bs-page-link {
	border-top-left-radius: 0.375rem;
	border-bottom-left-radius: 0.375rem;
}

.bs-page-item:last-child .bs-page-link {
	border-top-right-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}

.bs-page-item:not(:first-child) .bs-page-link {
	margin-left: -1px;
}

.bs-page-link {
	position: relative;
	display: block;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	text-decoration: none;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE (Mobile First Stack Adjustments)
   ========================================================================== */
@media (max-width: 639px) {
	.bs-pagination-wrapper {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 0.75rem;
	}

	.bs-pagination-info {
		order: 1;
		/* Puts counter details nicely above mobile buttons */
	}

	nav {
		order: 2;
		width: 100%;
	}

	.bs-pagination {
		justify-content: center;
		/* Centers block cleanly on mobile screens */
		width: 100%;
	}

	.bs-page-link {
		padding: 0.375rem 0.625rem;
		/* Slightly narrower padding for tiny displays */
		font-size: 0.935rem;
	}
}


/* ==========================================================================
   LIGHT MODE TARGET ([data-theme="light"]) - No pure white backgrounds
   ========================================================================== */
[data-theme="light"] .bs-pagination-info {
	color: #495057;
}

[data-theme="light"] .bs-page-link {
	color: #0d6efd;
	background-color: #f8f9fa;
	border: 1px solid #ced4da;
}

[data-theme="light"] .bs-page-link:hover {
	z-index: 2;
	color: #0a58ca;
	background-color: #e9ecef;
	border-color: #bcd0f7;
}

[data-theme="light"] .bs-page-link:focus {
	z-index: 3;
	color: #0a58ca;
	background-color: #e9ecef;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

[data-theme="light"] .bs-page-item.bs-active .bs-page-link {
	z-index: 3;
	color: #fff;
	background-color: #0d6efd;
	border-color: #0d6efd;
}

[data-theme="light"] .bs-page-item.bs-disabled .bs-page-link {
	color: #6c757d;
	pointer-events: none;
	background-color: #e2e6ea;
	border-color: #ced4da;
}


/* ==========================================================================
   DARK MODE TARGET ([data-theme="dark"]) - Rich Charcoal & Neon Sapphire Accent
   ========================================================================== */
[data-theme="dark"] .bs-pagination-info {
	color: #adb5bd;
}

[data-theme="dark"] .bs-page-link {
	color: #3ea8ff;
	background-color: #212529;
	border: 1px solid #495057;
}

[data-theme="dark"] .bs-page-link:hover {
	z-index: 2;
	color: #6ea8fe;
	background-color: #2b3035;
	border-color: #6c757d;
}

[data-theme="dark"] .bs-page-link:focus {
	z-index: 3;
	color: #6ea8fe;
	background-color: #2b3035;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(62, 168, 255, 0.35);
}

[data-theme="dark"] .bs-page-item.bs-active .bs-page-link {
	z-index: 3;
	color: #fff;
	background-color: #0d6efd;
	border-color: #0d6efd;
}

[data-theme="dark"] .bs-page-item.bs-disabled .bs-page-link {
	color: #6c757d;
	pointer-events: none;
	background-color: #1a1d20;
	border-color: #343a40;
}

/* --- Search Component Layout --- */
.bs-search-container {
	margin-bottom: 1rem;
	width: 100%;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.bs-search-form {
	display: flex;
	width: 100%;
	justify-content: center;
}

.bs-search-group {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 500px;
	/* Limits search bar width on wide desktop monitors */
}

.bs-search-input {
	flex: 1 1 auto;
	padding: 0.375rem 2.25rem 0.375rem 0.75rem;
	font-size: 1rem;
	border-radius: 0.375rem 0 0 0.375rem;
	outline: none;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bs-clear-btn {
	position: absolute;
	right: 90px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.25rem;
	color: #6c757d;
	text-decoration: none;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 4;
}

.bs-clear-btn:hover {
	color: #dc3545;
}

.bs-search-btn {
	padding: 0.375rem 1rem;
	font-size: 1rem;
	font-weight: 400;
	color: #fff;
	background-color: #0d6efd;
	border: 1px solid #0d6efd;
	border-radius: 0 0.375rem 0.375rem 0;
	cursor: pointer;
	transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.bs-search-btn:hover {
	background-color: #0a58ca;
	border-color: #0a58ca;
}

.bs-empty-state {
	padding: 2rem;
	text-align: center;
	border-radius: 0.375rem;
	font-size: 1rem;
}

/* ==========================================================================
   LIGHT MODE TARGET ([data-theme="light"])
   ========================================================================== */
[data-theme="light"] .bs-search-input {
	background-color: #f8f9fa;
	border: 1px solid #ced4da;
	color: #212529;
}

[data-theme="light"] .bs-search-input:focus {
	border-color: #86b7fe;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

[data-theme="light"] .bs-empty-state {
	background-color: #f8f9fa;
	color: #6c757d;
	border: 1px dashed #ced4da;
}

/* ==========================================================================
   DARK MODE TARGET ([data-theme="dark"])
   ========================================================================== */
[data-theme="dark"] .bs-search-input {
	background-color: #212529;
	border: 1px solid #495057;
	color: #f8f9fa;
}

[data-theme="dark"] .bs-search-input:focus {
	border-color: #0d6efd;
	box-shadow: 0 0 0 0.25rem rgba(62, 168, 255, 0.25);
}

[data-theme="dark"] .bs-empty-state {
	background-color: #1a1d20;
	color: #adb5bd;
	border: 1px dashed #495057;
}

/* ==========================================================================
   RESPONSIVE SCALING (Mobile Optimization)
   ========================================================================== */
@media (max-width: 639px) {
	.bs-search-group {
		max-width: 100%;
		/* Stretches search input bar full width on mobile devices */
	}
}

.clickable {
	cursor: pointer;
	display: flex;
	padding: 0.7rem;
	border-radius: 1rem;
	gap: 5px;
	user-select: none;
	justify-content: center;
	width: stretch;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
}

.clickable:hover {
	background: var(--bg);
}

.clickable:active {
	background: var(--border);
}

.unknown {
	font-size: xx-large;
	background: brown;
	width: stretch;
	text-align: center;
	border-radius: 50%;
	height: stretch;
}

.switch-button {
	display: flex;
	align-items: center;
	width: stretch;
	justify-content: space-between;
}

.fontsize.xxsmall {
	font-size: xx-small !important;
}

.fontsize.xsmall {
	font-size: x-small !important;
}

.fontsize.smaller {
	font-size: smaller !important;
}

.fontsize.small {
	font-size: small !important;
}

.fontsize.medium {
	font-size: medium !important;
}

.fontsize.large {
	font-size: large !important;
}

.fontsize.larger {
	font-size: larger !important;
}

.fontsize.xlarge {
	font-size: x-large !important;
}

.fontsize.xxlarge {
	font-size: xx-large !important;
}

.badgeset {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: stretch;
}

/* 1. Relative parent to anchor our absolute floating elements */
.info-wrapper {
	position: relative;
	display: inline-block;
}

/* 2. Style the native details element and hide standard browser arrows */
.info-details summary::-webkit-details-marker {
	display: none;
}

.info-btn {
	list-style: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: var(--text);
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 0.2s, color 0.2s;
	position: relative;
	/* z-index: 60; */
	/* Sits above the backdrop so it remains clickable */
}

.info-btn:hover,
.info-btn:focus {
	background-color: var(--bg);
	color: #2563eb;
}

.info-btn svg {
	width: 20px;
	height: 20px;
}

/* 3. The floating popover logic */
.info-card {
	position: absolute;
	bottom: 135%;
	/* Floats card exactly above the icon */
	left: 50%;
	transform: translateX(-50%);
	width: 18rem;
	max-width: calc(100vw - 32px);
	/* Responsive safeguard for tiny mobile screens */
	background-color: var(--bg);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 14px;
	box-shadow: 0 10px 15px -3px var(--shadow), 0 4px 6px -4px var(--shadow);
	z-index: 50;
	/* Sits completely on top of everything else */
	animation: slideUp 0.15s ease-out;
	text-align: left;
}

/* Little down arrow beneath the card targeting the icon center */
.info-card::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-width: 6px;
	border-style: solid;
	border-color: var(--border) transparent transparent transparent;
}

/* 4. CSS MAGIC: Display elements only when Checked */
.info-toggle:checked~.info-backdrop {
	display: block;
}

.info-toggle:checked~.info-card {
	display: block;
	animation: slideUp 0.15s ease-out;
}

.info-toggle:checked~.info-btn {
	background-color: var(--bg);
	color: #2563eb;
}

/* 6. Text Typography styles */
.card-title {
	margin: 0 0 6px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	font-family: sans-serif;
}

.card-list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--muted);
	font-family: sans-serif;
	margin-bottom: 4px;
}

.card-list li {
	margin-bottom: 4px;
}

.card-list li:last-child {
	margin-bottom: 0;
}

/* Clean entry transition */
@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

.center {
	text-align: center !important;
}

.flex-middle {
	flex: 0 0 22rem;
}

.btn-svged {
	display: flex;
	width: max-content;
	gap: 5px;
	align-items: center;
}

.common-flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.iframe-centered-wrapper {
	display: grid;
	place-items: center;
	width: 100%;
	margin: 10px 0;
}

.iframe-centered-wrapper iframe {
	max-width: 100%;
}

.a-link {
	text-decoration: underline;
	text-decoration-style: double;
}

.blog-post {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-post .card {
	width: 100%;
}

.blog-post .f-image {
	width: stretch;
}

.blog-post .f-image img {
	width: 100%;
}