@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
	--ak-blue: #0860b8;
	--ak-blue-dark: #083f88;
	--ak-blue-deep: #06326f;
	--ak-text: #1f2937;
	--ak-muted: #72809a;
	--ak-line: #dce5f2;
	--ak-field: #f8fbff;
	--ak-shadow: 0 22px 55px rgba(8, 48, 104, 0.22);
}

html,
body {
	min-height: 100%;
	background: #fff;
}

body {
	overflow-x: hidden;
}

.navbar,
.web-footer,
.page-breadcrumbs,
.page-header-wrapper,
.page-footer {
	display: none !important;
}

.page-content-wrapper,
.page_content {
	padding: 0 !important;
	margin: 0 !important;
	width: 100%;
	min-height: 100vh;
}

main {
	max-width: none !important;
}

.ak-login-page {
	position: relative;
	display: flex;
	min-height: 100vh;
	overflow: hidden;
	background-color: #f8fbff;
	background-image: url("/assets/employee_profile/image/assets/login-hero-background.png");
	background-position: center;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ak-text);
}

.ak-login-page input,
.ak-login-page button,
.ak-login-page select,
.ak-login-page textarea {
	font-family: inherit;
}

body:has(.ak-login-page),
body:has(.splash) {
	background: #fff;
}

.splash {
	background: #fff;
}

.ak-login-page::before,
.ak-login-page::after {
	content: "";
	position: absolute;
	pointer-events: none;
	user-select: none;
}

.ak-login-page::before {
	display: none;
}

.ak-corner-border {
	--ak-footer-depth: 46px;
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
	width: 50vw;
	max-width: 560px;
	height: 49.33vw;
	max-height: 552px;
	pointer-events: none;
	user-select: none;
}

.ak-corner-border svg {
	position: absolute;
	z-index: 1;
	display: block;
	overflow: visible;
}

.ak-footer-sweep-svg {
	top: 0;
	right: 0;
	width: 100%;
	height: calc(100% - var(--ak-footer-depth));
	overflow: visible;
}

.ak-footer-sweep-base {
	fill: #0b337b;
	stroke: none;
}

.ak-footer-sweep-ribbon {
	fill: none;
	stroke: url("#ak-footer-ribbon-gradient");
	stroke-width: 16;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.ak-login-page::after {
	right: 0;
	bottom: 0;
	width: 720px;
	max-width: 50vw;
	height: 280px;
	z-index: 3;
	background-image: url("/assets/employee_profile/image/assets/login-white-wave.png");
	background-position: right -18px bottom -66px;
	background-size: 850px auto;
	background-repeat: no-repeat;
	opacity: 1;
	animation: ak-wave-rise 1s cubic-bezier(0.2, 0.9, 0.2, 1) 0.28s both;
}

.ak-login-visual {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	width: 61%;
	min-width: 0;
	min-height: 100vh;
	overflow: visible;
	isolation: isolate;
}


.ak-visual-content {
	position: relative;
	z-index: 4;
	display: block;
	min-height: 70vh;
	padding: 56px;
}

.ak-brand-logo {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	width: fit-content;
	color: #005eb8;
	animation: ak-fade-slide-down 0.62s cubic-bezier(0.2, 0.9, 0.2, 1) 0.12s both;
}

.ak-brand-logo img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	object-position: center;
	flex: 0 0 auto;
}

.ak-brand-logo img.ak-brand-lockup {
	width: 84px;
    height: 91.37px;
}

.ak-brand-name {
	display: block;
	white-space: nowrap;
}

.ak-brand-name span {
	margin-left: 0;
}

.ak-brand-logo strong {
	display: block;
	font-size: 28px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0;
	color: #005eb8;
}

.ak-brand-logo span {
	display: block;
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 600;
	color: #073763;
}

.ak-hero-copy {
	max-width: 560px;
	margin-top: 84px;
	animation: ak-copy-reveal 0.72s cubic-bezier(0.2, 0.9, 0.2, 1) 0.28s both;
}

.ak-hero-copy h1 {
	margin: 0;
	color: #111827;
	font-size: 36px;
	line-height: 1.24;
	font-weight: 600;
	letter-spacing: 0;
	margin-top: -28px;
	white-space: nowrap;
}

.ak-hero-copy p {
	margin: 26px 0 0;
	color: #192b4b;
	font-size: 16px;
	line-height: 1.6;
	font-weight: 500;
}

