html, body {
	height: 95%;
}

.btn:focus,
.btn:active:focus {
	box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
	margin-bottom: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'PFBeauSansPro', 'Arial', sans-serif;
	background-color: #fff;
	color: #333;
}

.field-box {
	margin-bottom: 16px;
	max-width: 400px;
	min-width: 350px;
	width: 350px;
	background: #fff;
}

.link-box {
	margin: 24px 0px 0px 0px;
	display: flex;
	justify-content: space-between;
	width: 100%;
	font-size: 14px;
	line-height: 140%;
	letter-spacing: 0.25px;
}

a.registration:after {
	content: url('/img/blueArrow.svg');
    display: inline-block;
    vertical-align: middle;
    margin-left: 0;
    width: 16px;
    height: 16px;
}

a.registration:hover::after {
	filter: invert(50%) sepia(24%) saturate(3641%) hue-rotate(166deg) brightness(99%) contrast(98%);
}

.field-box h1 {
	font-size: x-large;
	text-align: center;
}

a {
	color: #005b95;
	@media (prefers-color-scheme: dark) {
		color: #0288D1;
	}
}

a:hover {
	color: #03a9f4;
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #1c1c1c;
		color: #eee;
	}

	.field-box {
		background: #1c1c1c;
	}

	@media (min-width: 600px) {
		.field-box {
			background: #2c2c2c;
		}
	}
}

@media (min-width: 600px) {
	.field-box {
		box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.16);
		border-radius: 12px;
		max-width: 100%;
		max-height: 100%;
		height: auto;
		padding: 32px 24px;
	}
}

.error {
	margin-top: 1em;
	color: #333333;
	background: #fedfdd;
	font-weight: normal;
	font-size: 14px;
	line-height: 140%;
	letter-spacing: 0.25px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	padding: 16px;
	gap: 8px;
}

.error:before {
	content: url('/img/Error.svg');
}

.btn {
	display: block;
	font-weight: 600;
	color: #212529;
	text-align: center;
	border: 1px solid transparent;
	padding: 12px 12px 13px;
	margin: 8px 0 0 0;
	font-size: 14px;
	line-height: 140%;
	border-radius: 6px;
	color: #fff;
	background-color: #f56920;
	width: 100%;
	box-sizing: border-box;
}

.logo {
	background-repeat: no-repeat;
	margin-bottom: 24px;
}

label {
	display: inline-block;
	white-space: nowrap;
	cursor: pointer;
}

label span {
	font-size: 14px;
	padding-left: 8px;
	vertical-align: middle;
}

.input-box {
	position: relative;
}

.placeholder {
	position: absolute;
	top: 1.2em;
	left: 10px;
	font-size: 14px;
	color: #666;
	pointer-events: none;
	transition: all 0.3s;
	@media (prefers-color-scheme: dark) {
		color: #c5c5c5;
	}
}

.input-field {
	color: #333;
	font-size: 14px;
	padding: 0px 8px;
	margin-bottom: 16px;
	border: 1px solid #999999;
	border-radius: 6px;
	box-sizing: border-box;
	width: 100%;
	height: 48px;

	@media (prefers-color-scheme: dark) {
		color: #fff;
		background-color: #2c2c2c;
		border-color: #999;
	}
}

.input-field:hover{
	border-color: #666;
}

.input-field:enabled:focus {
	border-color: #f56920;
	outline: 0;
}

.input-field:valid ~ .placeholder, .input-field:focus ~ .placeholder,
.input-field:valid ~ .placeholder, .input-field:autofill ~ .placeholder {
	top: 6px;
	left: 9px;
	font-size: 12px;
}

.input-field:valid, .input-field:focus,
.input-field:valid, .input-field:autofill {
	padding: 18px 8px 0px;
}

.checkbox-field {
	margin-top: 12px;
}

.checkbox-field input {
    position: absolute;
    z-index: -1;
    opacity: 0
}

.checkbox-field label {
	font-size: 14px;
	display: inline-flex;
    align-items: center;
    user-select: none;
    position: relative;
}

.checkbox-field label:before {
	content: '';
	display: inline-flex;
	flex-shrink: 0;
	flex-grow: 0;
	border: 1px solid #ccc;
	border-radius: 6px;
	margin-right: 8px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto;
	width: 24px;
	height: 24px;
}

.checkbox-field input:not(:disabled):not(:checked) + label:hover::before {
	border-color: #999;
}

.checkbox-field input:not(:disabled):active + label::before {
    background-color: #d6520a;
    border-color: #d6520a
}

.checkbox-field input:checked + label::before {
	border-color: #f56920;
	background-color: #f56920;
	background-image: url('/img/check.svg')
}

input:-webkit-autofill {
	-webkit-text-fill-color: #111;
	-webkit-box-shadow: 0 0 0px 40rem #fff inset;
	@media (prefers-color-scheme: dark) {
		-webkit-text-fill-color: #fff;
		-webkit-box-shadow: 0 0 0px 40rem #2c2c2c inset;
	}
}