/* JRS Schulsystem web login (colours from default_theme.tres) */
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	background: linear-gradient(180deg, #dce6eb 0%, #b9cdd6 100%);
	color: #1f1f1f;
	font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
	overflow: hidden;
	touch-action: none;
}

[hidden] {
	display: none !important;
}

#login {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.card {
	width: min(360px, calc(100vw - 32px));
	box-sizing: border-box;
	padding: 32px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.card h1 {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 600;
	text-align: center;
}

.card label {
	font-size: 12px;
	color: #5c5c5c;
	margin-top: 8px;
}

.card input[type="email"],
.card input[type="password"] {
	height: 36px;
	padding: 0 10px;
	border: 1px solid #c8d0d4;
	border-radius: 4px;
	font: inherit;
	font-size: 14px;
}

.card input:focus {
	outline: 2px solid #007fb3;
	outline-offset: 0;
	border-color: #007fb3;
}

.card .remember {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #414141;
	margin-top: 12px;
}

.card .error {
	margin: 8px 0 0;
	color: #b3261e;
	font-size: 13px;
}

.card button {
	margin-top: 16px;
	height: 40px;
	border: 0;
	border-radius: 4px;
	background: #007fb3;
	color: #ffffff;
	font: inherit;
	font-size: 15px;
	cursor: pointer;
}

.card button:hover {
	background: #17abe6;
}

.card button:disabled {
	background: #8fa9b5;
	cursor: wait;
}

#canvas {
	display: block;
	margin: 0;
	border: 0;
}

#canvas:focus {
	outline: none;
}

#status {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #dce6eb;
}

#status-splash {
	max-height: 100%;
	max-width: 100%;
	margin: auto;
}

#status-splash.show-image--false {
	display: none;
}

#status-splash.fullsize--true {
	height: 100%;
	width: 100%;
	object-fit: contain;
}

#status-progress {
	position: absolute;
	bottom: 10%;
	left: 0;
	right: 0;
	width: 50%;
	margin: 0 auto;
	display: none;
}

#status-notice {
	display: none;
	white-space: pre-line;
	background: #ffffff;
	border-radius: 8px;
	padding: 16px;
	margin: 0 32px;
	text-align: center;
}
