:root{
	--theme-primary:#00897b;
	--theme-dark:#00695c;
	--theme-light:#e8f5f3;
	--theme-rgb:0,137,123;
	--heading:#000000;
	--text:#414955;
	--muted:#6b7280;
	--border:#e5e7eb;
	--danger:#dc2626;
	--success:#047857;	 
}
html.theme-orange,
body.theme-orange{
	--theme-primary:#c65300;
	--theme-dark:#963f00;
	--theme-light:#fff1e6;
	--theme-rgb:198,83,0; 
}

html.theme-blue,
body.theme-blue{
	--theme-primary:#174676;
	--theme-dark:#0b3158;
	--theme-light:#ebf2f9;
	--theme-rgb:23,70,118; 
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html{
	width:100%;
	min-height:100%;
	scroll-behavior:smooth;
}

body{
	width:100%;
	min-height:100vh;
	margin:0;
	font-family:"Open Sans",sans-serif;
	color:var(--text);
	overflow-x:hidden;
	overflow-y:auto;
}

body.auth-page{
	height:100vh;
	overflow:hidden;
}

a {
	text-decoration: none;
}

/* LOGIN PAGE */

.login-page {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	isolation: isolate;
}

/* BLURRED BACKGROUND IMAGE */

.login-page::before {
	content: "";
	position: absolute;
	inset: -15px;
	background-image: url("../img/bg.webp");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	filter: blur(8px);
	-webkit-filter: blur(8px);
	transform: scale(1.03);
	z-index: -2;
}

/* BACKGROUND OVERLAY */

.login-page::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
					180deg,
					rgba(255, 255, 255, 0.25) 0%,
					rgba(var(--theme-rgb), 0.06) 45%,
					rgba(0, 0, 0, 0.25) 100%
	);
	z-index: -1;
	pointer-events: none;
}

/* LOGIN CONTAINER */

.login-container {
	position: relative;
	z-index: 2;
	width: min(430px, 92%);
	flex: 1;
	margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px 0 6px;
}

/* LOGIN CARD */

.login-card {
	position: relative;
	width: 100%;
	padding: 20px 28px 18px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 18px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 15px 38px rgba(0, 0, 0, 0.18);
}

/* LOGIN HEADER */

.login-header {
	margin-bottom: 15px;
	text-align: center;
}

.login-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	background: var(--theme-primary);
	border-radius: 50%;
	font-size: 20px;
	box-shadow: 0 6px 15px rgba(var(--theme-rgb), 0.26);
}

.login-header h1 {
	margin-bottom: 2px;
	color: var(--heading);
	font-family: "Poppins", sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.login-header p {
	color: #59616d;
	font-size: 12px;
	line-height: 1.4;
}

/* ERROR */

.alert-error {
	margin-bottom: 11px;
	padding: 8px 11px;
	display: flex;
	align-items: center;
	gap: 7px;
	color: #991b1b;
	background: rgba(254, 226, 226, 0.92);
	border: 1px solid #fecaca;
	border-radius: 8px;
	font-size: 12px;
}

/* FORM */

.form-group {
	margin-bottom: 11px;
}

.form-group label {
	display: block;
	margin-bottom: 4px;
	color: #253044;
	font-size: 12px;
	font-weight: 700;
}

.input-wrap {
	position: relative;
}

.input-wrap > i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--theme-primary);
	font-size: 13px;
	pointer-events: none;
}

.form-control {
	width: 100%;
	height: 40px;
	padding: 0 42px 0 39px;
	color: #172033;
	background: rgba(255, 255, 255, 0.90);
	border: 1px solid rgba(100, 110, 125, 0.25);
	border-radius: 10px;
	outline: none;
	font-family: "Open Sans", sans-serif;
	font-size: 12.5px;
	transition:
					border-color 0.2s ease,
					box-shadow 0.2s ease,
					background 0.2s ease;
}

.form-control::placeholder {
	color: #858c96;
}

