@charset "UTF-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

html,
body {
	height: 100%;
}

body {
	font-family: "Poppins", sans-serif;
	overflow-x: hidden;
	background: #ffffff;
	color: #333;
}

body.no-scroll {
	overflow: hidden;
}

img {
	max-width: 100%;
	display: block;
}

a {
	text-decoration: none;
}

:root {
	--primary: #003366;
	--secondary: #0f4c81;
	--accent: #f7b500;
	--white: #ffffff;
	--login: #f3f5f7;
	--footer: #001d3d;
	--shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.hero {
    position: relative;
    flex: 1;

    background-image: url("../../../assets/img/illustrations/non_railway_pass.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
			rgba(0, 34, 68, 0.38) 0%,
			rgba(0, 34, 68, 0.22) 35%,
			rgba(0, 34, 68, 0.1) 70%, 
			rgba(0, 34, 68, 0.02) 100%);
}

header {
	position: absolute;
	top: 10px;
	left: 45px;
	right: 45px;
	height: 65px;
	display: flex;
	align-items: center;
	z-index: 20;
}

.brand {
	display: flex;
	align-items: center;
	gap: 16px;
}

.brand img {
	width: 58px;
	height: 58px;
}

.brand h2 {
	color: white;
	font-size: 25px;
	font-weight: 600;
}

.brand span {
	color: #eef4fb;
	font-size: 13px;
}

.marquee {
	position: absolute;
	left: 380px;
	right: 0;
	height: 38px;
	overflow: hidden;
	display: flex;
	align-items: center;
	background: rgb(0 0 0 / 30%);
	border-radius: 40px;
}

.marquee-content {
	white-space: nowrap;
	color: white;
	font-size: 13px;
	width: 100%;
    overflow: hidden;
    padding-left: 0px;
	/*animation: marqueeMove 60s linear infinite;*/
}

@keyframes marqueeMove {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

.hero-text {
	position: absolute;
	left: 70px;
	top: 180px;
	color: white;
}

.hero-text h5 {
	color: #ffd54f;
	font-size: 15px;
	letter-spacing: 4px;
	font-weight: 500;
	margin-bottom: 18px;
}

.hero-text h1 {
	font-size: 52px;
	font-weight: 600;
	line-height: 1.15;
	margin-bottom: 18px;
	text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
	color: white;
}

.hero-text p {
	font-size: 18px;
	font-weight: 300;
	color: #eef5fb;
}

.login-box {
	position: absolute;
	top: 110px;
	right: 290px;
	width: 360px;
	background: var(--login);
	border-radius: 14px;
	padding: 24px;
	box-shadow: var(--shadow);
	z-index: 20;
}

.login-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 22px;
}

.login-header h2 {
	margin: 0;
	font-size: 23px;
	color: #003366;
}

.login-header span {
	display: block;
	color: #6b7280;
	font-size: 13px;
	margin-top: 3px;
}

.login-logo {
	width: 55px;
	margin: 0;
}

.login-box h2 {
	text-align: center;
	color: var(--primary);
	font-size: 24px;
	margin-bottom: 4px;
}

.login-box>span {
	display: block;
	text-align: center;
	color: #6f7883;
	font-size: 13px;
	margin-bottom: 24px;
}

form {
	width: 100%;
}

.field {
	margin-bottom: 15px;
}

.field span {
	display: block;
	margin-bottom: 5px;
	color: #5c6570;
	font-size: 13px;
	font-weight: 500;
}

.input {
	position: relative;
	margin-bottom:22px;
}

.input input {
	width: 100%;
	height: 42px;
	border: 1px solid #d3d9e2;
	border-radius: 8px;
	background: #ffffff;
	padding-left: 42px;
	padding-right: 42px;
	font-size: 14px;
	color: #333;
	transition: 0.25s;
}

.input input::placeholder {
	color: #9ca7b3;
}

.input input:hover {
	border-color: #9bb5ca;
}

.input input:focus {
	border-color: #0f4c81;
	box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.input i {
	position: absolute;
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
	color: #698092;
	font-size: 16px;
}

.eye {
	left: auto !important;
	right: 14px;
	cursor: pointer;
}

.validation-error {
	position: absolute;
	left: 0;
	top: 100%;
	margin-top: 3px;
	color: #d32f2f;
	font-size: 12px;
	white-space: nowrap;
}

.captcha {
	display: grid;
	grid-template-columns: 1fr 46px 46px;
	gap: 8px;
	align-items:center;
}

.captcha-image {
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid #d3d9e2;
	border-radius: 8px;
	font-family: monospace;
	font-size: 21px;
	font-weight: 700;
	color: #003366;
	letter-spacing: 4px;
	user-select: none;
}

.captcha-btn{
	height:46px;
	border:none;
	border-radius:8px;
	background:#0F4C81;
	color:#fff;
	cursor:pointer;
	transition:.25s;
	display:flex;
	align-items:center;
	justify-content:center;
}

.captcha-btn:hover{
	background:#003366;
}

.refresh-btn:hover i{
	transition:.4s;
	transform: rotate(180deg);
}

.login-btn {
	width: 100%;
	height: 44px;
	margin-top: 6px;
	border: none;
	border-radius: 8px;
	background: linear-gradient(180deg, #22649e, #003366);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.25s;
}

.login-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 51, 102, 0.25);
}

.login-btn:active {
	transform: scale(0.98);
}

.login-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 16px;
}

