/* Floating Bar Online — hub dashboard + login (cùng tone với landing) */
:root {
	--fcb-bg: #0c1222;
	--fcb-surface: #ffffff;
	--fcb-muted: #64748b;
	--fcb-accent: #f97316;
	--fcb-accent2: #14b8a6;
	--fcb-border: #e2e8f0;
	--fcb-text: #0f172a;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body.fcb-hub-login {
	margin: 0;
	min-height: 100vh;
	font-family: "Outfit", system-ui, sans-serif;
	background: radial-gradient(1200px 600px at 80% -10%, rgba(249, 115, 22, 0.18), transparent),
		radial-gradient(800px 400px at 10% 100%, rgba(20, 184, 166, 0.12), transparent),
		var(--fcb-bg);
	color: #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.fcb-hub-login__box {
	width: 100%;
	max-width: 400px;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 28px 28px 32px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.fcb-hub-login__back a {
	color: #94a3b8;
	text-decoration: none;
	font-size: 14px;
}
.fcb-hub-login__back a:hover {
	color: #fff;
}

.fcb-hub-login h1 {
	margin: 12px 0 8px;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.fcb-hub-login__hint {
	margin: 0 0 20px;
	font-size: 13px;
	color: #94a3b8;
	line-height: 1.45;
}

.fcb-hub-login__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #cbd5e1;
}

.fcb-hub-login input[type="password"] {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(15, 23, 42, 0.9);
	color: #f8fafc;
	font-size: 16px;
}

.fcb-hub-btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 10px;
	border: none;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	font-family: inherit;
}

.fcb-hub-btn--primary {
	background: linear-gradient(135deg, var(--fcb-accent), #ea580c);
	color: #fff;
	box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}
.fcb-hub-btn--primary:hover {
	filter: brightness(1.05);
}

/* Dashboard */
body.fcb-hub-dash {
	margin: 0;
	font-family: "Outfit", system-ui, sans-serif;
	background: #f1f5f9;
	color: var(--fcb-text);
	min-height: 100vh;
}

.fcb-hub-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 24px;
	background: var(--fcb-surface);
	border-bottom: 1px solid var(--fcb-border);
	position: sticky;
	top: 0;
	z-index: 10;
}

.fcb-hub-top__brand {
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.03em;
	color: var(--fcb-text);
	text-decoration: none;
	background: linear-gradient(90deg, var(--fcb-accent), var(--fcb-accent2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.fcb-hub-top__nav {
	display: flex;
	gap: 20px;
	font-size: 14px;
}
.fcb-hub-top__nav a {
	color: #475569;
	text-decoration: none;
	font-weight: 500;
}
.fcb-hub-top__nav a:hover {
	color: var(--fcb-accent);
}

.fcb-hub-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 28px 20px 48px;
}

.fcb-hub-wrap__h1 {
	margin: 0 0 6px;
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.fcb-hub-wrap__h2 {
	margin: 28px 0 14px;
	font-size: 1.15rem;
	font-weight: 700;
}

.fcb-hub-muted {
	color: var(--fcb-muted);
	font-size: 14px;
	margin: 0 0 16px;
}

.fcb-hub-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	margin-bottom: 8px;
}

.fcb-hub-toolbar__month {
	font-size: 14px;
	color: #475569;
	font-weight: 500;
}
.fcb-hub-toolbar__month input {
	margin-left: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid var(--fcb-border);
	font-family: inherit;
}

.fcb-hub-link {
	color: #0d9488;
	font-weight: 600;
	text-decoration: none;
	font-size: 14px;
}
.fcb-hub-link:hover {
	text-decoration: underline;
}

.fcb-hub-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 14px;
	margin-bottom: 8px;
}

.fcb-hub-card {
	background: var(--fcb-surface);
	border: 1px solid var(--fcb-border);
	border-radius: 14px;
	padding: 18px 18px 16px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.fcb-hub-card__id {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	margin-bottom: 4px;
}

.fcb-hub-card__label {
	display: block;
	font-style: normal;
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 10px;
	word-break: break-word;
}

.fcb-hub-card__big {
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.fcb-hub-card__big span {
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
	margin-left: 4px;
}

.fcb-hub-card__sub {
	margin-top: 8px;
	font-size: 14px;
	color: #475569;
	font-weight: 600;
}

.fcb-hub-table-wrap {
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid var(--fcb-border);
	background: var(--fcb-surface);
}

.fcb-hub-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	min-width: 720px;
}

.fcb-hub-table th,
.fcb-hub-table td {
	border-bottom: 1px solid var(--fcb-border);
	padding: 10px 12px;
	text-align: left;
}

.fcb-hub-table th {
	background: #f8fafc;
	font-weight: 600;
	color: #475569;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fcb-hub-table tr:last-child td {
	border-bottom: none;
}

.fcb-hub-table .num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

code {
	font-size: 13px;
	background: #f1f5f9;
	padding: 2px 6px;
	border-radius: 4px;
}