.ak-footer-copy {
	position: absolute;
	left: 56px;
	bottom: 9px;
	z-index: 7;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 15px;
	line-height: 1;
	font-weight: 500;
	text-shadow: 0 1px 8px rgba(0, 30, 70, 0.32);
	animation: ak-footer-reveal 0.72s cubic-bezier(0.2, 0.9, 0.2, 1) 0.48s both;
}

.ak-copyright-symbol {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	font-size: 14px;
}

.ak-login-panel {
	position: relative;
	z-index: 6;
	flex: 0 0 39vw;
	width: 39vw;
	min-width: 390px;
	max-width: 560px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 100vh;
	padding: 66px 52px 62px;
	background: transparent;
}

.ak-login-panel::before {
	display: none;
}

.ak-login-card-wrap {
	position: relative;
	width: 410px;
	width: min(100%, 410px);
	z-index: 1;
	animation: ak-card-drop 0.78s cubic-bezier(0.16, 1, 0.3, 1) both;
	transform-origin: center top;
	will-change: transform, opacity;
}

.ak-login-card-wrap > section {
	display: none;
}

.ak-login-card-wrap > section.for-login {
	display: block;
}

.login-content.page-card {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 34px 34px 28px;
	border: 0;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: var(--ak-shadow);
	display: block;
	gap: 0;
	overflow: hidden;
	animation: ak-card-focus 0.7s ease 0.08s both;
}

.ak-login-page .login-content.page-card form {
	display: block;
	gap: 0;
}

.ak-login-page .login-content.page-card form .form-group {
	align-items: stretch;
	width: 100%;
}

.page-card-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0 0 28px;
	padding: 0;
	text-align: center;
}

.ak-login-page .page-card-head .app-logo-badge {
	display: grid;
	place-items: center;
	width: 88px;
	height: 88px;
	min-width: 88px;
	min-height: 88px;
	max-width: 88px;
	max-height: 88px;
	box-sizing: border-box;
	overflow: hidden;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #0060ad;
	box-shadow: 0 0 0 2px rgba(0, 96, 173, 0.14), 0 6px 18px rgba(8, 65, 131, 0.28);
	animation: ak-logo-pop 0.58s cubic-bezier(0.2, 0.9, 0.2, 1) 0.32s both;
}

.ak-login-page .page-card-head img.app-logo {
	display: block;
	width: 72%;
	height: auto;
	margin-bottom: 8px;
	min-width: 0;
	min-height: 0;
	max-width: none;
	max-height: none;
	box-sizing: border-box;
	object-fit: contain;
	object-position: center;
	border: 0;
	border-radius: 0;
	padding: 0;
	background: transparent;
}

.page-card-head-text h4 {
	margin: 0;
	color: #1f2430;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: 0;
}

.page-card-subtitle {
	margin: 9px 0 0;
	color: var(--ak-muted);
	font-size: 13px;
	line-height: 1.4;
	font-weight: 400;
}

.page-card-body {
	display: block;
	gap: 0;
	padding: 0;
}

.ak-login-fields {
	display: grid;
	gap: 16px;
}

.form-group {
	margin-bottom: 0;
}

.form-label {
	margin-bottom: 8px;
	color: #697790;
	font-family: Inter, InterVariable, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 600;
}

.ak-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 44px;
}

.ak-input-wrap .form-control {
	width: 100%;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 46px 0 42px !important;
	border: 1px solid var(--ak-line);
	border-radius: 8px;
	background: var(--ak-field);
	color: #243044;
	font-size: 13px;
	font-weight: 500;
	box-shadow: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ak-input-wrap .form-control::placeholder {
	color: #697891;
	opacity: 0.88;
}

.ak-input-wrap .form-control:focus {
	border-color: var(--ak-blue) !important;
	outline: 0 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(8, 96, 184, 0.16) !important;
}

.ak-input-wrap:focus-within .ak-field-icon,
.ak-input-wrap:focus-within .ak-icon-button {
	color: var(--ak-blue);
}

.ak-field-icon {
	position: absolute;
	top: 50%;
	left: 15px;
	z-index: 1;
	color: #8190a8;
	fill: currentColor;
	transform: translateY(-50%);
	pointer-events: none;
}

.ak-icon-button {
	position: absolute;
	right: 12px;
	z-index: 2;
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #8c9aaf;
	cursor: pointer;
}

.ak-icon-button:hover {
	color: #526783;
}

.ak-icon-button:focus {
	outline: none;
	color: #526783;
}

.ak-eye-svg {
	display: block;
	width: 16px;
	height: 16px;
	stroke: currentColor;
	stroke-width: 1.45;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
}

.field-error {
	display: block;
	min-height: 16px;
	margin: 5px 0 0;
	color: #e03131;
	font-size: 11px;
	line-height: 1.35;
}

.form-group.invalid .ak-input-wrap .form-control {
	border-color: #e03131;
	background: #fff7f7;
}

.login-error-banner,
.login-success-banner {
	display: none;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 14px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.45;
	font-weight: 600;
}

.login-error-banner {
	background: #fff1f1;
	color: #bd1f1f;
}

.login-success-banner {
	background: #edf9f1;
	color: #107232;
}

.page-card-body.invalid .login-error-banner {
	display: flex;
}

.ak-form-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 22px;
	margin-top: 8px;
	margin-bottom: 25px;

}

