/* ==========================================================================
   Business Directory — design system & components
   --------------------------------------------------------------------------
   - Tokens live on the top-level containers and inherit to all descendants.
   - Automatic light/dark via prefers-color-scheme.
   - Accessible: focus-visible rings, reduced-motion, screen-reader utilities.
   ========================================================================== */

.bd-directory,
.bd-single,
.bd-register,
.bd-dashboard,
.bd-map-wrap {
	/* Brand */
	--bd-primary: #4f46e5;
	--bd-primary-hover: #4338ca;
	--bd-primary-contrast: #ffffff;
	--bd-accent: #f59e0b;
	--bd-star: #f59e0b;
	--bd-star-empty: #d1d5db;

	/* Surfaces & text (light) */
	--bd-bg: #ffffff;
	--bd-bg-subtle: #f8fafc;
	--bd-bg-muted: #f1f5f9;
	--bd-text: #0f172a;
	--bd-text-muted: #64748b;
	--bd-border: #e2e8f0;
	--bd-ring: rgba(79, 70, 229, 0.45);

	/* Feedback */
	--bd-success-bg: #dcfce7;
	--bd-success-text: #166534;
	--bd-success-border: #86efac;
	--bd-error-bg: #fee2e2;
	--bd-error-text: #991b1b;
	--bd-error-border: #fca5a5;

	/* Scale */
	--bd-radius: 14px;
	--bd-radius-sm: 9px;
	--bd-radius-pill: 999px;
	--bd-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
	--bd-shadow-md: 0 10px 24px rgba(15, 23, 42, 0.10);
	--bd-shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.16);
	--bd-space: 16px;
	--bd-font: inherit;

	color: var(--bd-text);
	font-family: var(--bd-font);
	max-width: 1200px;
	margin-inline: auto;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
	.bd-directory,
	.bd-single,
	.bd-register,
	.bd-dashboard,
	.bd-map-wrap {
		--bd-primary: #818cf8;
		--bd-primary-hover: #a5b4fc;
		--bd-primary-contrast: #0b1020;
		--bd-bg: #0f172a;
		--bd-bg-subtle: #111c33;
		--bd-bg-muted: #1e293b;
		--bd-text: #e2e8f0;
		--bd-text-muted: #94a3b8;
		--bd-border: #334155;
		--bd-ring: rgba(129, 140, 248, 0.5);
		--bd-success-bg: #052e1a;
		--bd-success-text: #86efac;
		--bd-success-border: #14532d;
		--bd-error-bg: #3f1212;
		--bd-error-text: #fca5a5;
		--bd-error-border: #7f1d1d;
		--bd-shadow-md: 0 10px 24px rgba(0, 0, 0, 0.5);
		--bd-shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.6);
	}
}

/* ---- Utilities ------------------------------------------------------------ */
.bd-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.bd-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}
.bd-muted { color: var(--bd-text-muted); }

:where(.bd-directory, .bd-single, .bd-register, .bd-dashboard) :focus-visible {
	outline: 3px solid var(--bd-ring);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---- Buttons -------------------------------------------------------------- */
/* Buttons use !important on the paint properties so an active theme's own
   button styles can't override them (fixes "invisible until hover"). */
.bd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	background: var(--bd-primary) !important;
	background-image: none !important;
	color: var(--bd-primary-contrast) !important;
	border: 1px solid transparent !important;
	border-radius: var(--bd-radius-sm);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none !important;
	text-shadow: none !important;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.bd-btn:hover, .bd-btn:focus { background: var(--bd-primary-hover) !important; color: var(--bd-primary-contrast) !important; }
.bd-btn:active { transform: translateY(1px); }
.bd-btn[disabled], .bd-btn.is-loading { opacity: 0.75; cursor: progress; }
.bd-btn-view { width: 100%; margin-top: 14px; }
.bd-btn-sm { padding: 7px 13px; font-size: 13px; }
.bd-btn-ghost {
	background: transparent !important;
	color: var(--bd-primary) !important;
	border-color: var(--bd-border) !important;
}
.bd-btn-ghost:hover { background: var(--bd-bg-muted) !important; color: var(--bd-primary) !important; }
.bd-btn-upgrade { background: var(--bd-accent) !important; color: #4a2e00 !important; margin-top: 4px; }
.bd-btn-upgrade:hover { filter: brightness(0.95); }

/* Spinner shown while a form submits */
.bd-btn.is-loading::before {
	content: "";
	width: 15px; height: 15px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: bd-spin 0.7s linear infinite;
}
@keyframes bd-spin { to { transform: rotate(360deg); } }

/* ---- Directory filters ---------------------------------------------------- */
.bd-directory-filters {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 28px;
	padding: 16px;
	background: var(--bd-bg-subtle);
	border: 1px solid var(--bd-border);
	border-radius: var(--bd-radius);
}
.bd-directory-filters .bd-search-wrap { flex: 1 1 260px; }
.bd-directory-filters input[type="text"],
.bd-directory-filters select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--bd-border);
	border-radius: var(--bd-radius-sm);
	font-size: 14px;
	background: var(--bd-bg);
	color: var(--bd-text);
}