.login-links a {
	color: #0f4c81;
	font-size: 12px;
	transition: 0.25s;
}

.login-links a:hover {
	color: #003366;
	text-decoration: underline;
}

.login-box {
	animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(40px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.hero-text {
	animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-40px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

button,
input {
	font-family: "Poppins", sans-serif;
}

button:focus,
input:focus {
	outline: none;
}

.login-logo {
	filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.15));
}

footer {
	height: 48px;
	background: #001d3d;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 35px;
	font-size: 12px;
}

footer div {
	opacity: 0.95;
	display: flex;
	align-items: center;
}

body {
	margin: 0;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #eef2f7;
}

::-webkit-scrollbar-thumb {
	background: #0f4c81;
	border-radius: 20px;
}

::selection {
	background: #0f4c81;
	color: #ffffff;
}

@media (min-width : 1400px) {
	.hero {
		background-size: cover;
	}
}

@keyframes ring {
	0% {
		transform: rotate(0deg);
	}

	10% {
		transform: rotate(20deg);
	}

	20% {
		transform: rotate(-18deg);
	}

	30% {
		transform: rotate(18deg);
	}

	40% {
		transform: rotate(-10deg);
	}

	50% {
		transform: rotate(8deg);
	}

	60%,
	100% {
		transform: rotate(0deg);
	}
}

.page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/*********************
 * CSS for helpdesk section
 ********************/
.help-tab {
	position: absolute;
	left: calc(100% - 62px);
	top: calc(100% - 150px);
	width: 170px;
	height: 48px;
	border: none;
	border-radius: 0 0 12px 12px;
	background: linear-gradient(180deg, #22649e, #003366);
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	transform: rotate(-90deg);
	transform-origin: center;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
	transition: 0.3s;
	z-index: 10000;
}

.help-tab:hover {
	background: linear-gradient(180deg, #2d6fa7, #04417e);
	transform: rotate(-90deg) scale(1.03);
}

.help-tab span {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.4px;
}

.help-tab i {
	font-size: 18px;
	animation: ring 2s infinite;
}

.helpdesk-drawer {
	position: fixed;
	left: 5px;
	bottom: 30px;
	width: 350px;
	background: #fff;
	border-radius: 14px;
	overflow: visible;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
	transform: translateX(calc(-100% - 5px));
	transition: transform 0.35s ease;
	z-index: 9998;
}

.helpdesk-drawer.open {
	transform: translateX(0);
}

.helpdesk-drawer-header {
	background: linear-gradient(180deg, #28679e, #003366);
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-radius: 14px 14px 0 0;
}

.helpdesk-drawer-header span {
	font-size: 16px;
	font-weight: 600;
}

.helpdesk-drawer-header button {
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	font-size: 18px;
}

.helpdesk-drawer-body {
	padding: 5px 18px 0px;
	border-left: 3px solid #003366;
	border-right: 3px solid #003366;
}

.help-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 0;
	border-bottom: 1px solid #edf2f7;
}

.help-row:last-child {
	border: none;
}

.help-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #eef5fb;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #003366;
	flex-shrink: 0;
}

.help-icon i {
	font-size: 16px;
}

.help-info {
	display: flex;
	flex-direction: column;
}

.zone-list {
	font-size: 14px;
	font-weight: 600;
	color: #003366;
}

.help-number {
	font-size: 14px;
	font-weight: bold;
	color: #64748b;
}

.page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.helpdesk-footer {
	background: #fff7ed;
	padding: 14px 18px;
	color: #c2410c;
	font-size: 13px;
	border-left: 3px solid #003366;
	border-right: 3px solid #003366;
	border-bottom: 3px solid #003366;
	border-radius: 0 0 14px 14px;
}

.drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.22);
	opacity: 0;
	visibility: hidden;
	transition: 0.35s ease;
	z-index: 9997;
}