.ak-remember {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: #8a96aa;
	font-size: 12px;
	line-height: 1;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
}

.ak-remember input {
	width: 14px;
	height: 14px;
	margin: 0;
	accent-color: var(--ak-blue);
}

.forgot-password-message,
.resend-link {
	margin: 0;
	font-size: 12px;
	line-height: 1;
	font-weight: 700;
	white-space: nowrap;
}

.forgot-password-message a,
.resend-link a,
.sign-up-message a,
.ak-help-link a {
	color: #005eb8;
	text-decoration: none;
}

.forgot-password-message a:hover,
.resend-link a:hover,
.sign-up-message a:hover,
.ak-help-link a:hover {
	color: var(--ak-blue-dark);
	text-decoration: underline;
}

.page-card-actions {
	display: grid;
	gap: 14px;
	margin-top: 22px;
	padding: 0;
}

.page-card-actions .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 800;
	box-shadow: none;
}

.ak-login-page .page-card-actions .btn.btn-primary {
	border-color: #0860b8;
	background: #0860b8;
	color: #fff;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.ak-login-page .page-card-actions .btn.btn-primary:hover,
.ak-login-page .page-card-actions .btn.btn-primary:focus {
	border-color: #064f9b;
	background: #064f9b;
	box-shadow: 0 10px 22px rgba(8, 96, 184, 0.22);
	transform: translateY(-1px);
}

.ak-login-page .page-card-actions .btn.btn-default {
	border: 1px solid #d6dce7;
	background: #fff;
	color: #1f2937;
}

.ak-login-page .page-card-actions .btn.btn-default:hover,
.ak-login-page .page-card-actions .btn.btn-default:focus {
	border-color: #b8c4d6;
	background: #f8fbff;
}

.ak-divider {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 8px 0 2px;
	color: #b7becb;
	font-size: 13px;
	font-weight: 700;
}

.ak-divider::before,
.ak-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #d7dde7;
}

.ak-divider span {
	padding: 0 18px;
}

.social-logins,
.social-login-buttons,
.login-button-wrapper {
	width: 100%;
}

.ak-sso-button {
	gap: 12px;
}

