/* ==================================================
   NANOSKILL AUTHENTICATION
================================================== */

.ns-auth-page {
	min-height: 100vh;
	background: #f6f8fb;
	color: #142c49;
	font-family: "Poppins", sans-serif;
}

.ns-auth-page *,
.ns-auth-page *::before,
.ns-auth-page *::after {
	box-sizing: border-box;
}

.ns-auth-layout {
	display: grid;
	min-height: calc(100vh - 80px);
	grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
}

.ns-password-wrapper{

	position:relative;

}

.ns-password-wrapper input{

	width:100%;
	padding-right:55px;

}

.ns-password-toggle{

	position:absolute;

	top:50%;

	right:18px;

	transform:translateY(-50%);

	border:none;

	background:transparent;

	cursor:pointer;

	padding:0;

	font-size:18px;

	color:#64748b;

}

.ns-password-toggle:hover{

	color:#0f172a;

	background:transparent;

}

/* ==================================================
   BRAND PANEL
================================================== */

.ns-auth-brand {
	position: relative;
	overflow: hidden;
	padding: 54px;
	background:
		linear-gradient(
			145deg,
			#061d38 0%,
			#093b6c 55%,
			#0e5795 100%
		);
	color: #ffffff;
}

.ns-auth-brand::before {
	position: absolute;
	top: -180px;
	right: -210px;
	width: 480px;
	height: 480px;
	background: rgba(241, 187, 26, 0.15);
	border-radius: 50%;
	content: "";
}

.ns-auth-brand::after {
	position: absolute;
	bottom: -230px;
	left: -180px;
	width: 510px;
	height: 510px;
	background: rgba(76, 160, 234, 0.15);
	border-radius: 50%;
	content: "";
}

.ns-auth-brand__inner {
	position: relative;
	z-index: 2;
	display: flex;
	min-height: 100%;
	flex-direction: column;
	justify-content: space-between;
}

.ns-auth-brand__name {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	color: #ffffff;
	font-family: "Montserrat", sans-serif;
	font-size: 17px;
	font-weight: 850;
	letter-spacing: 0.07em;
	text-decoration: none;
}

.ns-auth-brand__name span {
	color: #efbd27;
	font-size: 9px;
	letter-spacing: 0.14em;
}

.ns-auth-brand__content {
	max-width: 510px;
	margin-block: 75px;
}

.ns-auth-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 18px;
	color: #efbd27;
	font-family: "Montserrat", sans-serif;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ns-auth-eyebrow::before {
	width: 21px;
	height: 2px;
	background: currentColor;
	content: "";
}

.ns-auth-brand h1 {
	max-width: 500px;
	margin: 0 0 22px;
	color: #ffffff;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(40px, 4.2vw, 62px);
	font-weight: 760;
	line-height: 1.07;
	letter-spacing: -0.045em;
}

.ns-auth-brand__content > p {
	max-width: 500px;
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 14px;
	line-height: 1.85;
}

.ns-auth-benefits {
	display: grid;
	gap: 14px;
	margin-top: 38px;
}

.ns-auth-benefits > div {
	display: flex;
	align-items: center;
	gap: 13px;
}

.ns-auth-benefits span {
	display: inline-flex;
	width: 31px;
	height: 31px;
	flex: 0 0 31px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.17);
	border-radius: 50%;
	color: #efbd27;
	font-size: 8px;
	font-weight: 800;
}

.ns-auth-benefits p {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 11px;
	font-weight: 600;
}

.ns-auth-brand__footer {
	margin: 0;
	color: rgba(255, 255, 255, 0.42);
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}


/* ==================================================
   FORM PANEL
================================================== */

.ns-auth-form-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 70px 45px;
}

.ns-auth-card {
	width: min(100%, 480px);
}

.ns-auth-card__header {
	margin-bottom: 31px;
}

.ns-auth-mobile-brand {
	display: none;
	margin-bottom: 25px;
	color: #104d87;
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.1em;
}

.ns-auth-card__header h2 {
	margin: 0 0 9px;
	color: #102b4e;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(31px, 3vw, 42px);
	font-weight: 760;
	letter-spacing: -0.04em;
}

.ns-auth-card__header p {
	margin: 0;
	color: #748297;
	font-size: 13px;
	line-height: 1.7;
}


/* ==================================================
   FORM
================================================== */

.ns-auth-form {
	display: grid;
	gap: 18px;
}

.ns-auth-name-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ns-auth-field {
	display: grid;
	gap: 8px;
}

.ns-auth-field label,
.ns-auth-label-row label {
	color: #29435f;
	font-size: 11px;
	font-weight: 700;
}

.ns-auth-field input {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 15px;
	background: #ffffff;
	border: 1px solid #dce3eb;
	border-radius: 11px;
	color: #132d4b;
	font-family: "Poppins", sans-serif;
	font-size: 13px;
	outline: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.ns-auth-field input:focus {
	border-color: #3977af;
	box-shadow: 0 0 0 4px rgba(30, 99, 159, 0.08);
}

.ns-auth-field small {
	color: #929eac;
	font-size: 9px;
}

.ns-auth-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.ns-auth-label-row a {
	color: #145d9d;
	font-size: 10px;
	font-weight: 700;
	text-decoration: none;
}

.ns-auth-label-row a:hover {
	text-decoration: underline;
}

.ns-auth-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #66768a;
	font-size: 10px;
	line-height: 1.65;
	cursor: pointer;
}

.ns-auth-checkbox input {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	margin: 1px 0 0;
	accent-color: #104d87;
}

.ns-auth-checkbox a {
	color: #104d87;
	font-weight: 700;
	text-decoration: none;
}

.ns-auth-checkbox--remember {
	align-items: center;
}

.ns-auth-submit {
	display: inline-flex;
	width: 100%;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	margin-top: 3px;
	padding: 0 24px;
	background: #104d87;
	border: 0;
	border-radius: 11px;
	color: #ffffff;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 750;
	cursor: pointer;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.ns-auth-submit:hover {
	background: #0b3967;
	transform: translateY(-1px);
}

.ns-auth-switch {
	margin: 25px 0 0;
	color: #7b8899;
	font-size: 11px;
	text-align: center;
}

.ns-auth-switch a {
	color: #104d87;
	font-weight: 750;
	text-decoration: none;
}

.ns-auth-switch a:hover {
	text-decoration: underline;
}


/* ==================================================
   ALERTS
================================================== */

.ns-auth-alert {
	margin-bottom: 22px;
	padding: 13px 15px;
	border-radius: 9px;
	font-size: 11px;
	line-height: 1.6;
}

.ns-auth-alert--error {
	background: #fff2f1;
	border: 1px solid #f4cfcb;
	color: #a43b32;
}


/* ==================================================
   HONEYPOT
================================================== */

.ns-auth-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 960px) {

	.ns-auth-layout {
		grid-template-columns: minmax(300px, 0.8fr) minmax(430px, 1.2fr);
	}

	.ns-auth-brand {
		padding: 40px 32px;
	}

	.ns-auth-form-panel {
		padding: 60px 35px;
	}

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

	.ns-auth-layout {
		display: block;
		min-height: auto;
	}

	.ns-auth-brand {
		display: none;
	}

	.ns-auth-form-panel {
		min-height: calc(100vh - 70px);
		align-items: flex-start;
		padding: 48px 20px 65px;
	}

	.ns-auth-mobile-brand {
		display: block;
	}

	.ns-auth-card {
		width: 100%;
	}

	.ns-auth-name-grid {
		grid-template-columns: 1fr;
	}

	.ns-auth-card__header h2 {
		font-size: 34px;
	}

}