.form-control:focus {
	background: #ffffff;
	border-color: var(--theme-primary);
	box-shadow: 0 0 0 3px rgba(var(--theme-rgb), 0.12);
}

/* PASSWORD SHOW / HIDE */

.password-toggle {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #69717d;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	font-size: 13px;
}

.password-toggle:hover {
	color: var(--theme-primary);
	background: rgba(var(--theme-rgb), 0.08);
}

/* LOGIN OPTIONS */

.login-options {
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 12px;
}

.remember-me {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #505866;
	cursor: pointer;
}

.remember-me input {
	accent-color: var(--theme-primary);
}

.forgot-password {
	color: var(--theme-dark);
	font-weight: 700;
}

.forgot-password:hover {
	color: var(--theme-primary);
	text-decoration: underline;
}

/* LOGIN BUTTON */

.login-button {
	width: 100%;
	height: 41px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #ffffff;
	background: var(--theme-primary);
	border: 0;
	border-radius: 22px;
	cursor: pointer;
	font-family: "Open Sans", sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	transition:
					background 0.25s ease,
					transform 0.25s ease,
					box-shadow 0.25s ease;
}

.login-button:hover {
	background: var(--theme-dark);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(var(--theme-rgb), 0.30);
}

/* CREATE PROFILE */

.register-box {
	margin-top: 12px;
	padding-top: 11px;
	border-top: 1px solid rgba(80, 90, 105, 0.14);
	text-align: center;
	color: #59616d;
	font-size: 13px;
}

.register-box a {
	color: var(--theme-dark);
	font-weight: 700;
}

.register-box a:hover {
	color: var(--theme-primary);
	text-decoration: underline;
}

/* BOTTOM NAVIGATION */

.back-home {
	margin-top: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.back-home a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 6px 13px;
	color: #172033;
	background: rgba(255, 255, 255, 0.68);
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
	transition:
					color 0.2s ease,
					background 0.2s ease,
					transform 0.2s ease,
					box-shadow 0.2s ease;
}