.ak-sso-icon {
	display: inline-grid;
	place-items: center;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.ak-sso-icon img,
.ak-sso-icon svg {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.ak-ms-icon {
	position: relative;
	display: inline-grid;
	grid-template-columns: repeat(2, 8px);
	grid-template-rows: repeat(2, 8px);
	gap: 2px;
	width: 18px;
	height: 18px;
}

.ak-ms-icon::before,
.ak-ms-icon::after,
.ak-ms-icon span {
	content: "";
	display: block;
}

.ak-ms-icon {
	background:
		linear-gradient(#f25022, #f25022) 0 0 / 8px 8px no-repeat,
		linear-gradient(#7fba00, #7fba00) 10px 0 / 8px 8px no-repeat,
		linear-gradient(#00a4ef, #00a4ef) 0 10px / 8px 8px no-repeat,
		linear-gradient(#ffb900, #ffb900) 10px 10px / 8px 8px no-repeat;
}

.sign-up-message {
	margin-top: 18px;
	color: #697790;
	font-size: 12px;
	line-height: 1.5;
}

.ak-signup-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-left: 3px;
	font-weight: 600;
	vertical-align: middle;
}

.ak-signup-icon {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.signup-disabled-message {
	text-align: center;
}

.ak-help-link {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -33px;
	text-align: center;
	color: rgba(255, 255, 255, 0.86);
	font-size: 11px;
	line-height: 1.4;
	font-weight: 600;
}

.ak-help-link a {
	color: #56a1e6;
	font-weight: 600;
	transition: color 0.18s ease, font-size 0.18s ease;
}

.ak-help-link a:hover,
.ak-help-link a:focus-visible {
	color: #75c4ff;
	font-size: 12px;
}

.ak-noscript {
	position: fixed;
	inset: 24px;
	z-index: 20;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 10px;
	border-radius: 12px;
	background: #fff;
	text-align: center;
	color: var(--ak-text);
}

.login-content.invalid-login {
	animation: ak-shake 0.45s ease;
}

@keyframes ak-shake {
	10%,
	90% {
		transform: translateX(-1px);
	}

	20%,
	80% {
		transform: translateX(2px);
	}

	30%,
	50%,
	70% {
		transform: translateX(-4px);
	}

	40%,
	60% {
		transform: translateX(4px);
	}
}

@keyframes ak-card-drop {
	0% {
		opacity: 0;
		transform: translateY(-42px) scale(0.985);
	}

	62% {
		opacity: 1;
		transform: translateY(7px) scale(1);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes ak-card-focus {
	0% {
		filter: blur(8px);
	}

	100% {
		filter: blur(0);
	}
}

@keyframes ak-logo-pop {
	0% {
		opacity: 0;
		transform: translateY(-10px) scale(0.88);
	}

	72% {
		opacity: 1;
		transform: translateY(1px) scale(1.04);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes ak-fade-slide-down {
	0% {
		opacity: 0;
		transform: translateY(-18px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ak-copy-reveal {
	0% {
		opacity: 0;
		transform: translateY(22px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ak-wave-rise {
	0% {
		opacity: 0;
		transform: translate(28px, 32px);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

@keyframes ak-footer-reveal {
	0% {
		opacity: 0;
		transform: translateY(18px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
	}

	.ak-login-card-wrap,
	.login-content.page-card,
	.ak-brand-logo,
	.ak-hero-copy,
	.ak-footer-copy,
	.ak-login-page::before,
	.ak-login-page::after,
	.ak-login-page .page-card-head .app-logo-badge {
		animation: none !important;
		filter: none !important;
		transform: none !important;
	}
}

@media (max-width: 1100px) {
	.ak-login-page {
		display: flex;
	}

	.ak-login-panel {
		flex-basis: 44vw;
		width: 44vw;
		min-width: 360px;
	}

	.ak-login-panel {
		padding: 42px 46px 62px;
		padding-inline: 46px;
	}

	.login-content.page-card {
		padding: 32px 28px 28px;
	}

	.page-card-subtitle {
		font-size: 11px;
		white-space: nowrap;
	}

	.ak-form-row {
		gap: 8px;
	}

	.ak-remember,
	.forgot-password-message {
		font-size: 11px;
	}

	.ak-visual-content {
		padding: 40px;
	}

	.ak-brand-logo img {
		width: 54px;
		height: 54px;
	}

	.ak-brand-logo img.ak-brand-lockup {
		width: 80px;
		height: 89px;

	}

	.ak-brand-logo strong {
		font-size: 21px;
	}

	.ak-brand-logo span {
		margin-top: 6px;
		font-size: 13px;
	}

	.ak-hero-copy {
		max-width: 440px;
		margin-top: 66px;
	}

	.ak-hero-copy h1 {
		font-size: 26px;
		line-height: 1.34;
	}

	.ak-hero-copy p {
		margin-top: 18px;
		font-size: 13px;
		line-height: 1.45;
	}

	.ak-footer-copy {
		left: 40px;
	}
}

@media (max-width: 0px) {
	.ak-login-page {
		display: flex;
		min-height: 100vh;
		background-position: center;
		background-size: 100% 100%;
		background-repeat: no-repeat;
	}

	.ak-corner-border {
		--ak-footer-depth: 28px;
		width: 38vw;
		max-width: 292px;
		height: 37.5vw;
		max-height: 288px;
	}

	.ak-footer-sweep-ribbon {
		stroke-width: 11;
	}

	.ak-login-page::after {
		right: 0;
		bottom: 6px;
		width: 310px;
		max-width: 38vw;
		height: 122px;
		background-position: right -8px bottom -28px;
		background-size: 240px auto;
		opacity: 1;
	}
	.ak-login-visual {
		position: relative;
		flex: 0 0 61%;
		width: 61%;
		min-height: 100vh;
		overflow: visible;
	}

	.ak-visual-content {
		padding: 20px 0 0 19px;
		min-height: 0;
	}

	.ak-brand-logo {
		gap: 7px;
	}

	.ak-brand-logo img {
		width: 31px;
		height: 31px;
	}

	.ak-brand-logo img.ak-brand-lockup {
		width: 70px;
		height: auto;
	}

	.ak-brand-logo strong {
		font-size: 13px;
		line-height: 1;
	}

	.ak-brand-logo span {
		margin-top: 4px;
		font-size: 7px;
		line-height: 1.15;
	}

	.ak-hero-copy {
		max-width: 250px;
		margin-top: 18px;
	}

	.ak-hero-copy h1 {
		font-size: 12px;
		line-height: 1.45;
	}

	.ak-hero-copy p {
		margin-top: 8px;
		font-size: 6px;
		line-height: 1.35;
		font-weight: 500;
	}

	.ak-footer-copy {
		left: 9px;
		bottom: 9px;
		gap: 4px;
		font-size: 6px;
		line-height: 1;
	}

	.ak-copyright-symbol {
		width: 10px;
		height: 10px;
		font-size: 6px;
	}

	.ak-login-panel {
		flex: 0 0 39%;
		width: 39%;
		min-width: 0;
		max-width: none;
		align-items: flex-start;
		justify-content: flex-start;
		min-height: 100vh;
		padding: 21px 17px 40px 0;
	}

	.ak-login-card-wrap {
		width: 174px;
		min-width: 0;
	}

	.login-content.page-card {
		max-width: none !important;
		padding: 13px 15px 13px !important;
		border-radius: 8px !important;
		box-shadow: 0 10px 30px rgba(8, 48, 104, 0.18);
		display: block !important;
		gap: 0 !important;
	}

	.ak-login-page.has-social-login .login-content.page-card {
		min-height: 264px;
	}

	.page-card-head {
		align-items: center !important;
		gap: 5px !important;
		margin-bottom: 14px !important;
		text-align: center !important;
	}

	.ak-login-page .page-card-head .app-logo-badge {
		width: 42px;
		height: 42px;
		min-width: 42px;
		min-height: 42px;
		max-width: 42px;
		max-height: 42px;
		box-shadow: 0 3px 10px rgba(8, 65, 131, 0.16);
	}

	.page-card-head-text h4 {
		font-size: 8px !important;
		line-height: 1.2 !important;
		letter-spacing: 0 !important;
	}

	.ak-login-page .page-card-head .page-card-head-text {
		gap: 3px !important;
	}

	.ak-login-page .page-card-head .page-card-subtitle {
		margin-top: 0 !important;
		font-size: 4.5px !important;
		line-height: 1.25 !important;
		letter-spacing: 0 !important;
		white-space: nowrap !important;
		font-weight: 400 !important;
	}

	.ak-login-page .login-content.page-card form {
		display: block !important;
		gap: 0 !important;
	}

	.ak-login-page .page-card-body {
		display: block !important;
		gap: 0 !important;
		padding: 0 !important;
	}

	.ak-login-fields {
		display: grid !important;
		gap: 4px !important;
	}

	.ak-login-page .login-content.page-card form .form-group {
		display: flex !important;
		align-items: stretch !important;
		gap: 0 !important;
		margin-bottom: 0 !important;
		width: 100% !important;
	}

	.ak-login-page .login-content.page-card .page-card-body .form-label {
		margin-bottom: 3px !important;
		font-size: 4.5px !important;
		line-height: 1.15 !important;
	}

	.ak-input-wrap {
		min-height: 20px;
		width: 100% !important;
	}

	.ak-login-page .login-content.page-card .page-card-body input[type="text"],
	.ak-login-page .login-content.page-card .page-card-body input[type="email"],
	.ak-login-page .login-content.page-card .page-card-body input[type="password"] {
		width: 100% !important;
		box-sizing: border-box !important;
		min-height: 20px !important;
		height: 20px !important;
		padding: 0 18px 0 17px !important;
		border-radius: 3px !important;
		font-size: 5px !important;
		line-height: 1 !important;
	}

	.ak-login-page .login-content.page-card .page-card-body input::placeholder {
		font-size: 5px !important;
	}

	.ak-field-icon {
		left: 6px;
		width: 7px;
		height: 7px;
	}

	.ak-icon-button {
		right: 5px;
		width: 9px;
		height: 9px;
	}

	.ak-icon-button svg {
		width: 8px;
		height: 8px;
	}

	.ak-login-page .login-content.page-card .page-card-body .field-error {
		min-height: 7px !important;
		margin-top: 0 !important;
		font-size: 4px !important;
	}

	.login-error-banner,
	.login-success-banner {
		gap: 4px;
		margin-bottom: 5px;
		padding: 4px 5px;
		border-radius: 4px;
		font-size: 5px;
		line-height: 1.3;
	}

	.ak-form-row {
		gap: 4px !important;
		min-height: 9px !important;
		margin-top: 2px !important;
		margin-bottom: 0 !important;
	}

	.ak-remember {
		gap: 3px;
		font-size: 4.5px !important;
		line-height: 1 !important;
	}

	.ak-remember input {
		width: 6px;
		height: 6px;
	}

	.forgot-password-message,
	.resend-link {
		font-size: 4.5px !important;
		line-height: 1 !important;
	}

	.ak-login-page .ak-remember span,
	.ak-login-page .forgot-password-message a,
	.ak-login-page .resend-link a {
		font-size: 4.5px !important;
		line-height: 1 !important;
	}

	.ak-login-page .login-content.page-card .page-card-actions {
		display: grid !important;
		gap: 11px !important;
		margin-top: 11px !important;
	}

	.ak-login-page .login-content.page-card .page-card-actions .social-login-buttons {
		margin-top: 0 !important;
	}

	.ak-login-page .login-content.page-card .page-card-actions .login-button-wrapper {
		min-width: 100% !important;
		padding: 0 !important;
	}

	.ak-login-page .login-content.page-card .page-card-actions .btn,
	.ak-login-page .login-content.page-card .page-card-actions .btn-login,
	.ak-login-page .login-content.page-card .page-card-actions .btn-login-option {
		min-height: 20px !important;
		height: 20px !important;
		padding: 0 8px !important;
		border-radius: 4px !important;
		font-size: 5px !important;
		line-height: 1 !important;
		font-weight: 700 !important;
	}

	.ak-divider {
		margin: 5px 0 0 !important;
		font-size: 4.5px !important;
	}

	.ak-divider span {
		padding: 0 8px;
	}

	.ak-sso-button {
		gap: 5px;
	}

	.ak-sso-icon {
		width: 7px;
		height: 7px;
	}

	.ak-sso-icon img,
	.ak-sso-icon svg {
		width: 7px;
		height: 7px;
	}

	.sign-up-message {
		margin-top: 7px;
		font-size: 5px;
	}

	.ak-help-link {
		bottom: -18px;
		font-size: 4.5px;
	}
}

@media (min-width: 721px) and (max-width: 900px) {
	.ak-login-page {
		display: flex;
		min-height: 100vh;
	}

	.ak-login-visual {
		flex: 0 0 52%;
		width: 52%;
		min-height: 100vh;
	}

	.ak-visual-content {
		min-height: 0;
		padding: 28px;
	}

	.ak-brand-logo {
		gap: 10px;
	}

	.ak-brand-logo img {
		width: 44px;
		height: 44px;
	}

	.ak-brand-logo img.ak-brand-lockup {
		width: 112px;
		height: auto;
	}

	.ak-brand-logo strong {
		font-size: 18px;
	}

	.ak-brand-logo span {
		margin-top: 5px;
		font-size: 10px;
	}

	.ak-hero-copy {
		max-width: 330px;
		margin-top: 54px;
	}

	.ak-hero-copy h1 {
		font-size: 22px;
		line-height: 1.28;
	}

	.ak-hero-copy p {
		margin-top: 16px;
		font-size: 12px;
	}

	.ak-corner-border {
		--ak-footer-depth: 34px;
		width: 48vw;
		max-width: 430px;
		height: 47.35vw;
		max-height: 424px;
	}

	.ak-footer-sweep-ribbon {
		stroke-width: 14;
	}

	.ak-login-page::after {
		width: 48vw;
		max-width: 430px;
		height: 190px;
		background-position: right -12px bottom -46px;
		background-size: 560px auto;
	}

	.ak-footer-copy {
		left: 24px;
		bottom: 12px;
		gap: 7px;
		font-size: 11px;
	}

	.ak-copyright-symbol {
		width: 22px;
		height: 22px;
	}

	.ak-login-panel {
		flex: 1 1 48%;
		width: 48%;
		min-width: 0;
		max-width: none;
		align-items: center;
		justify-content: center;
		min-height: 100vh;
		padding: 32px 24px 64px;
	}

	.ak-login-card-wrap {
		width: min(100%, 360px);
	}

	.login-content.page-card {
		padding: 26px 24px 22px;
		border-radius: 8px;
		box-shadow: 0 18px 44px rgba(8, 48, 104, 0.18);
	}

	.page-card-head {
		gap: 9px;
		margin-bottom: 22px;
	}

	.ak-login-page .page-card-head .app-logo-badge {
		width: 66px;
		height: 66px;
		min-width: 66px;
		min-height: 66px;
		max-width: 66px;
		max-height: 66px;
	}

	.page-card-head-text h4 {
		font-size: 19px;
	}

	.page-card-subtitle {
		margin-top: 6px;
		font-size: 11px;
		white-space: normal;
	}

	.ak-login-fields {
		gap: 14px;
	}

	.form-label {
		margin-bottom: 6px;
		font-size: 11px;
	}

	.ak-input-wrap,
	.ak-input-wrap .form-control {
		min-height: 44px;
	}

	.ak-input-wrap .form-control {
		font-size: 12px;
	}

	.ak-form-row {
		gap: 8px;
		margin-top: 10px;
	}

	.ak-remember,
	.forgot-password-message {
		font-size: 10.5px;
	}

	.page-card-actions {
		gap: 12px;
		margin-top: 18px;
	}

	.page-card-actions .btn {
		min-height: 44px;
		font-size: 13px;
	}

	.sign-up-message {
		margin-top: 14px;
		font-size: 11px;
	}

	.ak-help-link {
		display: none;
	}
}

@media (max-width: 720px) {
	.ak-login-page {
		display: block;
		min-height: 100vh;
		min-height: 100dvh;
		background-color: #eaf3fb;
		background-image:
			radial-gradient(circle at 10% 8%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0.42) 24%, transparent 46%),
			radial-gradient(circle at 92% 88%, rgba(8, 96, 184, 0.18) 0, rgba(8, 96, 184, 0.06) 28%, transparent 48%),
			linear-gradient(145deg, #edf6fd 0%, #dfeefa 52%, #eef6fc 100%);
		overflow-y: auto;
	}

	.ak-login-page::before,
	.ak-login-page::after {
		display: none;
	}

	.ak-corner-border {
		display: none;
	}

	.ak-login-visual {
		display: none;
	}

	.ak-visual-content {
		min-height: auto;
		padding: 28px 22px 0;
	}

	.ak-hero-copy {
		display: none;
	}

	.ak-brand-logo {
		color: #005eb8;
	}

	.ak-brand-logo img {
		width: 42px;
		height: 42px;
	}

	.ak-brand-logo strong {
		font-size: 20px;
	}

	.ak-brand-logo span {
		font-size: 13px;
	}

	.ak-footer-copy {
		display: none;
	}

	.ak-login-panel {
		position: relative;
		display: flex;
		flex: none;
		align-items: stretch;
		justify-content: center;
		width: 100%;
		min-width: 0;
		max-width: none;
		min-height: 100vh;
		min-height: 100dvh;
		padding: 24px 16px 28px;
		padding: max(24px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
		background: transparent;
	}

	.ak-login-panel::before {
		display: none;
	}

	.ak-login-card-wrap {
		width: min(100%, 380px);
		margin: auto;
	}
}

@media (max-width: 720px) {
	.ak-login-panel {
		padding-inline: 16px;
	}

	.login-content.page-card {
		position: relative;
		padding: 24px;
		border: 1px solid rgba(255, 255, 255, 0.9);
		border-radius: 24px;
		background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(240, 248, 255, 0.56));
		box-shadow:
			0 26px 64px rgba(17, 56, 105, 0.16),
			0 8px 20px rgba(8, 96, 184, 0.06),
			inset 0 1px 0 rgba(255, 255, 255, 0.96);
		-webkit-backdrop-filter: blur(20px) saturate(130%);
		backdrop-filter: blur(20px) saturate(130%);
	}

	.login-content.page-card::before {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		width: 58%;
		height: 3px;
		border-radius: 0 0 999px 999px;
		background: linear-gradient(90deg, transparent, rgba(8, 96, 184, 0.82), transparent);
		transform: translateX(-50%);
		pointer-events: none;
	}

	.page-card-head {
		gap: 10px;
		margin-bottom: 24px;
	}

	.ak-login-page .page-card-head .app-logo-badge {
		width: 66px;
		height: 66px;
		min-width: 66px;
		min-height: 66px;
		max-width: 66px;
		max-height: 66px;
		border: 2px solid #fff;
		background: #0060ad;
		box-shadow: 0 0 0 2px rgba(0, 96, 173, 0.14), 0 6px 18px rgba(8, 65, 131, 0.28);
	}

	.page-card-head-text h4 {
		font-size: 19px;
		line-height: 1.2;
	}

	.page-card-subtitle {
		margin-top: 5px;
		font-size: 12px;
		line-height: 1.45;
		white-space: normal;
	}

	.ak-login-fields {
		gap: 0;
	}

	.ak-login-fields .form-group + .form-group {
		margin-top: 16px;
	}

	.form-label {
		margin-bottom: 6px;
		font-size: 11px;
	}

	.ak-input-wrap {
		min-height: 46px;
	}

	.ak-input-wrap .form-control {
		min-height: 46px;
		padding-right: 48px;
		padding-left: 42px;
		border-color: rgba(169, 190, 214, 0.72);
		background: rgba(255, 255, 255, 0.58);
		font-size: 13px;
		box-shadow: inset 0 1px 2px rgba(24, 62, 106, 0.04);
	}

	.ak-input-wrap .form-control::placeholder {
		font-size: 12px;
	}

	.ak-field-icon {
		left: 14px;
	}

	.ak-icon-button {
		right: 7px;
		width: 36px;
		height: 36px;
	}

	.field-error:empty {
		display: none;
	}

	.ak-form-row {
		align-items: center;
		gap: 12px;
		min-height: 24px;
		margin-top: 14px;
		margin-bottom: 0;
	}

	.ak-remember,
	.forgot-password-message {
		font-size: 10.5px;
		line-height: 1.25;
	}

	.ak-remember input {
		width: 16px;
		height: 16px;
	}

	.page-card-actions {
		gap: 12px;
		margin-top: 18px;
	}

	.page-card-actions .btn {
		min-height: 42px;
		font-size: 13px;
	}

	.ak-divider {
		margin-top: 4px;
		font-size: 12px;
	}

	.ak-divider span {
		padding-inline: 14px;
	}

	.sign-up-message {
		margin-top: 16px;
		font-size: 12px;
		line-height: 1.45;
	}

	.ak-help-link {
		display: none;
	}
}

@media (max-width: 720px) and (max-height: 640px) {
	.ak-login-panel {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.login-content.page-card {
		padding: 18px 20px;
	}

	.page-card-head {
		gap: 7px;
		margin-bottom: 16px;
	}

	.ak-login-page .page-card-head .app-logo-badge {
		width: 60px;
		height: 60px;
		min-width: 60px;
		min-height: 60px;
		max-width: 60px;
		max-height: 60px;
	}

	.page-card-head-text h4 {
		font-size: 19px;
	}

	.ak-login-fields .form-group + .form-group {
		margin-top: 12px;
	}

	.ak-input-wrap,
	.ak-input-wrap .form-control {
		min-height: 44px;
	}

	.ak-form-row {
		margin-top: 10px;
	}

	.page-card-actions {
		margin-top: 14px;
	}

	.page-card-actions .btn {
		min-height: 40px;
		font-size: 12px;
	}
}

@media (min-width: 721px) and (max-height: 680px) {
	.ak-login-panel {
		align-items: flex-start;
		padding-top: 24px;
		padding-bottom: 48px;
	}

	.login-content.page-card {
		padding-top: 24px;
		padding-bottom: 22px;
	}

	.page-card-head {
		gap: 8px;
		margin-bottom: 18px;
	}

	.ak-login-page .page-card-head .app-logo-badge {
		width: 66px;
		height: 66px;
		min-width: 66px;
		min-height: 66px;
		max-width: 66px;
		max-height: 66px;
	}

	.ak-login-fields {
		gap: 12px;
	}

	.ak-input-wrap,
	.ak-input-wrap .form-control {
		min-height: 42px;
	}

	.ak-form-row {
		margin-top: 8px;
	}

	.page-card-actions {
		margin-top: 16px;
	}

	.page-card-actions .btn {
		min-height: 42px;
	}
}

@media (max-width: 350px) {
	.ak-login-panel {
		padding-inline: 12px;
	}

	.login-content.page-card {
		padding: 22px 18px 20px;
	}

	.page-card-head {
		margin-bottom: 20px;
	}

	.ak-form-row {
		gap: 8px;
	}

	.ak-remember,
	.forgot-password-message {
		font-size: 11px;
	}
}
