/* =========================================================
   JOBS FINDER - EMPLOYER LOGIN
   FINAL LOGIN.CSS
   ========================================================= */

.employer-login-page{
	width:100%;
	height:100vh;
	min-height:100vh;
	margin:0;
	overflow:hidden;
	color:#172033;
	background:#f6f8fb;
}

/* =========================================================
   MAIN LAYOUT - 50/50
   ========================================================= */

.employer-login-shell{
	width:100%;
	height:100vh;
	min-height:0;
	display:grid;
	grid-template-columns:45% 55%;
	background:#f6f8fb;
}

/* =========================================================
   LEFT EMPLOYER PANEL
   ========================================================= */

.employer-login-brand{
	position:relative;
	width:100%;
	height:100vh;
	min-width:0;
	padding:32px 45px;
	display:flex;
	align-items:center;
	justify-content:center;
	overflow:hidden;
	background:linear-gradient(
		145deg,
		var(--theme-primary) 0%,
		var(--theme-dark) 100%
	);
}

.employer-brand-content{
	position:relative;
	z-index:2;
	width:100%;
	max-width:640px;
	margin:0;
	color:#fff;
}

/* Logo and Employer Badge */
.employer-brand-top{
	margin:0 0 25px;
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:11px;
}

.employer-brand-logo{
	display:inline-flex;
	align-items:center;
	gap:10px;
	color:#fff;
	font-family:"Poppins",sans-serif;
	font-size:22px;
	font-weight:700;
	line-height:1;
	text-decoration:none;
}

.employer-brand-logo:hover{
	color:#fff;
}

.employer-brand-logo>i{
	width:43px;
	height:43px;
	flex:0 0 43px;
	display:flex;
	align-items:center;
	justify-content:center;
	color:var(--theme-dark);
	background:#fff;
	border-radius:10px;
	font-size:17px;
	box-shadow:0 4px 13px rgba(0,0,0,.13);
}

.employer-brand-badge{
	padding:6px 11px;
	display:inline-flex;
	align-items:center;
	gap:6px;
	color:#fff;
	background:rgba(255,255,255,.13);
	border:1px solid rgba(255,255,255,.27);
	border-radius:18px;
	font-size:11px;
	font-weight:700;
}

/* Left Heading */
.employer-brand-content h1{
	max-width:620px;
	margin:0 0 13px;
	color:#fff;
	font-family:"Poppins",sans-serif;
	font-size:34px;
	font-weight:700;
	line-height:1.23;
}

.employer-brand-content>p{
	max-width:610px;
	margin:0 0 22px;
	color:rgba(255,255,255,.90);
	font-size:13px;
	font-weight:400;
	line-height:1.55;
}

/* Employer Benefits */
.employer-benefits{
	width:100%;
	max-width:620px;
	display:grid;
	grid-template-columns:1fr;
	gap:10px;
}

.employer-benefit{
	width:100%;
	min-height:57px;
	padding:9px 12px;
	display:flex!important;
	align-items:center;
	gap:11px;
	background:rgba(255,255,255,.09);
	border:1px solid rgba(255,255,255,.18);
	border-radius:10px;
}

.employer-benefit-icon{
	width:38px;
	height:38px;
	flex:0 0 38px;
	display:flex;
	align-items:center;
	justify-content:center;
	color:var(--theme-dark);
	background:#fff;
	border-radius:8px;
	font-size:14px;
}

.employer-benefit>div:last-child{
	min-width:0;
	display:flex;
	flex-direction:column;
	gap:2px;
}

.employer-benefit strong{
	color:#fff;
	font-size:12px;
	font-weight:700;
	line-height:1.3;
}

.employer-benefit span{
	color:rgba(255,255,255,.82);
	font-size:10px;
	line-height:1.35;
}

/* Left Decorations */
.employer-login-brand::before{
	content:"";
	position:absolute;
	top:-185px;
	right:-175px;
	width:440px;
	height:440px;
	background:rgba(255,255,255,.055);
	border-radius:50%;
	pointer-events:none;
}

.employer-login-brand::after{
	content:"";
	position:absolute;
	left:-135px;
	bottom:-145px;
	width:290px;
	height:290px;
	background:rgba(255,255,255,.045);
	border-radius:50%;
	pointer-events:none;
}

.employer-brand-decoration{
	display:none;
}

/* =========================================================
   RIGHT LOGIN AREA
   ========================================================= */

