/* HB Licentie Centrale — site shell */
:root {
	--hb-navy: #1d2a3b;
	--hb-navy-2: #2c425f;
	--hb-orange: #d97706;
	--hb-orange-dark: #b45309;
	--hb-bg: #eef2f7;
	--hb-surface: #ffffff;
	--hb-text: #1d2a3b;
	--hb-muted: #64748b;
	--hb-border: #e2e8f0;
	--hb-radius: 14px;
	--hb-shadow: 0 4px 24px rgba(29, 42, 59, 0.08);
	--hb-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body.hb-lc-site {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--hb-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--hb-text);
	background:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(217, 119, 6, 0.08), transparent),
		linear-gradient(180deg, #f8fafc 0%, var(--hb-bg) 100%);
}

body.hb-lc-dashboard {
	background:
		radial-gradient(ellipse 70% 40% at 100% 0%, rgba(44, 66, 95, 0.12), transparent),
		radial-gradient(ellipse 60% 35% at 0% 100%, rgba(217, 119, 6, 0.06), transparent),
		linear-gradient(180deg, #f8fafc 0%, var(--hb-bg) 100%);
}

/* Hide WP cruft */
.hb-lc-site .widget,
.hb-lc-site .wp-block-search,
.hb-lc-site #searchform,
.hb-lc-site .edit-link,
.hb-lc-site .post-edit-link {
	display: none !important;
}

/* Header */
.hb-lc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(29, 42, 59, 0.97);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.hb-lc-header__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.hb-lc-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #fff;
}

.hb-lc-brand__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--hb-orange), var(--hb-orange-dark));
	color: #fff;
	flex-shrink: 0;
}

.hb-lc-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.hb-lc-brand__text strong {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.hb-lc-brand__text small {
	font-size: 0.72rem;
	opacity: 0.65;
	font-weight: 400;
	margin-top: 2px;
}

.hb-lc-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.hb-lc-user {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.75);
	padding-right: 4px;
}

.hb-lc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.hb-lc-btn--primary {
	background: var(--hb-orange);
	color: #fff;
	border-color: var(--hb-orange);
}

.hb-lc-btn--primary:hover {
	background: var(--hb-orange-dark);
	border-color: var(--hb-orange-dark);
	color: #fff;
}

.hb-lc-btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.9);
	border-color: rgba(255, 255, 255, 0.15);
}

.hb-lc-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

/* Main */
.hb-lc-main {
	flex: 1;
	width: 100%;
}

.hb-lc-article {
	max-width: 720px;
	margin: 40px auto;
	padding: 0 20px 60px;
}

.hb-lc-article__head h1 {
	margin: 0 0 16px;
	font-size: 1.75rem;
	color: var(--hb-navy);
}

.hb-lc-article__body {
	background: var(--hb-surface);
	border: 1px solid var(--hb-border);
	border-radius: var(--hb-radius);
	padding: 24px;
	box-shadow: var(--hb-shadow);
}

/* Footer */
.hb-lc-footer {
	margin-top: auto;
	border-top: 1px solid var(--hb-border);
	background: rgba(255, 255, 255, 0.6);
}

.hb-lc-footer__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 18px 20px;
}

.hb-lc-footer p {
	margin: 0;
	font-size: 0.8rem;
	color: var(--hb-muted);
}

/* Admin bar offset */
body.admin-bar .hb-lc-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .hb-lc-header {
		top: 46px;
	}

	.hb-lc-header__inner {
		padding: 12px 16px;
	}

	.hb-lc-brand__text small {
		display: none;
	}

	.hb-lc-user {
		display: none;
	}
}
