/* Licentie Centrale dashboard (shortcode) */
.hbls-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 28px 20px 48px;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: #1d2a3b;
}

.hbls-hero {
	background: linear-gradient(135deg, #1d2a3b 0%, #2c425f 60%, #334155 100%);
	color: #fff;
	border-radius: 16px;
	padding: 32px 28px;
	margin-bottom: 24px;
	box-shadow: 0 8px 32px rgba(29, 42, 59, 0.2);
	position: relative;
	overflow: hidden;
}

.hbls-hero::after {
	content: "";
	position: absolute;
	top: -40%;
	right: -10%;
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, rgba(217, 119, 6, 0.25) 0%, transparent 70%);
	pointer-events: none;
}

.hbls-hero h1 {
	margin: 0 0 8px;
	font-size: 1.85rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	position: relative;
}

.hbls-hero p {
	margin: 0;
	opacity: 0.88;
	font-size: 0.95rem;
	position: relative;
	max-width: 52ch;
}

.hbls-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	padding: 6px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	width: fit-content;
	max-width: 100%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hbls-nav a {
	display: inline-block;
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
	background: transparent;
	color: #475569;
	border: 1px solid transparent;
	transition: background 0.15s, color 0.15s;
}

.hbls-nav a:hover {
	background: #f1f5f9;
	color: #1d2a3b;
}

.hbls-nav a.is-active {
	background: #d97706;
	color: #fff;
	border-color: #d97706;
	box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.hbls-plugin-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.hbls-plugin-card {
	display: block;
	padding: 22px;
	border-radius: 14px;
	border: 1px solid #e6e9ef;
	background: #fff;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.hbls-plugin-card:hover {
	border-color: #d97706;
	box-shadow: 0 8px 24px rgba(217, 119, 6, 0.12);
	transform: translateY(-2px);
}

.hbls-plugin-card strong {
	display: block;
	font-size: 1.08rem;
	margin-bottom: 6px;
	color: #1d2a3b;
}

.hbls-plugin-card span {
	font-size: 0.85rem;
	color: #64748b;
}

.hbls-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
	margin-bottom: 24px;
}

.hbls-stat {
	background: #fff;
	border: 1px solid #e6e9ef;
	border-radius: 12px;
	padding: 18px 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hbls-stat span {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
	margin-bottom: 6px;
	font-weight: 600;
}

.hbls-stat strong {
	display: block;
	font-size: 1.65rem;
	color: #d97706;
	font-weight: 700;
	line-height: 1;
}

.hbls-card {
	background: #fff;
	border: 1px solid #e6e9ef;
	border-radius: 14px;
	padding: 22px;
	margin-bottom: 20px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.hbls-card h2 {
	margin: 0 0 16px;
	font-size: 1.12rem;
	font-weight: 700;
	color: #1d2a3b;
}

.hbls-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.hbls-table th,
.hbls-table td {
	padding: 11px 10px;
	border-bottom: 1px solid #eef1f6;
	text-align: left;
	vertical-align: top;
}

.hbls-table tbody tr:hover {
	background: #fafbfc;
}

.hbls-table code {
	word-break: break-all;
	font-size: 0.76rem;
	background: #f1f5f9;
	padding: 3px 6px;
	border-radius: 4px;
}

.hbls-key-input {
	font-family: ui-monospace, Consolas, monospace;
	font-size: 0.8rem;
}

.hbls-table th {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
	font-weight: 700;
}

.hbls-badge {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
}

.hbls-badge.active {
	background: #dcfce7;
	color: #166534;
}

.hbls-badge.blocked {
	background: #fee2e2;
	color: #991b1b;
}

.hbls-btn {
	display: inline-block;
	border: 0;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: filter 0.15s, transform 0.1s;
}

.hbls-btn:hover {
	filter: brightness(0.95);
}

.hbls-btn:active {
	transform: scale(0.98);
}

.hbls-btn-primary {
	background: #d97706;
	color: #fff;
}

.hbls-btn-danger {
	background: #b91c1c;
	color: #fff;
}

.hbls-btn-muted {
	background: #eef2f7;
	color: #334155;
}

.hbls-btn-success {
	background: #15803d;
	color: #fff;
}

.hbls-actions form {
	display: inline-block;
	margin: 2px 4px 2px 0;
}

.hbls-notice {
	padding: 13px 16px;
	border-radius: 10px;
	margin-bottom: 16px;
	font-size: 0.9rem;
}

.hbls-notice.ok {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.hbls-notice.warn {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
}

.hbls-login {
	text-align: center;
	padding: 80px 20px 100px;
}

.hbls-login .hbls-hero {
	max-width: 480px;
	margin: 0 auto 24px;
}

.hbls-login a.hbls-btn-primary {
	padding: 14px 28px;
	font-size: 1rem;
	border-radius: 10px;
}

.hbls-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 700px) {
	.hbls-form-grid {
		grid-template-columns: 1fr;
	}

	.hbls-nav {
		border-radius: 14px;
		width: 100%;
	}

	.hbls-table {
		font-size: 0.82rem;
	}

	.hbls-hero h1 {
		font-size: 1.45rem;
	}
}

.hbls-form-grid label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 5px;
	color: #475569;
}

.hbls-form-grid input,
.hbls-form-grid select,
.hbls-form-grid textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.9rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.hbls-form-grid input:focus,
.hbls-form-grid select:focus,
.hbls-form-grid textarea:focus {
	outline: none;
	border-color: #d97706;
	box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.hbls-wrap > p:last-child small {
	color: #94a3b8;
}

.hbls-wrap > p:last-child a {
	color: #64748b;
}

.hbls-wrap > p:last-child a:hover {
	color: #d97706;
}