.employer-login-area{
	position:relative;
	width:100%;
	height:100vh;
	min-width:0;
	min-height:0;
	padding:0 32px 13px;
	display:grid;

	/*
	 * Row 1: Back button and palette
	 * Row 2: Login card
	 * Row 3: Footer at bottom
	 */
	grid-template-rows:74px minmax(0,1fr) 34px;

	overflow:hidden;

	background:linear-gradient(
		135deg,
		rgba(var(--theme-rgb),.035) 0%,
		#f7f9fc 48%,
		#fff 100%
	);
}

/* =========================================================
   TOP NAVIGATION
   ========================================================= */

.employer-login-top{
	position:relative;
	top:auto;
	left:auto;
	right:auto;
	transform:none;
	z-index:20;
	grid-row:1;
	width:100%;
	max-width:650px;
	margin:0 auto;
	display:flex;
	align-items:center;
	justify-content:space-between;
}

.back-home{
	display:inline-flex;
	align-items:center;
	gap:7px;
	color:#526071;
	font-size:12px;
	font-weight:700;
	text-decoration:none;
}

.back-home i{
	color:var(--theme-primary);
	font-size:11px;
}

.back-home:hover{
	color:var(--theme-dark);
}

/* =========================================================
   PALETTE BUTTON
   ========================================================= */

.theme-picker{
	width:39px;
	height:39px;
	padding:0;
	display:flex;
	align-items:center;
	justify-content:center;
	color:var(--theme-primary);
	background:#fff;
	border:1px solid rgba(var(--theme-rgb),.22);
	border-radius:50%;
	cursor:pointer;
	font-size:14px;
	box-shadow:0 4px 12px rgba(0,0,0,.07);
	transition:
		color .2s ease,
		background .2s ease,
		border-color .2s ease,
		transform .2s ease;
}

.theme-picker:hover,
.theme-picker.show{
	color:#fff;
	background:var(--theme-primary);
	border-color:var(--theme-primary);
	transform:translateY(-1px);
}

/* Palette Dropdown */
.theme-dropdown{
	width:180px;
	margin-top:6px!important;
	padding:5px;
	border:1px solid #e1e6ec;
	border-radius:9px;
	box-shadow:0 10px 28px rgba(16,24,40,.13);
}

.theme-dropdown .dropdown-item{
	position:relative;
	padding:8px 9px;
	display:flex;
	align-items:center;
	gap:8px;
	color:#344054;
	background:transparent;
	border-radius:6px;
	font-size:11px;
	font-weight:500;
}

.theme-dropdown .dropdown-item:hover{
	color:var(--theme-dark);
	background:rgba(var(--theme-rgb),.07);
}

.theme-dropdown .dropdown-item.active{
	color:var(--theme-dark);
	background:rgba(var(--theme-rgb),.10);
	font-weight:700;
}

.theme-dot{
	width:10px;
	height:10px;
	flex:0 0 10px;
	border-radius:50%;
}

.theme-dot.teal{
	background:#00897b;
}

.theme-dot.orange{
	background:#cf5700;
}

.theme-dot.blue{
	background:#174e7e;
}

.theme-selection-check{
	margin-left:auto;
	display:none;
	color:var(--theme-primary);
	font-size:9px;
}

.theme-choice.active .theme-selection-check{
	display:inline-block;
}

/* =========================================================
   LOGIN CARD
   ========================================================= */

.employer-login-card{
	grid-row:2;
	align-self:center;
	justify-self:center;
	width:100%;
	max-width:520px;
	margin:0;
	padding:25px 32px 21px;
	background:#fff;
	border:1px solid #dfe5ec;
	border-radius:15px;
	box-shadow:0 14px 42px rgba(16,24,40,.09);
}

/* Login Header */
.employer-login-heading{
	margin:0 0 19px;
	text-align:center;
}

.login-icon{
	width:48px;
	height:48px;
	margin:0 auto 7px;
	display:flex;
	align-items:center;
	justify-content:center;
	color:var(--theme-dark);
	background:rgba(var(--theme-rgb),.10);
	border:1px solid rgba(var(--theme-rgb),.19);
	border-radius:12px;
	font-size:18px;
}

.employer-login-heading h2{
	margin:0 0 4px;
	color:#172033;
	font-family:"Poppins",sans-serif;
	font-size:24px;
	font-weight:700;
	line-height:1.25;
}

.employer-login-heading p{
	margin:0;
	color:#526071;
	font-size:12.5px;
	font-weight:400;
	line-height:1.45;
}

/* =========================================================
   MESSAGES
   ========================================================= */

.login-message{
	margin:0 0 12px;
	padding:8px 10px;
	display:flex;
	align-items:center;
	gap:7px;
	border-radius:7px;
	font-size:10.5px;
	font-weight:600;
	line-height:1.35;
}