/* ---- Grid ----------------------------------------------------------------- */
/* align-items:start stops sparse cards from stretching to the tallest card in
   the row (which was leaving big empty gaps). */
.bd-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); align-items: start; }
.bd-cols-1 { grid-template-columns: repeat(1, 1fr); }
.bd-cols-2 { grid-template-columns: repeat(2, 1fr); }
.bd-cols-3 { grid-template-columns: repeat(3, 1fr); }
.bd-cols-4 { grid-template-columns: repeat(4, 1fr); }
.bd-cols-5 { grid-template-columns: repeat(5, 1fr); }
.bd-cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) { .bd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bd-grid { grid-template-columns: 1fr; } }

/* ---- Card ----------------------------------------------------------------- */
.bd-card {
	background: var(--bd-bg);
	border: 1px solid var(--bd-border);
	border-radius: var(--bd-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--bd-shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.bd-card:hover { transform: translateY(-4px); box-shadow: var(--bd-shadow-lg); }
.bd-card.is-featured { border-color: var(--bd-accent); }
.bd-card.is-featured:hover { box-shadow: 0 20px 45px rgba(245, 158, 11, 0.25); }
.bd-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--bd-bg-muted);
	overflow: hidden;
}
.bd-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.bd-card:hover .bd-card-media img { transform: scale(1.05); }
.bd-card-placeholder {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
	font-size: 48px; font-weight: 700;
	color: var(--bd-primary);
	background: color-mix(in srgb, var(--bd-primary) 12%, var(--bd-bg));
}
.bd-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.bd-card-cat, .bd-single-cat {
	display: inline-block;
	align-self: flex-start;
	font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.05em;
	color: var(--bd-primary);
	background: color-mix(in srgb, var(--bd-primary) 12%, var(--bd-bg));
	padding: 4px 10px;
	border-radius: var(--bd-radius-pill);
	margin-bottom: 10px;
}
.bd-card-title { font-size: 18px; margin: 0 0 6px; line-height: 1.3; }
.bd-card-title a { color: var(--bd-text); text-decoration: none; }
.bd-card-title a:hover { color: var(--bd-primary); }
.bd-card-tagline { color: var(--bd-text-muted); font-size: 14px; margin: 0 0 12px; }

/* Content alignment (Settings → Layout → Alignment: center) */
.bd-align-center .bd-card-body { text-align: center; }
.bd-align-center .bd-card-cat { align-self: center; }
.bd-align-center .bd-card-rating,
.bd-align-center .bd-card-social { justify-content: center; }