.back-home a:hover {
	color: #ffffff;
	background: var(--theme-primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(var(--theme-rgb), 0.22);
}

/* FOOTER */

.login-footer {
	position: relative;
	z-index: 2;
	height: 32px;
	min-height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 10.5px;
	font-weight: 500;
	text-align: center;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

/* SHORT LAPTOP SCREEN */

@media (max-height: 650px) {
	.login-container {
					padding: 5px 0;
	}

	.login-card {
					padding: 15px 24px 14px;
	}

	.login-icon {
					width: 42px;
					height: 42px;
					margin-bottom: 5px;
					font-size: 18px;
	}

	.login-header {
					margin-bottom: 10px;
	}

	.login-header h1 {
					font-size: 20px;
	}

	.login-header p {
					font-size: 11px;
	}

	.form-group {
					margin-bottom: 8px;
	}

	.form-control {
					height: 37px;
	}

	.login-options {
					margin-bottom: 9px;
	}

	.login-button {
					height: 38px;
	}

	.register-box {
					margin-top: 9px;
					padding-top: 8px;
	}

	.back-home {
					margin-top: 6px;
	}

	.login-footer {
					height: 28px;
					min-height: 28px;
	}
}

/* MOBILE */

@media (max-width: 600px) {
	.login-container {
					width: min(400px, 91%);
	}

	.login-card {
					padding: 18px 20px 16px;
					border-radius: 16px;
	}

	.login-header h1 {
					font-size: 21px;
	}

	.back-home {
					gap: 6px;
	}

	.back-home a {
					padding: 6px 10px;
					font-size: 10.5px;
	}
}

/* SMALL MOBILE */

@media (max-width: 380px) {
	.login-container {
					width: 94%;
	}

	.login-card {
					padding: 16px 16px 14px;
	}

	.login-options {
					gap: 6px;
					font-size: 12px;
	}

	.back-home {
					gap: 5px;
	}

	.back-home a {
					padding: 5px 8px;
					font-size: 10px;
	}
}
/* SIGNUP */

.signup-container {
	position: relative;
	z-index: 2;
	width: min(650px, 92%);
	flex: 1;
	margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px 0 6px;
}

.signup-card {
	position: relative;
	width: 100%;
	padding: 20px 28px 18px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 18px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 15px 38px rgba(0, 0, 0, 0.18);
}

.signup-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.terms-box {
	margin: 1px 0 12px;
	display: flex;
	align-items: flex-start;
	gap: 7px;
	color: #505866;
	font-size: 12px;
	line-height: 1.4;
	cursor: pointer;
}

.terms-box input {
	margin-top: 2px;
	accent-color: var(--theme-primary);
}

@media (max-height: 720px) {
	.signup-card {
					padding: 15px 24px 14px;
	}

	.signup-card .login-header {
					margin-bottom: 10px;
	}

	.signup-card .login-icon {
					width: 42px;
					height: 42px;
					margin-bottom: 5px;
					font-size: 18px;
	}

	.signup-card .form-group {
					margin-bottom: 8px;
	}

	.signup-card .form-control {
					height: 37px;
	}

	.terms-box {
					margin-bottom: 9px;
	}
}

@media (max-width: 600px) {
	body {
					overflow-y: auto;
	}

	.signup-container {
					width: 92%;
					padding: 18px 0;
	}

	.signup-grid {
					grid-template-columns: 1fr;
					gap: 0;
	}

	.signup-card {
					padding: 18px 20px 16px;
					border-radius: 16px;
	}

	.signup-container .back-home {
					margin-bottom: 8px;
	}
}

/* OTP ACTION BUTTONS */

.otp-actions {
	margin-top: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.otp-actions form {
	margin: 0;
	padding: 0;
}

.text-button {
	min-height: 34px;
	padding: 7px 14px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	gap: 6px;

	color: var(--theme-dark);
	background: rgba(255, 255, 255, 0.65);

	border: 1px solid rgba(var(--theme-rgb), 0.35);
	border-radius: 18px;

	outline: none;
	cursor: pointer;

	font-family: "Open Sans", sans-serif;
	font-size: 11.5px;
	font-weight: 700;

	white-space: nowrap;

	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);

	transition:
					color 0.2s ease,
					background 0.2s ease,
					border-color 0.2s ease,
					transform 0.2s ease,
					box-shadow 0.2s ease;
}

.text-button i {
	font-size: 11px;
}

.text-button:hover {
	color: #ffffff;
	background: var(--theme-primary);
	border-color: var(--theme-primary);

	text-decoration: none;

	transform: translateY(-1px);

	box-shadow:
					0 4px 12px rgba(var(--theme-rgb), 0.22);
}

.text-button:focus-visible {
	outline: 2px solid var(--theme-primary);
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.otp-actions {
		gap: 7px;
	}

	.text-button {
		padding: 6px 10px;
		font-size: 10.5px;
	}
}


.otp-timer {
	margin: 10px 0 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	color: #505866;
	font-size: 11.5px;
	text-align: center;
}

.otp-timer i {
	color: var(--theme-primary);
}

.otp-timer strong {
	min-width: 18px;
	color: var(--theme-dark);
	font-size: 12px;
}

.otp-actions {
	margin-top: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.otp-actions form {
	margin: 0;
}

.text-button {
	min-height: 34px;
	padding: 7px 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--theme-dark);
	background: rgba(255,255,255,0.65);
	border: 1px solid rgba(var(--theme-rgb),0.35);
	border-radius: 18px;
	outline: none;
	cursor: pointer;
	font-family: "Open Sans", sans-serif;
	font-size: 11.5px;
	font-weight: 700;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.text-button:hover:not(:disabled) {
	color: #ffffff;
	background: var(--theme-primary);
	border-color: var(--theme-primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(var(--theme-rgb),0.22);
}

.text-button:disabled {
	color: #8b9199;
	background: rgba(255,255,255,0.40);
	border-color: rgba(100,110,125,0.18);
	cursor: not-allowed;
	opacity: 0.65;
}


.candidate-password-field{
	position:relative;
	width:100%;
}

.candidate-password-field .profile-control{
	width:100%;
	padding-right:48px;
}

.candidate-password-eye{
	position:absolute;
	top:50%;
	right:12px;
	transform:translateY(-50%);
	display:flex;
	align-items:center;
	justify-content:center;
	width:32px;
	height:32px;
	padding:0;
	margin:0;
	color:var(--theme-primary);
	background:transparent;
	border:0;
	border-radius:6px;
	cursor:pointer;
	z-index:2;
}

.candidate-password-eye:hover{
	color:#fff;
	background:var(--theme-primary);
}

.candidate-password-error{
	display:none;
	margin-top:6px;
	color:#dc3545;
	font-size:13px;
	line-height:1.4;
}

.candidate-password-error.show{
	display:block;
}

.candidate-password-requirements{
	margin-top:22px;
	padding:15px;
	background:#f8fafc;
	border:1px solid #e4e9ee;
	border-radius:10px;
}

.candidate-password-requirements>strong{
	display:block;
	margin-bottom:10px;
	font-size:14px;
}

.candidate-requirement-list{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:10px 18px;
}

.candidate-requirement-list span{
	display:flex;
	align-items:center;
	gap:7px;
	color:#66727e;
	font-size:13px;
}

.candidate-requirement-list span.valid{
	color:#198754;
}

.candidate-password-info{
	display:flex;
	align-items:center;
	gap:7px;
	margin-top:14px;
	color:#66727e;
	font-size:13px;
}

.candidate-password-info i{
	color:var(--theme-primary);
}

@media(max-width:768px){
	.candidate-requirement-list{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

@media(max-width:480px){
	.candidate-requirement-list{
		grid-template-columns:1fr;
	}
}

.candidate-message{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:15px;
	width:100%;
	margin-bottom:20px;
	padding:13px 16px;
	border:1px solid;
	border-radius:10px;
	font-size:14px;
	font-weight:500;
	line-height:1.4;
	transition:opacity .3s ease,transform .3s ease;
}

.candidate-message-content{
	display:flex;
	align-items:center;
	gap:10px;
	min-width:0;
}

.candidate-message-content i{
	flex-shrink:0;
	font-size:17px;
}

.candidate-message-success{
	color:#146c43;
	background:#eaf7ef;
	border-color:#badbcc;
}

.candidate-message-error{
	color:#b02a37;
	background:#fcedef;
	border-color:#f5c2c7;
}

.candidate-message-close{
	display:flex;
	align-items:center;
	justify-content:center;
	flex-shrink:0;
	width:28px;
	height:28px;
	padding:0;
	color:inherit;
	background:transparent;
	border:0;
	border-radius:6px;
	cursor:pointer;
	opacity:.7;
}

.candidate-message-close:hover{
	background:rgba(0,0,0,.06);
	opacity:1;
}

.candidate-message.hide{
	opacity:0;
	transform:translateY(-6px);
}


.candidate-login-message{
	display:flex;
	align-items:center;
	gap:10px;
	width:100%;
	margin:0 0 16px;
	padding:11px 14px;
	border:1px solid;
	border-radius:8px;
	font-size:14px;
	font-weight:600;
	line-height:1.4;
	text-align:left;
	transition:opacity .4s ease,transform .4s ease;
}

.candidate-login-message i{
	flex-shrink:0;
	font-size:16px;
}

.candidate-login-message.success{
	color:#146c43!important;
	background:#dff3e5!important;
	border-color:#a9d9bb!important;
}

.candidate-login-message.success i{
	color:#198754!important;
}

.candidate-login-message.error{
	color:#842029!important;
	background:#f8d7da!important;
	border-color:#e8aeb4!important;
}

.candidate-login-message.error i{
	color:#dc3545!important;
}