.login-message.error{
	color:#b42318;
	background:#fef3f2;
	border:1px solid #fecdca;
}

.login-message.success{
	color:#027a48;
	background:#ecfdf3;
	border:1px solid #abefc6;
}

/* =========================================================
   FORM
   ========================================================= */

.login-form-group{
	margin:0 0 15px;
}

.login-form-group label{
	display:block;
	margin:0 0 6px;
	color:#172033;
	font-size:13px;
	font-weight:700;
	line-height:1.3;
}

.login-label-row{
	margin:0 0 6px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
}

.login-label-row label{
	margin:0;
}

.login-label-row>a{
	margin:0;
	color:var(--theme-primary);
	font-size:11px;
	font-weight:700;
	text-decoration:none;
}

.login-label-row>a:hover{
	color:var(--theme-dark);
	text-decoration:underline;
}

/* =========================================================
   INPUTS
   ========================================================= */

.login-input-wrap{
	position:relative;
}

.login-input-wrap>i{
	position:absolute;
	left:13px;
	top:50%;
	z-index:2;
	transform:translateY(-50%);
	color:#98a2b3;
	font-size:12px;
	pointer-events:none;
}

.login-input-wrap input{
	width:100%;
	height:43px;
	margin:0;
	padding:0 42px 0 37px;
	color:#172033;
	background:#fff;
	border:1px solid #cdd5df;
	border-radius:8px;
	outline:0;
	box-sizing:border-box;
	font-family:"Open Sans",sans-serif;
	font-size:12.5px;
	font-weight:400;
	transition:
		border-color .2s ease,
		box-shadow .2s ease;
}

.login-input-wrap input::placeholder{
	color:#98a2b3;
	font-size:12px;
}

.login-input-wrap input:hover{
	border-color:#aeb8c5;
}

.login-input-wrap input:focus{
	border-color:var(--theme-primary);
	box-shadow:0 0 0 3px rgba(var(--theme-rgb),.10);
}

.login-input-wrap .invalid-feedback{
	margin-top:4px;
	font-size:12px;
}

/* Password Toggle */
.password-toggle{
	position:absolute;
	right:5px;
	top:50%;
	z-index:3;
	width:33px;
	height:33px;
	padding:0;
	transform:translateY(-50%);
	display:flex;
	align-items:center;
	justify-content:center;
	color:#667085;
	background:transparent;
	border:0;
	border-radius:6px;
	cursor:pointer;
	font-size:11px;
}

.password-toggle:hover{
	color:var(--theme-primary);
	background:rgba(var(--theme-rgb),.06);
}

/* =========================================================
   REMEMBER ME
   ========================================================= */

.remember-login{
	margin:2px 0 15px;
	display:flex;
	align-items:center;
	gap:8px;
	color:#526071;
	font-size:11.5px;
	font-weight:500;
	cursor:pointer;
}

.remember-login input{
	width:15px;
	height:15px;
	margin:0;
	accent-color:var(--theme-primary);
}

/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.employer-login-button{
	width:100%;
	height:43px;
	margin:20px 0px;
	padding:0 14px;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:7px;
	color:#fff;
	background:var(--theme-primary);
	border:1px solid var(--theme-primary);
	border-radius:8px;
	cursor:pointer;
	font-family:"Open Sans",sans-serif;
	font-size:12px;
	font-weight:700;
	transition:
		background .2s ease,
		border-color .2s ease,
		transform .2s ease,
		box-shadow .2s ease;
}

.employer-login-button:hover{
	color:#fff;
	background:var(--theme-dark);
	border-color:var(--theme-dark);
	transform:translateY(-1px);
	box-shadow:0 5px 13px rgba(var(--theme-rgb),.18);
}

.employer-login-button:disabled{
	opacity:.75;
	cursor:not-allowed;
}

/* =========================================================
   NEW EMPLOYER DIVIDER
   ========================================================= */

.login-divider{
	position:relative;
	margin:19px 0 14px;
	text-align:center;
}

.login-divider::before{
	content:"";
	position:absolute;
	left:0;
	right:0;
	top:50%;
	height:1px;
	background:#e5e7eb;
}

.login-divider span{
	position:relative;
	z-index:1;
	padding:0 11px;
	color:#7b8797;
	background:#fff;
	font-size:10.5px;
	font-weight:500;
}

/* =========================================================
   REGISTER BUTTON
   ========================================================= */

