/*
 * bbip-base.css — BB Labs Investor Portal
 * Global resets and shared design tokens used by both login and portal templates.
 */

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

html {
	--bbip-bg:       #0b0d12;
	--bbip-surface:  #13161f;
	--bbip-surface2: #1a1d2a;
	--bbip-border:   rgba(79,110,247,.18);
	--bbip-accent:   #4f6ef7;
	--bbip-accent2:  #7c3aed;
	--bbip-lumo:     #0ea5e9;
	--bbip-bb:       #4f6ef7;
	--bbip-text:     #e2e4ed;
	--bbip-muted:    #8b8fa8;
	--bbip-ok:       #22c55e;
	--bbip-warn:     #f59e0b;
	--bbip-fail:     #ef4444;
	--bbip-info:     #4f6ef7;
	--bbip-radius:   10px;
	--bbip-radius-sm:6px;
	--bbip-trans:    150ms ease;
	font-size: 16px;
}

body {
	margin: 0;
	padding: 0;
	background: var(--bbip-bg);
	color: var(--bbip-text);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bbip-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
	font-size: .875em;
	background: rgba(255,255,255,.06);
	padding: 2px 6px;
	border-radius: 4px;
	color: var(--bbip-text);
}

.bbip-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

/* ── Enhanced typography ────────────────────────────────────────────────────── */
html {
	--bbip-font: -apple-system, 'Inter', BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

body {
	font-family: var(--bbip-font);
	background: #060810 !important;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(11,13,18,.5); }
::-webkit-scrollbar-thumb { background: rgba(79,110,247,.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(79,110,247,.5); }

/* Selection color */
::selection { background: rgba(79,110,247,.35); color: #fff; }
