html,
body.compact-login-page {
	min-height: 100%;
	overflow-x: hidden;
	overflow-y: auto !important;
}

body.compact-login-page {
	background: linear-gradient(135deg, #6578ef 0%, #8246a2 100%);
	color: #34343a;
	font-family: "Open Sans", "Segoe UI", sans-serif;
}

.compact-login-page .background,
.compact-login-page .backdrop {
	display: none;
}

.login-stage {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 8px 0;
}

.login-stage .login-form-container {
	position: relative;
	top: auto;
	left: auto;
	width: calc(100% - 12px);
	max-width: 430px;
	margin: 0;
}

.login-stage .login-form-content {
	padding: 40px 30px 34px;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 22px;
	background: #f8f8fc;
	box-shadow: 0 18px 48px rgba(40, 31, 99, .22);
}

.login-stage .login-form-header {
	margin-bottom: 26px;
}

.login-stage .login-mark {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: linear-gradient(145deg, #6878eb, #7e48a6);
	box-shadow: 0 12px 22px rgba(105, 83, 185, .25);
	color: #fff;
	font-size: 30px;
}

.login-stage .login-form-header h1 {
	margin: 0;
	color: #34343a;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.3;
}

.login-stage .login-form-header p {
	margin: 6px 0 0;
	color: #81818b;
	font-size: 14px;
}

.login-stage .login-form .input-container {
	display: flex;
	align-items: center;
	min-height: 52px;
	box-sizing: border-box;
	margin-top: 18px;
	padding: 0 15px;
	border: 1px solid #dedee5;
	border-radius: 28px;
	background: #fff;
	color: #a5a5ad;
	font-size: 15px;
}

.login-stage .login-form .input-container:focus-within {
	border-color: #7770d6;
	box-shadow: 0 0 0 3px rgba(119, 112, 214, .1);
}

.login-stage .login-form .input-container > i:first-child {
	flex: 0 0 22px;
	width: 22px;
	margin-right: 8px;
	color: #a5a5ad;
	font-size: 16px;
}

.login-stage .tenant-school-container {
	position: relative;
	border-bottom: 1px solid #dedee5 !important;
	color: #a5a5ad !important;
}

.login-stage .tenant-school-container label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.login-stage .tenant-school-select {
	flex: 1;
	width: 100%;
	height: 48px;
	min-width: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #656570;
	font: inherit;
}

.login-stage .login-form .input {
	flex: 1;
	width: 0;
	min-width: 0;
	height: 48px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #454550;
	font: inherit;
}

.login-stage .login-form .input::placeholder {
	color: #92929c;
	opacity: 1;
}

.login-stage .login-form #show-password {
	flex: 0 0 22px;
	width: 22px;
	margin: 0;
	color: #8990a4;
	cursor: pointer;
	font-size: 15px;
}

.login-stage .login-form .rememberme-container {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	color: #777783;
	font-size: 13px;
}

.login-stage .login-form .rememberme-container input {
	margin: 0;
	accent-color: #7067d8;
}

.login-stage .login-form .rememberme span {
	vertical-align: middle;
}

.login-stage .login-note {
	margin: 16px 0 0;
	color: #777783;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.login-stage .login-form .button {
	min-height: 50px;
	margin-top: 18px;
	border-radius: 28px;
	background: linear-gradient(100deg, #6578ef, #8246a2);
	box-shadow: 0 10px 20px rgba(105, 83, 185, .2);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.login-stage .login-form .button:hover {
	background: linear-gradient(100deg, #586ce5, #753d98);
}

.login-stage .superadmin-login {
	display: block;
	margin-top: 18px;
	color: #737381;
	font-size: 13px;
	text-align: center;
}

.login-stage .superadmin-login:hover {
	color: #5f55c4;
}

.login-stage .login-error {
	border-radius: 10px;
}

@media screen and (max-width: 400px) {
	.login-stage .login-form-container {
		left: auto;
		right: auto;
		min-width: 0;
		width: calc(100% - 12px);
		margin: 0;
	}

	.login-stage .login-form-content {
		padding: 36px 28px 30px;
	}
}

@media screen and (max-height: 620px) {
	.login-stage {
		align-items: flex-start;
	}
}
