* { box-sizing: border-box; }
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #0f172a;
	color: #e2e8f0;
	display: flex;
	justify-content: center;
	padding: 40px 16px;
	margin: 0;
}
.card {
	background: #1e293b;
	border-radius: 12px;
	padding: 32px;
	width: 100%;
	max-width: 420px;
}
.card.wide { max-width: 900px; }
h1 { font-size: 1.4rem; margin-top: 0; }
label { display: block; margin: 16px 0 4px; font-size: 0.9rem; color: #94a3b8; }
input[type=email], input[type=password], input[type=text], input[type=url] {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid #334155;
	background: #0f172a;
	color: #e2e8f0;
	font-size: 1rem;
}
button {
	margin-top: 20px;
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: none;
	background: #6366f1;
	color: white;
	font-size: 1rem;
	cursor: pointer;
}
button:hover { background: #4f46e5; }
.error { background: #7f1d1d; color: #fecaca; padding: 10px 12px; border-radius: 8px; margin-top: 16px; }
.success { background: #14532d; color: #bbf7d0; padding: 10px 12px; border-radius: 8px; margin-top: 16px; }
a { color: #a5b4fc; }
table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.9rem; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #334155; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.app-card { background: #0f172a; border: 1px solid #334155; border-radius: 10px; padding: 16px; text-decoration: none; color: #e2e8f0; }
.app-card:hover { border-color: #6366f1; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.qr { text-align: center; margin: 20px 0; }
.qr img { background: white; padding: 12px; border-radius: 8px; }
code { background: #0f172a; padding: 2px 6px; border-radius: 4px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 40px; }
.toggle-password {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	width: auto;
	padding: 4px;
	background: none;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	display: flex;
}
.toggle-password:hover { background: none; color: #e2e8f0; }
.toggle-password svg { width: 20px; height: 20px; }
