@font-face {
	font-family: Poppins;
	src: url('../fonts/poppins/Poppins-Regular.ttf')
}

@font-face {
	font-family: Poppins;
	src: url('../fonts/poppins/Poppins-Medium.ttf');
	font-weight: 500
}

@font-face {
	font-family: Poppins;
	src: url('../fonts/poppins/Poppins-Bold.ttf');
	font-weight: 700
}

:root {
	--navy: #102a43;
	--navy-light: #1b4965;
	--blue: #1570a6;
	--accent: #f3b640;
	--ink: #182230;
	--muted: #667085;
	--line: #d7dee7;
	--surface: #fff;
	--danger: #b42318;
	--focus: rgba(21,112,166,.16)
}

* {
	box-sizing: border-box
}

html, body {
	min-height: 100%;
	margin: 0
}

body {
	font-family: Poppins,Arial,sans-serif;
	color: var(--ink);
	background: #edf2f7
}

.login-page {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 32px;
	background: radial-gradient(circle at 12% 12%,rgba(21,112,166,.15),transparent 30%),linear-gradient(135deg,#f7f9fc,#e6edf4)
}

.login-shell {
	width: min(1040px,100%);
	min-height: 640px;
	display: grid;
	grid-template-columns: 46% 54%;
	overflow: hidden;
	border: 1px solid rgba(16,42,67,.08);
	border-radius: 24px;
	background: var(--surface);
	box-shadow: 0 30px 70px rgba(16,42,67,.16)
}

.login-brand-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	padding: 56px;
	color: #fff;
	background: linear-gradient(145deg,rgba(16,42,67,.98),rgba(27,73,101,.95))
}

	.login-brand-panel:before, .login-brand-panel:after {
		content: "";
		position: absolute;
		border-radius: 50%;
		border: 1px solid rgba(255,255,255,.10)
	}

	.login-brand-panel:before {
		width: 390px;
		height: 390px;
		right: -210px;
		top: -100px
	}

	.login-brand-panel:after {
		width: 310px;
		height: 310px;
		left: -180px;
		bottom: -170px
	}

.brand-content, .brand-security {
	position: relative;
	z-index: 1
}

.brand-logo {
	width: 118px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 62px;
	padding: 10px;
	border-radius: 14px;
	background: rgba(255,255,255,.96);
	box-shadow: 0 12px 30px rgba(0,0,0,.15)
}

	.brand-logo img {
		max-width: 100%;
		max-height: 100%;
		object-fit: contain
	}

.brand-kicker, .form-eyebrow {
	margin: 0 0 12px;
	color: var(--accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase
}

.login-brand-panel h1 {
	margin: 0;
	font-size: 38px;
	line-height: 1.18;
	letter-spacing: -.035em
}

.brand-description {
	max-width: 340px;
	margin: 20px 0 0;
	color: rgba(255,255,255,.72);
	font-size: 14px;
	line-height: 1.8
}

.brand-security {
	display: flex;
	align-items: center;
	gap: 9px;
	color: rgba(255,255,255,.70);
	font-size: 12px
}

.login-form-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 56px 76px 32px
}

.login-form {
	width: 100%;
	max-width: 390px;
	margin: auto
}

.form-header {
	margin-bottom: 34px
}

	.form-header h2 {
		margin: 0 0 10px;
		color: var(--navy);
		font-size: 32px;
		line-height: 1.2;
		letter-spacing: -.035em
	}

	.form-header > p:last-child {
		margin: 0;
		color: var(--muted);
		font-size: 14px
	}

.form-eyebrow {
	color: var(--blue)
}

.mobile-logo {
	display: none
}

.form-group-modern {
	margin-bottom: 21px
}

	.form-group-modern label {
		display: block;
		margin-bottom: 8px;
		color: #344054;
		font-size: 13px;
		font-weight: 600
	}

.input-shell {
	position: relative
}

.input-icon {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 17px;
	transform: translateY(-50%);
	color: #8592a3;
	font-size: 16px
}