/* ---- Social icons --------------------------------------------------------- */
.bd-card-social { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; padding-top: 4px; }
.bd-social-link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px;
	border-radius: var(--bd-radius-sm);
	background: var(--bd-bg-muted);
	color: var(--bd-text-muted);
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.bd-social-link:hover { background: var(--bd-primary); color: #fff; transform: translateY(-2px); }

.bd-social-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.bd-social-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px;
	border-radius: var(--bd-radius-sm);
	background: var(--bd-bg-muted); color: var(--bd-text);
	text-decoration: none; font-weight: 600; font-size: 14px;
	transition: transform 0.12s ease, filter 0.12s ease;
}
.bd-social-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.bd-social-btn.bd-social-facebook  { background: #1877f2; color: #fff !important; }
.bd-social-btn.bd-social-instagram { background: #e1306c; color: #fff !important; }
.bd-social-btn.bd-social-twitter   { background: #000000; color: #fff !important; }
.bd-social-btn.bd-social-linkedin  { background: #0a66c2; color: #fff !important; }
.bd-social-btn.bd-social-youtube   { background: #ff0000; color: #fff !important; }
.bd-social-btn.bd-social-tiktok    { background: #010101; color: #fff !important; }
.bd-social-btn.bd-social-whatsapp  { background: #25d366; color: #fff !important; }

/* ---- Featured badge ------------------------------------------------------- */
.bd-featured-badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	display: inline-flex; align-items: center; gap: 4px;
	background: var(--bd-accent); color: #4a2e00;
	font-size: 11px; font-weight: 800;
	text-transform: uppercase; letter-spacing: 0.04em;
	padding: 5px 11px; border-radius: var(--bd-radius-pill);
	box-shadow: var(--bd-shadow-sm);
}
.bd-featured-inline { position: static; display: inline-flex; margin-bottom: 8px; }

/* ---- Ratings (display) ---------------------------------------------------- */
.bd-stars { display: inline-flex; letter-spacing: 1px; }
.bd-star { color: var(--bd-star-empty); font-size: 16px; line-height: 1; }
.bd-star.is-full { color: var(--bd-star); }
.bd-star.is-half {
	background: linear-gradient(90deg, var(--bd-star) 50%, var(--bd-star-empty) 50%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
.bd-rating-num { font-weight: 700; margin-left: 6px; font-size: 14px; }
.bd-rating-count { color: var(--bd-text-muted); font-size: 13px; margin-left: 6px; }
.bd-card-rating { margin-bottom: 12px; display: flex; align-items: center; }
.bd-single-rating { margin-top: 10px; display: flex; align-items: center; gap: 4px; }

/* ---- Ratings (accessible radio input) ------------------------------------- */
.bd-star-input { border: 0; padding: 0; margin: 0 0 18px; }
.bd-stars-radio { display: inline-flex; flex-direction: row-reverse; }
.bd-stars-radio label {
	font-size: 32px; line-height: 1;
	color: var(--bd-star-empty);
	cursor: pointer; padding: 0 2px;
	transition: color 0.12s ease, transform 0.12s ease;
}
/* Selected star + all lower stars (they follow in reversed DOM order). */
.bd-stars-radio input:checked ~ label,
.bd-stars-radio label:hover,
.bd-stars-radio label:hover ~ label { color: var(--bd-star); }
.bd-stars-radio label:hover { transform: scale(1.12); }
.bd-stars-radio input:focus-visible + label { outline: 3px solid var(--bd-ring); outline-offset: 2px; border-radius: 4px; }

/* ---- Pagination ----------------------------------------------------------- */
.bd-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.bd-page {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--bd-border); border-radius: var(--bd-radius-sm);
	text-decoration: none; color: var(--bd-text); background: var(--bd-bg);
	transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.bd-page.is-current, .bd-page:hover { background: var(--bd-primary); color: #fff; border-color: var(--bd-primary); }
.bd-no-results { text-align: center; padding: 56px 24px; color: var(--bd-text-muted); }

/* ---- Single listing ------------------------------------------------------- */
.bd-single-header {
	display: flex; gap: 24px; align-items: center;
	padding: 32px 0; border-bottom: 1px solid var(--bd-border); margin-bottom: 32px;
}
.bd-single-logo img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--bd-radius); box-shadow: var(--bd-shadow-sm); }
.bd-single-title { margin: 0 0 6px; font-size: clamp(26px, 4vw, 34px); line-height: 1.15; }
.bd-single-tagline { color: var(--bd-text-muted); font-size: 17px; margin: 0; }
.bd-single-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 782px) {
	.bd-single-layout { grid-template-columns: 1fr; }
	.bd-single-header { flex-direction: column; text-align: center; }
	.bd-single-cat, .bd-featured-inline { align-self: center; }
}
.bd-single-content section { margin-bottom: 36px; }
.bd-single-content h2 { font-size: 22px; margin-bottom: 14px; }
.bd-info-card {
	background: var(--bd-bg-subtle);
	border: 1px solid var(--bd-border);
	border-radius: var(--bd-radius);
	padding: 24px; position: sticky; top: 24px; box-shadow: var(--bd-shadow-sm);
}
.bd-info-card h3 { margin-top: 0; }
.bd-info-list { list-style: none; padding: 0; margin: 0 0 18px; }
.bd-info-list li { padding: 10px 0; border-bottom: 1px solid var(--bd-border); font-size: 14px; }
.bd-info-list li:last-child { border-bottom: none; }
.bd-info-list strong { display: block; color: var(--bd-text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.bd-info-list a { color: var(--bd-primary); text-decoration: none; word-break: break-word; }
.bd-info-list a:hover { text-decoration: underline; }
.bd-btn-back { background: transparent; color: var(--bd-primary) !important; padding-left: 0; }
.bd-btn-back:hover { background: transparent; text-decoration: underline; }

/* ---- Reviews -------------------------------------------------------------- */
.bd-review-list { list-style: none; padding: 0; margin: 0 0 28px; }
.bd-review { border: 1px solid var(--bd-border); border-radius: var(--bd-radius); padding: 16px 18px; margin-bottom: 14px; background: var(--bd-bg); }
.bd-review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.bd-review-body { margin: 0 0 8px; }
.bd-review-date { color: var(--bd-text-muted); font-size: 12px; }
.bd-review-form { background: var(--bd-bg-subtle); border: 1px solid var(--bd-border); border-radius: var(--bd-radius); padding: 24px; }
.bd-review-form h3 { margin-top: 0; }

/* ---- Map ------------------------------------------------------------------ */
.bd-map-wrap { border-radius: var(--bd-radius); overflow: hidden; border: 1px solid var(--bd-border); box-shadow: var(--bd-shadow-sm); }
.bd-map { width: 100%; }
.bd-map-popup { text-align: center; min-width: 120px; }
.bd-map-popup img { width: 100%; height: 80px; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.bd-map-popup a { text-decoration: none; color: var(--bd-primary); font-weight: 600; }

/* ---- Registration / edit form --------------------------------------------- */
.bd-register { max-width: 780px; }
.bd-register-title { margin-bottom: 24px; }
.bd-fieldset { background: var(--bd-bg-subtle); border: 1px solid var(--bd-border); border-radius: var(--bd-radius); padding: 24px; margin-bottom: 24px; }
.bd-fieldset h3 { margin-top: 0; margin-bottom: 18px; }
.bd-field { margin-bottom: 16px; }
.bd-field label, .bd-field-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; padding: 0; }
.bd-field input, .bd-field select, .bd-field textarea {
	width: 100%; padding: 11px 14px;
	border: 1px solid var(--bd-border); border-radius: var(--bd-radius-sm);
	font-size: 14px; box-sizing: border-box;
	background: var(--bd-bg); color: var(--bd-text);
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.bd-field input:focus, .bd-field select:focus, .bd-field textarea:focus {
	border-color: var(--bd-primary);
	box-shadow: 0 0 0 3px var(--bd-ring);
	outline: none;
}
.bd-req { color: #dc2626; }
.bd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .bd-form-grid { grid-template-columns: 1fr; } }
.bd-form-message { display: none; padding: 14px 18px; border-radius: var(--bd-radius-sm); margin-bottom: 20px; font-weight: 600; }
.bd-form-message.is-success { display: block; background: var(--bd-success-bg); color: var(--bd-success-text); border: 1px solid var(--bd-success-border); }
.bd-form-message.is-error { display: block; background: var(--bd-error-bg); color: var(--bd-error-text); border: 1px solid var(--bd-error-border); }
.bd-btn-submit { font-size: 16px; padding: 13px 30px; }
.bd-hint { display: block; color: var(--bd-text-muted); font-size: 12px; margin-top: 4px; }
.bd-current-thumb img { border-radius: 8px; margin-top: 8px; max-width: 84px; height: auto; }

/* ---- Dashboard ------------------------------------------------------------ */
.bd-dashboard { max-width: 960px; }
.bd-dashboard-head { margin-bottom: 24px; }
.bd-notice { background: var(--bd-bg-subtle); border: 1px solid var(--bd-border); padding: 16px 20px; border-radius: var(--bd-radius); }
.bd-notice a { color: var(--bd-primary); }
.bd-dashboard-table { width: 100%; border-collapse: collapse; }
.bd-dashboard-table th, .bd-dashboard-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--bd-border); }
.bd-dashboard-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--bd-text-muted); }
.bd-status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--bd-radius-pill); }
.bd-status-publish { background: var(--bd-success-bg); color: var(--bd-success-text); }
.bd-status-pending { background: #fef9c3; color: #854d0e; }
.bd-status-draft { background: var(--bd-bg-muted); color: var(--bd-text-muted); }
@media (max-width: 600px) {
	.bd-dashboard-table thead { display: none; }
	.bd-dashboard-table tr { display: block; border: 1px solid var(--bd-border); border-radius: var(--bd-radius); margin-bottom: 12px; padding: 8px 12px; }
	.bd-dashboard-table td { display: flex; justify-content: space-between; gap: 12px; border: none; padding: 6px 0; }
	.bd-dashboard-table td::before { content: attr(data-label); font-weight: 600; color: var(--bd-text-muted); }
}

/* ---- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.bd-directory *, .bd-single *, .bd-register *, .bd-dashboard *, .bd-map-wrap * {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
	.bd-card:hover { transform: none; }
	.bd-card:hover .bd-card-media img { transform: none; }
}

/* ---- Tier badges (Verified / Verified Premium) ---------------------------- */
.bd-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 11px;
	border-radius: var(--bd-radius-pill);
	white-space: nowrap;
}
.bd-badge-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px; height: 15px;
	border-radius: 50%;
	font-size: 10px;
	background: currentColor;
}
.bd-badge-check::before { content: "✓"; color: #fff; }
.bd-badge-verified { color: #1d4ed8; background: color-mix(in srgb, #1d4ed8 12%, var(--bd-bg)); }
.bd-badge-premium  { color: #b45309; background: color-mix(in srgb, #f59e0b 20%, var(--bd-bg)); }
.bd-badge-corner { position: absolute; top: 12px; left: 12px; z-index: 2; box-shadow: var(--bd-shadow-sm); }
.bd-badge-corner .bd-badge { box-shadow: var(--bd-shadow-sm); }
.bd-badge-inline { display: inline-flex; margin-bottom: 8px; }

/* ---- Tier picker (registration form) -------------------------------------- */
.bd-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
@media (max-width: 600px) { .bd-tiers { grid-template-columns: 1fr; } }
.bd-tier-card { position: relative; cursor: pointer; display: block; }
.bd-tier-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.bd-tier-inner {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 18px 16px;
	border: 2px solid var(--bd-border);
	border-radius: var(--bd-radius);
	background: var(--bd-bg);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.bd-tier-card:hover .bd-tier-inner { border-color: var(--bd-primary); transform: translateY(-2px); }
.bd-tier-card input:checked + .bd-tier-inner {
	border-color: var(--bd-primary);
	box-shadow: 0 0 0 3px var(--bd-ring);
}
.bd-tier-card input:focus-visible + .bd-tier-inner { outline: 3px solid var(--bd-ring); outline-offset: 2px; }
.bd-tier-name { font-weight: 700; font-size: 15px; }
.bd-tier-price { font-size: 20px; font-weight: 800; color: var(--bd-primary); }
.bd-tier-feats { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.bd-tier-feat { font-size: 13px; color: var(--bd-text-muted); }

/* ---- Admin: pending approvals screen -------------------------------------- */
.bd-approvals-table td { vertical-align: middle; }
.bd-admin-email { color: #646970; font-size: 12px; }
.bd-admin-tier { display: block; margin-bottom: 8px; font-size: 12px; color: #646970; }
.bd-admin-tier select { display: block; margin-top: 3px; max-width: 300px; }
.bd-admin-buttons { display: flex; gap: 8px; }
.bd-req-tier {
	display: inline-block; font-size: 12px; font-weight: 600;
	padding: 3px 9px; border-radius: 999px; background: #f0f0f1; color: #3c434a;
}
.bd-req-verified { background: #dbeafe; color: #1d4ed8; }
.bd-req-premium  { background: #fef3c7; color: #b45309; }
.bd-admin-empty {
	background: #fff; border: 1px solid #dcdcde; border-left: 4px solid #00a32a;
	border-radius: 4px; padding: 20px 24px; margin-top: 16px;
}
.bd-approvals .bd-deny { color: #b32d2e; }
.bd-approvals .bd-deny:hover { border-color: #b32d2e; color: #b32d2e; }

/* ---- Admin meta box ------------------------------------------------------- */
.bd-meta-group-title { border-bottom: 1px solid #dcdcde; padding-bottom: 8px; margin-top: 20px; }
.bd-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 782px) { .bd-meta-grid { grid-template-columns: 1fr; } }