.employer-register-button{
	width:100%;
	min-height:40px;
	padding:6px 11px;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:7px;
	color:var(--theme-dark);
	background:rgba(var(--theme-rgb),.06);
	border:1px solid rgba(var(--theme-rgb),.22);
	border-radius:8px;
	font-size:11.5px;
	font-weight:700;
	text-decoration:none;
	transition:
		background .2s ease,
		border-color .2s ease,
		transform .2s ease;
}

.employer-register-button:hover{
	color:var(--theme-dark);
	background:rgba(var(--theme-rgb),.11);
	border-color:rgba(var(--theme-rgb),.30);
	transform:translateY(-1px);
}

/* =========================================================
   CANDIDATE LOGIN
   ========================================================= */

.candidate-login-link{
	margin-top:12px;
	color:#526071;
	font-size:10.5px;
	text-align:center;
}

.candidate-login-link>a{
	margin-left:4px;
	color:var(--theme-primary);
	font-size:12px;
	font-weight:700;
	text-decoration:none;
}

.candidate-login-link>a:hover{
	color:var(--theme-dark);
	text-decoration:underline;
}

/* =========================================================
   FOOTER - LOWER POSITION
   ========================================================= */

.employer-login-footer{
	grid-row:3;
	align-self:end;
	justify-self:center;
	margin:0;
	padding:0 0 1px;
	display:flex;
	align-items:center;
	justify-content:center;
	flex-wrap:wrap;
	gap:6px;
	color:#7b8797;
	font-size:9px;
	line-height:1.3;
}

.employer-login-footer a{
	color:#667085;
	text-decoration:none;
}

.employer-login-footer a:hover{
	color:var(--theme-primary);
	text-decoration:underline;
}

.footer-separator{
	color:#c2c8d0;
}

/* =========================================================
   BOOTSTRAP OVERRIDES
   ========================================================= */

.form-check-input:checked{
	background-color:var(--theme-primary);
	border-color:var(--theme-primary);
}

.form-check-input:focus{
	border-color:var(--theme-primary);
	box-shadow:0 0 0 .2rem rgba(var(--theme-rgb),.12);
}

.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus{
	border-color:#dc2626;
	box-shadow:0 0 0 .2rem rgba(220,38,38,.10);
}

/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media(min-width:1500px){

	.employer-brand-content{
		max-width:660px;
	}

	.employer-brand-content h1{
		max-width:640px;
	}

	.employer-brand-content>p{
		max-width:630px;
	}

	.employer-benefits{
		max-width:640px;
	}

	.employer-login-top{
		max-width:670px;
	}

	.employer-login-card{
		max-width:540px;
	}
}

/* =========================================================
   SHORT LAPTOP SCREEN
   ========================================================= */

@media(max-height:760px) and (min-width:851px){

	.employer-login-brand{
		padding-top:20px;
		padding-bottom:20px;
	}

	.employer-brand-top{
		margin-bottom:17px;
	}

	.employer-brand-content h1{
		margin-bottom:8px;
		font-size:28px;
	}

	.employer-brand-content>p{
		margin-bottom:13px;
		font-size:11.5px;
	}

	.employer-benefits{
		gap:6px;
	}

	.employer-benefit{
		min-height:46px;
		padding:10px 9px;
		margin:6px 0px;
	}

	.employer-benefit-icon{
		width:33px;
		height:33px;
		flex-basis:33px;
	}

	.employer-benefit:nth-child(1),
	.employer-benefit:nth-child(2),
	.employer-benefit:nth-child(3){
		display:flex!important;
	}

	.employer-login-area{
		grid-template-rows:54px minmax(0,1fr) 28px;
		padding-bottom:6px;
	}

	.employer-login-card{
		max-width:500px;
		padding:15px 27px 13px;
	}

	.employer-login-heading{
		margin-bottom:10px;
	}

	.login-icon{
		width:39px;
		height:39px;
		margin-bottom:4px;
		font-size:15px;
	}

	.employer-login-heading h2{
		font-size:20px;
	}

	.employer-login-heading p{
		font-size:13px; 
	}

	.login-form-group{
		margin-bottom:9px;
	}

	.login-form-group label{
		margin-bottom:4px;
		font-size:12px;
	}

	.login-label-row{
		margin-bottom:4px;
	}

	.login-input-wrap input{
		height:37px;
		font-size:11.5px;
	}

	.remember-login{
		margin-bottom:7px;
		font-size:10.5px;
	}

	.employer-login-button{
		height:37px;
		font-size:11px;
	}

	.login-divider{
		margin:9px 0 7px;
	}

	.employer-register-button{
		min-height:34px;
		font-size:10.5px;
	}

	.candidate-login-link{
		margin-top:6px;
		font-size:12px;
	}

	.candidate-login-link>a{
		font-size:11px;
	}

	.employer-login-footer{
		padding-bottom:0;
		font-size:12px;
	}
}
/* =========================================================
   TABLET / MOBILE ORDER
   Login first, Employer information second
   ========================================================= */

