:root {
	--bg: #0f172a;
	--panel: #111827;
	--text: #e5e7eb;
	--muted: #9ca3af;
	--primary: #3b82f6;
	--primary-600: #2563eb;
	--success: #10b981;
	--danger: #ef4444;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	background: radial-gradient(1000px 600px at 10% 10%, #1f2937 0%, var(--bg) 60%);
	color: var(--text);
}

.container {
	max-width: 980px;
	margin: 48px auto;
	padding: 24px;
	background: rgba(17, 24, 39, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px;
}

.title { font-size: 28px; font-weight: 700; margin: 0 0 4px; }
.subtitle { color: var(--muted); margin: 0 0 24px; }

.field { margin-bottom: 12px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input, select {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #0b1220;
	color: var(--text);
}

.row { display: flex; gap: 8px; }
.row > * { flex: 1; }

.btn {
	appearance: none;
	border: none;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--primary);
	color: white;
	font-weight: 600;
	cursor: pointer;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn.secondary { background: transparent; border: 1px solid rgba(255,255,255,0.16); color: var(--text); }

.btn.google {
	background: #ffffff;
	color: #1f2937;
	border: 1px solid rgba(0,0,0,0.08);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.btn.google img { width: 18px; height: 18px; }

.token {
	white-space: pre-wrap;
	word-break: break-all;
	background: #0b1220;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 12px;
	margin-top: 12px;
}

.note { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* Dashboard cards */
.dashboard {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.card {
	background: linear-gradient(180deg, rgba(11,18,32,0.9), rgba(11,18,32,0.6));
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 14px;
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.card-icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: rgba(59,130,246,0.15);
	border: 1px solid rgba(59,130,246,0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}

.card-content { display: flex; flex-direction: column; }
.card-title { color: var(--muted); font-size: 13px; }
.card-value { font-size: 24px; font-weight: 700; }


/* Header / Nav */
.header {
	position: sticky;
	top: 0;
	backdrop-filter: blur(8px);
	background: rgba(17,24,39,0.6);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.3px; }
.brand .logo { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(59,130,246,0.18); border: 1px solid rgba(59,130,246,0.35); }
.nav-links { display: flex; align-items: center; gap: 14px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; opacity: 0.9; }
.nav a:hover { opacity: 1; }
.spacer { flex: 1; }

/* Hero */
.hero {
	max-width: 1100px;
	margin: 28px auto 0;
	padding: 24px;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 20px;
}
.hero .panel { background: rgba(17,24,39,0.7); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 24px; }
.hero h1 { font-size: 40px; margin: 0 0 10px; }
.hero p { color: var(--muted); margin-top: 0; }

/* Footer */
.footer { margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(17,24,39,0.6); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Text content */
.prose h2 { margin: 16px 0 8px; }
.prose p { color: #d1d5db; line-height: 1.6; }
.prose ul { color: #d1d5db; }

/* Links */
.link { color: var(--primary); text-decoration: none; }
.link:hover { color: var(--primary-600); text-decoration: underline; }

/* Utility */
.hidden { display: none !important; }