.drawer-backdrop.show {
	opacity: 1;
	visibility: visible;
}



/*********************
 * CSS for OTP Page
 ********************/
.otp-card {
	width: 360px;
	background: #f5f7fa;
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 18px 45px rgba(0,0,0,.18);
	position: absolute;
	top: 55%;
	right: 70px;
	transform: translateY(-50%);
	z-index: 20;
}

.employee-photo {
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin: 0 auto 18px;
	border: 4px solid white;
	box-shadow: 0 0 20px rgba(15,76,129,.30);
}
.otp-header {
	text-align: center;
	margin-bottom: 18px;
}

.otp-header h2 {
	margin: 0;
	font-size: 26px;
	color: #003366;
	font-weight: 700;
}

.otp-header p {
	margin: 6px 0 0;
	color: #6b7280;
	font-size: 14px;
}

.locked-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	background: #fff4e5;
	color: #b45309;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}

/*.otp-info {
	margin: 22px 0;
	background: white;
	border-radius: 10px;
	padding: 16px;
	border-left: 4px solid #0F4C81;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
}*/

.otp-header .info-row {
	display: flex;
	justify-content: space-between;
	margin: 1px 0;
	font-size: 14px;
}

.info-row span:first-child {
	color: #64748b;
}

.info-row span:last-child {
	color: #003366;
	font-weight: 600;
}

.otp-timer {
	text-align: center;
	margin: 18px 0;
}

.otp-timer small {
	display: block;
	color: #6b7280;
	margin-bottom: 6px;
}

.otp-timer strong {
	font-size: 28px;
	color: #0F4C81;
	font-weight: 700;
}

.otp-input-group {
	display: grid;
	grid-template-columns: 42px 1fr 42px 42px 42px;
	gap: 8px;
	margin-top: 15px;
}

.input-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0F4C81;
	color: white;
	border-radius: 8px;
}

.otp-btn {
	border: none;
	border-radius: 8px;
	background: #eef3f9;
	color: #003366;
	cursor: pointer;
	transition: .25s;
}

.otp-btn:hover {
	background: #0F4C81;
	color: white;
}

.verify-btn {
	width: 100%;
	height: 46px;
	border: none;
	border-radius: 8px;
	margin: 15px 0;
	background: linear-gradient(
            135deg,
            #0F4C81,
            #2563eb
        );
	color: white;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: .25s;
}

.verify-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(15,76,129,.25);
}

.otp-links {
	margin-top: 18px;
	text-align: center;
}

.otp-links a {
	display: block;
	margin: 8px 0;
	color: #2563eb;
	text-decoration: none;
	font-size: 14px;
}

.otp-links a:hover {
	text-decoration: underline;
}

.otp-footer {
	margin-top: 24px;
	display: flex;
	justify-content: space-between;
	font-size: 13px;
}

.otp-footer a {
	color: #e11d48;
	text-decoration: none;
}

.otp-footer a:hover {
	text-decoration: underline;
}

.otp-card {
	animation: fadeIn .45s ease;
}

@keyframes fadeIn {

	from {
		opacity: 0;
		transform: translateY(-45%)
            scale(.96);
	}

	to {
		opacity: 1;
		transform: translateY(-50%)
            scale(1);
	}
}
.info-title {
	font-size: 15px;
	font-weight: 600;
	color: #003366;
	margin-bottom: 12px;
}

.info-title i {
	margin-right: 6px;
	color: #0F4C81;
}

.otp-divider {
	border: none;
	border-top: 1px solid #e5e7eb;
	margin: 20px 0;
}

.verify-btn i {
	margin-right: 8px;
}

.otp-links i {
	margin-right: 6px;
}

.otp-footer i {
	margin-right: 5px;
}