body#login.fleet-login {
	display: block;
	position: relative;
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	height: auto;
	background: radial-gradient(ellipse at 77% 43%, #f4f8fc 8%, #eaf2fa 54%, #ddeaf8 100%);
	color: #0b1232;
	font: 16px/1.4 Arial, sans-serif;
	isolation: isolate;
}

#login.fleet-login::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 64.6%;
	background: #052359 url(armada.jpg) center / 100% 100% no-repeat;
	clip-path: polygon(0 0, 99% 0, 96% 3%, 94% 7%, 92% 13%, 90% 23%,
		88% 38%, 85% 58%, 82% 78%, 80% 88%, 78% 95%, 75% 100%, 0 100%);
	z-index: -1;
}

#login.fleet-login .wrapper {
	display: grid;
	min-height: 100vh;
	min-height: 100svh;
	align-items: center;
}

#login.fleet-login .wrapper .inner-wrapper {
	box-sizing: border-box;
	width: auto;
	margin: 0 4% 0 60%;
	padding: 32px 0;
	background: none;
	opacity: 1;
}

.fleet-logo {
	display: block;
	width: 94%;
	max-width: 566px;
	margin: 0 auto 24px;
	mix-blend-mode: multiply;
}

#login.fleet-login .wrapper .inner-wrapper .content,
#login.fleet-login .wrapper .inner-wrapper .content .content-block {
	height: auto;
	overflow: visible;
}

.fleet-login #recover,
.fleet-login #register,
.fleet-login .content:has(#recover:target, #register:target) #connect {
	display: none;
}

.fleet-login #recover:target,
.fleet-login #register:target {
	display: block;
}

.fleet-login h1 {
	margin: 0 0 26px;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.15;
	text-align: center;
}

.fleet-field {
	position: relative;
	margin-bottom: clamp(12px, 2vh, 22px);
}

#login.fleet-login input.inputbox {
	float: none;
	box-sizing: border-box;
	height: 52px;
	padding: 0 16px 0 52px;
	border: 1px solid #b6c1d7;
	border-radius: 16px;
	background-color: #fff;
	background-size: 22px;
	background-position: 16px center;
	color: #0b1232;
	font: inherit;
	font-size: 16px;
}

#login.fleet-login .fleet-password input { padding-right: 58px; }

#login.fleet-login .reveal {
	top: 50%;
	right: 9px;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background-size: 24px;
}

.fleet-options {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 clamp(18px, 3.6vh, 34px);
	font-size: 15px;
	font-weight: 600;
}

.fleet-options label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.fleet-options input { width: 20px; height: 20px; margin: 0; accent-color: #0056b9; }
#login.fleet-login a { color: #063cae; }
#login.fleet-login a:hover { text-decoration: underline; }
#login.fleet-login :focus-visible { outline: 2px solid #157cdf; outline-offset: 3px; }

#login.fleet-login .fleet-submit,
#login.fleet-login .content-block input.button {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 10px 16px;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(150deg, #00b1f4, #0066db 27%, #023783 76%, #06296d);
	box-shadow: 0 12px 22px #0951b224;
	color: #fff;
	font: 700 18px/1.2 Arial, sans-serif;
	cursor: pointer;
}

#login.fleet-login .fleet-submit:hover { filter: brightness(1.1); }
#login.fleet-login #recover input.inputbox,
#login.fleet-login #register input.inputbox { margin-bottom: 18px; }

#login.fleet-login .footer {
	height: auto;
	min-height: 25px;
	margin-top: 8px;
	border: 0;
}

@media (max-width: 900px) {
	#login.fleet-login::before { content: none; }
	#login.fleet-login .wrapper { display: block; }
	#login.fleet-login .wrapper::before {
		content: "";
		display: block;
		height: min(25svh, 54vw, 205px);
		background: #052359 url(armada-mobile.jpg) center 42% / cover no-repeat;
		clip-path: inset(0 round 0 0 24px 24px);
	}
	#login.fleet-login .wrapper .inner-wrapper {
		width: min(100% - 36px, 560px);
		margin: auto;
		padding: 16px 0;
	}
	.fleet-logo { max-width: 320px; margin-bottom: 14px; }
	.fleet-login h1 { margin-bottom: 16px; }
}

@media (max-height: 620px) {
	#login.fleet-login .wrapper .inner-wrapper { padding-block: 10px; }
	.fleet-logo { max-width: min(86%, 280px, 60svh); margin-bottom: 12px; }
	.fleet-login h1 { margin-bottom: 12px; font-size: clamp(20px, 2.4vw, 28px); }
	.fleet-field { margin-bottom: 9px; }
	.fleet-options { margin-bottom: 12px; }
	#login.fleet-login .footer { margin-top: 4px; padding-top: 0; }
}

@media (max-width: 900px) and (max-height: 620px) {
	#login.fleet-login .wrapper::before { height: min(17svh, 32vw); }
}

@media (max-width: 900px) and (max-height: 480px) {
	#login.fleet-login .wrapper { display: grid; }
	#login.fleet-login .wrapper::before { display: none; }
	#login.fleet-login .wrapper .inner-wrapper { width: min(100% - 32px, 430px); }
}

@media (min-width: 901px) {
	#login.fleet-login::after {
		content: "";
		position: absolute;
		right: 0;
		bottom: 0;
		width: 28%;
		height: clamp(45px, 11vh, 110px);
		background: linear-gradient(164deg, #04bafa 12%, #0076e9 68%, #043681 69%, #062264);
		clip-path: polygon(0 100%, 11% 87%, 25% 72%, 45% 59%, 64% 46%, 78% 31%, 91% 12%, 100% 0, 100% 100%);
		z-index: -1;
	}
}

@media (max-height: 420px) {
	#login.fleet-login .wrapper .inner-wrapper { padding-block: 3px; }
	.fleet-logo { max-width: 180px; margin-bottom: 6px; }
	.fleet-login h1 { margin-bottom: 8px; font-size: 20px; }
	#login.fleet-login input.inputbox { height: 38px; border-radius: 10px; }
	#login.fleet-login .reveal { height: 36px; }
	.fleet-field { margin-bottom: 6px; }
	.fleet-options { margin-bottom: 8px; }
	#login.fleet-login .fleet-submit,
	#login.fleet-login .content-block input.button {
		height: 42px;
		min-height: 42px;
		border-radius: 12px;
		font-size: 18px;
	}
	#login.fleet-login .recover-register-block { margin: 12px 0; }
}

@media (min-width: 901px) {
	#login.fleet-login .wrapper .inner-wrapper {
		width: min(35%, 400px);
		margin: 0 0 0 max(60%, calc(78% - 200px));
	}
	.fleet-logo { max-width: 340px; margin-bottom: 18px; }
	.fleet-login h1 { font-size: 23px; margin-bottom: 17px; }
	.fleet-field { margin-bottom: 10px; }
	#login.fleet-login input.inputbox {
		height: 40px;
		padding-left: 39px;
		border-radius: 10px;
		background-position: 12px center;
		background-size: 17px;
		font-size: 14px;
	}
	#login.fleet-login .reveal { width: 32px; height: 36px; background-size: 18px; }
	.fleet-options { font-size: 13px; margin-bottom: 15px; }
	.fleet-options input { width: 16px; height: 16px; }
	#login.fleet-login .fleet-submit,
	#login.fleet-login .content-block input.button {
		height: 42px;
		min-height: 42px;
		border-radius: 11px;
		font-size: 15px;
	}
}