@media(max-width:850px){

	.employer-login-page{
		height:auto;
		min-height:100vh;
		overflow-x:hidden;
		overflow-y:auto;
	}

	.employer-login-shell{
		width:100%;
		height:auto;
		min-height:100vh;
		display:flex;
		flex-direction:column;
	}

	/* Login section first */
	.employer-login-area{
		order:1;

		width:100%;
		height:auto;
		min-height:auto;

		padding:0 18px 22px;

		display:grid;
		grid-template-rows:65px auto auto;

		overflow:visible;
	}

	/* Employer information second */
	.employer-login-brand{
		order:2;

		width:100%;
		height:auto;
		min-height:auto;

		padding:28px 25px;

		align-items:flex-start;
		justify-content:flex-start;
	}

	/* Top controls */
	.employer-login-top{
		grid-row:1;

		width:100%;
		max-width:520px;

		margin:0 auto;
	}

	/* Login card */
	.employer-login-card{
		grid-row:2;

		width:100%;
		max-width:500px;

		margin:0 auto;

		align-self:start;
		justify-self:center;
	}

	/* Footer directly below login card */
	.employer-login-footer{
		grid-row:3;

		margin:14px auto 0;
		padding:0;

		align-self:start;
		justify-self:center;
	}

	/* Employer information */
	.employer-brand-content{
		width:100%;
		max-width:none;
		margin:0 auto;
	}

	.employer-brand-top{
		margin-bottom:18px;
	}

	.employer-brand-content h1{
		max-width:680px;
		font-size:26px;
	}

	.employer-brand-content>p{
		max-width:680px;
		margin-bottom:18px;
	}

	/* Keep all 3 benefits */
	.employer-benefits{
		width:100%;
		max-width:none;

		grid-template-columns:
			repeat(3,minmax(0,1fr));

		gap:10px;
	}

	.employer-benefit{
		display:flex!important;
		align-items:flex-start;
	}
}

/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:600px){

	/* Login remains first */
	.employer-login-area{
		order:1;

		padding:
			0 12px 18px;

		grid-template-rows:
			60px auto auto;
	}

	/* Employer area remains second */
	.employer-login-brand{
		order:2;

		padding:
			24px 17px 26px;
	}

	.employer-login-top{
		width:100%;
		max-width:480px;
	}

	.employer-login-card{
		width:100%;
		max-width:480px;

		padding:
			20px 18px 17px;
	}

	.employer-login-footer{
		margin-top:14px;
		margin-bottom:4px;
	}

	/* Employer branding */
	.employer-brand-top{
		margin-bottom:16px;
	}

	.employer-brand-logo{
		font-size:19px;
	}

	.employer-brand-logo>i{
		width:37px;
		height:37px;
		flex:0 0 37px;
	}

	.employer-brand-content h1{
		font-size:22px;
	}

	.employer-brand-content>p{
		font-size:11px;
		line-height:1.5;
	}

	/* Stack benefit cards on phones */
	.employer-benefits{
		grid-template-columns:1fr;
		gap:8px;
	}

	.employer-benefit:nth-child(1),
	.employer-benefit:nth-child(2),
	.employer-benefit:nth-child(3){
		display:flex!important;
	}
}

/* =========================================================
   OTP VERIFICATION
   ========================================================= */

.otp-expiry-info{
	margin:12px 0 0;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:6px;
	color:#667085;
	font-size:10.5px;
}

.otp-expiry-info i{
	color:var(--theme-primary);
}

.otp-expiry-info strong{
	color:var(--theme-dark);
	font-weight:700;
}

.otp-expiry-info strong.expired{
	color:#dc2626;
}

.otp-resend-area{
	min-height:25px;
	margin-top:7px;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:5px;
}

.otp-resend-area #resendWaitingText{
	color:#667085;
}

.otp-resend-area #resendTimer{
	color:var(--theme-primary);
	font-weight:700;
}

.otp-resend-area #resendOtpLink{
	display:inline-flex;
	align-items:center;
	gap:5px;
	color:var(--theme-primary);
	font-weight:700;
	text-decoration:none;
}

.otp-resend-area #resendOtpLink:hover{
	color:var(--theme-dark);
} 