.form-control-modern {
	width: 100%;
	height: 52px;
	padding: 0 48px;
	border: 1px solid var(--line);
	border-radius: 10px;
	outline: 0;
	background: #fff;
	color: var(--ink);
	font: 500 14px Poppins,Arial,sans-serif;
	transition: border-color .2s,box-shadow .2s
}

	.form-control-modern::placeholder {
		color: #98a2b3;
		font-weight: 400
	}

	.form-control-modern:hover {
		border-color: #aab5c2
	}

	.form-control-modern:focus {
		border-color: var(--blue);
		box-shadow: 0 0 0 4px var(--focus)
	}

.input-shell:focus-within .input-icon {
	color: var(--blue)
}

.password-input {
	padding-right: 52px
}

.password-toggle {
	position: absolute;
	z-index: 2;
	top: 50%;
	right: 7px;
	width: 40px;
	height: 40px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #667085;
	cursor: pointer;
	font-size: 16px;
	transition: background .2s,color .2s
}

	.password-toggle:hover {
		background: #eef4f8;
		color: var(--blue)
	}

	.password-toggle:focus-visible, .login-submit:focus-visible, .forgot-link:focus-visible {
		outline: 3px solid rgba(21,112,166,.3);
		outline-offset: 2px
	}

.login-alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 2px 0 18px;
	padding: 12px 14px;
	border: 1px solid #fecdca;
	border-radius: 9px;
	background: #fef3f2;
	color: var(--danger);
	font-size: 12px;
	line-height: 1.5
}

	.login-alert i {
		margin-top: 2px
	}

.login-submit {
	width: 100%;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(110deg,var(--navy),var(--navy-light));
	box-shadow: 0 10px 22px rgba(16,42,67,.20);
	color: #fff;
	cursor: pointer;
	font: 700 14px Poppins,Arial,sans-serif;
	letter-spacing: .025em;
	transition: transform .2s,box-shadow .2s
}

	.login-submit:hover {
		transform: translateY(-2px);
		box-shadow: 0 14px 26px rgba(16,42,67,.27)
	}

	.login-submit:active {
		transform: translateY(0)
	}

.login-submit-secondary {
	width: 100%;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(110deg,var(--ink),var(--ink));
	box-shadow: 0 10px 22px rgba(16,42,67,.20);
	color: #fff;
	cursor: pointer;
	font: 700 14px Poppins,Arial,sans-serif;
	letter-spacing: .025em;
	transition: transform .2s,box-shadow .2s
}

	.login-submit:hover {
		transform: translateY(-2px);
		box-shadow: 0 14px 26px rgba(16,42,67,.27)
	}

	.login-submit:active {
		transform: translateY(0)
	}

.forgot-link {
	display: table;
	margin: 22px auto 0;
	color: var(--blue);
	font-size: 12px;
	font-weight: 500;
	text-decoration: none
}

	.forgot-link:hover {
		text-decoration: underline
	}

.login-footer {
	text-align: center;
	color: #98a2b3;
	font-size: 11px
}

	.login-footer a {
		color: #667085;
		text-decoration: none
	}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0
}

@media(max-width:800px) {
	.login-page {
		padding: 20px
	}

	.login-shell {
		max-width: 520px;
		min-height: auto;
		display: block
	}

	.login-brand-panel {
		display: none
	}

	.login-form-panel {
		min-height: 620px;
		padding: 48px 48px 28px
	}

	.mobile-logo {
		width: 96px;
		height: 58px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 35px;
		padding: 8px;
		border: 1px solid #e4e9ef;
		border-radius: 12px
	}

		.mobile-logo img {
			max-width: 100%;
			max-height: 100%;
			object-fit: contain
		}
}

@media(max-width:480px) {
	.login-page {
		display: block;
		padding: 0;
		background: #fff
	}

	.login-shell {
		min-height: 100vh;
		border: 0;
		border-radius: 0;
		box-shadow: none
	}

	.login-form-panel {
		min-height: 100vh;
		padding: 34px 24px 22px
	}

	.form-header {
		margin-bottom: 28px
	}

		.form-header h2 {
			font-size: 28px
		}

	.login-footer {
		margin-top: 42px
	}
}

@media(prefers-reduced-motion:reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important
	}
}
