body.login-pending .desktop,
body.login-pending .taskbar,
body.login-pending .start-menu {
	visibility: hidden;
	pointer-events: none;
}

#login-screen {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #008080;
	font-family: "MS Sans Serif", Tahoma, sans-serif;
	font-size: 12px;
}

#login-screen[hidden] {
	display: none !important;
}

.login-window {
	width: min(420px, 94vw);
	background: var(--ButtonFace, #c0c0c0);
	border: 2px solid;
	border-color: var(--ButtonHilight, #fff) var(--ButtonDkShadow, #000) var(--ButtonDkShadow, #000) var(--ButtonHilight, #fff);
	box-shadow: inset 1px 1px 0 var(--ButtonLight, #dfdfdf);
}

.login-titlebar {
	background: linear-gradient(90deg, #000080, #1084d0);
	color: #fff;
	padding: 3px 6px;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 6px;
}

.login-titlebar img {
	width: 16px;
	height: 16px;
}

.login-body {
	padding: 16px;
}

.login-body h1 {
	font-size: 14px;
	margin: 0 0 4px;
}

.login-body .subtitle {
	color: #000080;
	margin: 0 0 16px;
	font-size: 11px;
}

.login-profiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}

.profile-card {
	padding: 12px;
	text-align: center;
	border: 2px solid;
	border-color: var(--ButtonHilight, #fff) var(--ButtonShadow, #808080) var(--ButtonShadow, #808080) var(--ButtonHilight, #fff);
	background: var(--Window, #fff);
}

.profile-card img {
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
}

.profile-card h2 {
	font-size: 12px;
	margin: 0 0 6px;
}

.profile-card p {
	font-size: 10px;
	color: #666;
	margin: 0 0 10px;
	line-height: 1.35;
	min-height: 2.7em;
}

.profile-card button {
	width: 100%;
	font-family: inherit;
	font-size: 12px;
	padding: 4px 8px;
}

.admin-login {
	padding: 12px;
	margin-top: 4px;
	border: 1px solid var(--ButtonShadow, #808080);
	background: var(--Window, #fff);
}

.admin-login label {
	display: block;
	font-size: 11px;
	margin-bottom: 4px;
}

.admin-login input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 3px 4px;
	font-family: inherit;
	font-size: 12px;
	margin-bottom: 8px;
}

#login-error {
	color: #800000;
	font-size: 11px;
	margin-top: 8px;
	padding: 6px;
	background: #fff;
	border: 1px solid #800000;
}

#profile-label {
	font-size: 11px;
	padding: 0 6px;
	white-space: nowrap;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
}
