/* body same for all modules */
body {
	/* font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, sans-serif; */

	font-family: "Poppins", sans-serif;
	background: #eef2f7;
	height: 100vh;
	/* overflow: hidden; */
	margin: 0;
	color: #1f2937;
}
body {
	overflow-x: hidden;
}

/* ✅ Wider & Elegant Card */
.login-container {
	width: 100%;
	display: flex;
	justify-content: center;
}

.login-box {
	background: #ffffff;
	width: 420px;
	padding: 45px 40px;
	border-radius: 10px;
	box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.2);
	text-align: center;
}

.login-box h2 {
	font-size: 30px;
	color: #223e5f;
	font-weight: 700;
	margin-bottom: 5px;
}

.subtitle {
	color: #666;
	margin-bottom: 30px;
	font-size: 14px;
}

.input-group {
	text-align: left;
	margin-bottom: 22px;
}

.input-group label {
	font-size: 14px;
	color: #333;
	display: block;
	margin-bottom: 6px;
	font-weight: 500;
}

.input-group input {
	width: 100%;
	padding: 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
	outline: none;
	font-size: 14px;
}

.input-group input:focus {
	border-color: #223e5f;
}
.password-wrapper {
	position: relative;
}

.password-wrapper input {
	padding-right: 40px;
}

.toggle-password {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: #666;
	font-size: 18px;
}

.toggle-password:hover {
	color: #223e5f;
}

.login-btn {
	width: 100%;
	margin-top: 10px;
	padding: 13px;
	background: #223e5f;
	color: #ffffff;
	border: 2px solid #223e5f;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

/* span / icon */
.login-btn span {
	color: #ffffff;
	transition: all 0.3s ease;
}

/* 🔥 Hover = New Color */
.login-btn:hover {
	background: linear-gradient(135deg, #3a7bd5, #00d2ff);
	border-color: #00d2ff;
	box-shadow: 0 6px 18px rgba(0, 210, 255, 0.45);
	transform: translateY(-2px);
}

/* icon movement */
.login-btn:hover span {
	transform: translateX(6px);
}

.error-msg {
	color: red;
	font-size: 12px;
	margin-top: 4px;
	display: block;
}

.footer-text {
	margin-top: 25px;
	font-size: 13px;
	color: #999;
}

.captcha-group {
	margin-bottom: 20px;
}

.captcha-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Captcha Text Box */
.captcha-text {
	border: 1px dashed #223e5f;
	border-radius: 6px;
	background: #f2f5f9;
	padding: 0 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	flex-shrink: 0;
}

/* Refresh Box */
.captcha-refresh {
	width: 42px;
	height: 42px;
	border-radius: 6px;
	border: 1px solid #ccc;
	background: #ffffff;
	font-size: 20px;
	cursor: pointer;
	color: #223e5f;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.captcha-refresh:hover {
	transform: rotate(180deg);
	color: #ff1d1d;
	border-color: #ff1d1d;
}

/* Input Field */
#captchaInput {
	flex: 1;
	height: 42px;
	padding: 0 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 14px;
	outline: none;
}

#captchaInput:focus {
	border-color: #223e5f;
}

/* ✅ SweetAlert Fix + Small & Cute */
.small-swal {
	width: 320px !important;
	padding: 18px !important;
	border-radius: 12px !important;
}

.small-swal .swal2-title {
	font-size: 18px !important;
	margin-bottom: 8px !important;
}

.small-swal .swal2-html-container {
	font-size: 14px !important;
	color: #555;
}

.small-swal .swal2-confirm {
	background-color: #223e5f !important;
	border-radius: 6px !important;
	padding: 6px 18px !important;
	font-size: 14px !important;
}

.small-swal-cancel-btn {
	background-color: #6c757d !important;
	color: #fff !important;
	border-radius: 6px !important;
	padding: 6px 18px !important;
	font-size: 14px !important;
	border: none !important;
}

.small-swal-cancel-btn:hover {
	background-color: #5a6268 !important;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Roboto", Arial, sans-serif;
}

/* Updated Body to support Header/Footer stacking */
body {
	min-height: 100vh;
	/* min-height: 100%; */
	background: linear-gradient(135deg, #223e5f 0%, #2c4f73 50%, #7b8fa1 100%);
	display: flex;
	flex-direction: column; /* Stacks Header -> Content -> Footer */
}

/* New Header Styles */
.main-header {
	width: 100%;
	padding: 10px 20px;
	/* background: rgba(255, 255, 255, 0.1); */
	/* backdrop-filter: blur(10px); */
	/* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #ffffff;
}

.main-header .logo {
	font-size: 35px;
	font-weight: 800;
	letter-spacing: 1px;
	color: #ffffff;
	text-transform: uppercase;
	text-align: right;
	margin-right: -8vh;
	/* font-style: italic; */
}

.login-container {
	flex: 1;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px 20px;
}

.login-box {
	background: #ffffff;
	width: 420px;
	padding: 45px 40px;
	border-radius: 10px;
	box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.3);
	text-align: center;
}
.header-content {
	display: flex;
	justify-content: space-between; /* Pushes logo to left and text to right */
	align-items: center; /* Vertically centers both */
	width: 100%;
	max-width: 1400px; /* Optional: prevents text from going too far on huge screens */
	margin: 0 auto; /* Keeps the whole header content centered */
}
.bnb-logo img {
	height: 50px; /* Adjust this value to decrease/increase size */
	width: auto; /* Maintains aspect ratio */
	display: block;
	object-fit: contain;
	filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
	transition: transform 0.3s ease;
	margin-left: -8vh;
}

/* Ensure the container doesn't add extra unwanted spacing */
.bnb-logo {
	display: flex;
	align-items: center;
}
.main-footer {
	width: 98%;
	padding: 5px 20px;
	color: #fff;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* max-width: 1400px; */
	margin: 0 auto;
}

/* This empty div ensures the copyright stays in the middle */
.footer-spacer {
	flex: 1;
}

.copyright-text {
	flex: 2; /* Takes more space to stay centered */
	text-align: center;
	margin: 0;
}

.footer-logo {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.footer-logo img {
	display: block;
	object-fit: contain;
	filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2)) brightness(1.1);
	transition: transform 0.3s ease;
}
.footer-logo img:hover {
	transform: scale(1.05);
}

.header-right {
	display: flex;
	/* flex-direction: column; */
	align-items: flex-end;
	margin-right: 0vh;
}

.main-header .logo {
	margin-right: 0;
	line-height: 1;
}

.tagline {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 2.5px;
	color: rgba(255, 255, 255, 0.8);
	text-transform: uppercase;
	margin-top: 4px;
	font-style: normal;
}

/* .forgot-link {
	font-size: 13px;
	color: #1e3c72;
	text-decoration: none;
}

.forgot-link:hover {
	text-decoration: underline;
} */

body:has(.login-page-shell) {
	background:
		repeating-linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.025) 0,
			rgba(255, 255, 255, 0.025) 2px,
			transparent 2px,
			transparent 18px
		),
		repeating-linear-gradient(
			45deg,
			rgba(8, 24, 43, 0.06) 0,
			rgba(8, 24, 43, 0.06) 1px,
			transparent 1px,
			transparent 24px
		),
		radial-gradient(circle at top left, rgba(120, 162, 215, 0.18), transparent 32%),
		radial-gradient(circle at bottom right, rgba(255, 197, 98, 0.14), transparent 22%),
		linear-gradient(135deg, #122d49 0%, #1d4367 46%, #9eb3c9 100%);
}

.login-page-shell {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 34px 24px 42px;
}

.login-page-art {
	position: relative;
	inset: 0;
	position: absolute;
	pointer-events: none;
	overflow: hidden;
}

.login-page-orb {
	position: absolute;
	border-radius: 999px;
	filter: blur(6px);
}

.login-page-orb.orb-one {
	top: 8%;
	left: 12%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(255, 213, 128, 0.28) 0%, rgba(255, 213, 128, 0.04) 70%, transparent 100%);
}

.login-page-orb.orb-two {
	right: 10%;
	bottom: 14%;
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(117, 185, 255, 0.24) 0%, rgba(117, 185, 255, 0.03) 72%, transparent 100%);
}

.login-page-grid {
	position: absolute;
	inset: 7% 5% 10%;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 36px 36px;
	mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
	opacity: 0.5;
}

.login-panel {
	display: flex;
	justify-content: center;
	position: relative;
	z-index: 1;
	width: 100%;
}

.login-page-shell .login-box {
	width: 100%;
	max-width: 440px;
	padding: 34px 34px 28px;
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.62);
	box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
	backdrop-filter: blur(12px);
	text-align: left;
}

.login-heading {
	margin-bottom: 24px;
}

.login-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #4f83b6;
}

.login-page-shell .login-box h2 {
	margin: 8px 0 6px;
	font-family: "Poppins", sans-serif;
	font-size: 38px;
	line-height: 1;
	font-weight: 700;
	color: #14385c;
	text-transform: none;
}

.login-heading p {
	font-size: 14px;
	line-height: 1.6;
	color: #64748b;
}

.login-page-shell #loginForm {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.login-page-shell .input-group {
	margin-bottom: 0;
}

.login-page-shell .input-group label {
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
}

.login-page-shell .input-group input,
.login-page-shell #captchaInput {
	height: 50px;
	padding: 0 14px;
	border-radius: 14px;
	border: 1px solid #cdd8e5;
	background: #f8fbff;
	font-size: 14px;
	color: #0f172a;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-page-shell .input-group input:focus,
.login-page-shell #captchaInput:focus {
	border-color: #3b82f6;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.login-page-shell .password-wrapper input {
	padding-right: 46px;
}

.login-page-shell .toggle-password {
	right: 16px;
	color: #64748b;
}

.login-page-shell .captcha-row {
	gap: 10px;
	align-items: stretch;
}

.login-page-shell .captcha-text {
	height: 50px;
	min-width: 104px;
	padding: 0 10px;
	border-radius: 14px;
	border: 1px dashed #3d5d7d;
	background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

.login-page-shell .captcha-refresh {
	width: 50px;
	height: 50px;
	border-radius: 14px;
	border: 1px solid #cdd8e5;
	background: #f8fbff;
	font-size: 22px;
	color: #14385c;
}

.login-page-shell .captcha-refresh:hover {
	background: #ffffff;
	border-color: #3b82f6;
	color: #2563eb;
	transform: rotate(180deg);
}

.login-status-text {
	min-height: 18px;
	margin: -4px 0 0;
	font-size: 13px;
	color: #dc2626;
}

.login-page-shell .login-btn {
	margin-top: 2px;
	height: 52px;
	border-radius: 16px;
	border: none;
	background: linear-gradient(135deg, #163d62, #2f5f8f);
	box-shadow: 0 16px 28px rgba(20, 56, 92, 0.24);
	font-size: 15px;
	font-weight: 700;
}

.login-page-shell .login-btn:hover {
	background: linear-gradient(135deg, #1d4f80, #4180bc);
	box-shadow: 0 18px 30px rgba(34, 76, 118, 0.28);
	transform: translateY(-2px);
}

.login-actions-row {
	display: flex;
	justify-content: flex-end;
	margin-top: -8px;
}

.forgot-link {
	font-size: 13px;
	font-weight: 600;
	color: #255fa2;
	text-decoration: none;
}

.forgot-link:hover {
	color: #173d65;
	text-decoration: underline;
}

.login-page-shell .error-msg {
	padding-left: 2px;
	font-size: 12px;
	color: #dc2626;
}

.login-page-shell canvas#captchaCanvas {
	width: 100%;
	height: 38px;
}

.main-footer {
	width: 100%;
	padding: 0;
	color: rgba(255, 255, 255, 0.92);
	background: transparent;
}

.footer-content {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 16px 24px;
	background:
		repeating-linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.05) 0,
			rgba(255, 255, 255, 0.05) 2px,
			transparent 2px,
			transparent 16px
		),
		linear-gradient(135deg, rgba(16, 40, 65, 0.78), rgba(40, 79, 118, 0.74));
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 -8px 20px rgba(10, 24, 40, 0.12);
	backdrop-filter: blur(14px);
}

.copyright-text {
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(248, 250, 252, 0.96);
}

@media (max-width: 980px) {
	.login-page-shell {
		padding: 24px 18px 28px;
	}
}

@media (max-width: 640px) {
	.login-page-shell .login-box {
		padding: 26px 20px 22px;
		border-radius: 22px;
	}

	.login-page-shell .captcha-row {
		flex-wrap: wrap;
	}

	.login-page-shell .captcha-text,
	.login-page-shell #captchaInput {
		flex: 1 1 100%;
	}

	.login-page-shell .captcha-refresh {
		width: 100%;
	}

	.main-footer {
		padding: 0;
	}

	.footer-content {
		padding: 14px 12px;
	}
}

.otp-container {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
}

.otp-input {
	width: 45px;
	height: 50px;
	text-align: center;
	font-size: 22px;
	border: 1px solid #ccc;
	border-radius: 6px;
	outline: none;
}

.otp-input:focus {
	border-color: #223e5f;
}

.otp-timer {
	color: #ff3b3b;
	font-weight: 600;
	font-size: 14px;
	margin-top: 10px;
	margin-bottom: 18px;
	text-align: center;
	letter-spacing: 0.5px;
}

#otpTimer {
	font-size: 16px;
	font-weight: 700;
}
.otp-action-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 15px;
}

.resend-btn {
	background: transparent;
	border: none;
	color: #223e5f;
	font-size: 13px;
	cursor: pointer;
	font-weight: 500;
}

.resend-btn:disabled {
	color: #999;
	cursor: not-allowed;
}

.resend-btn:hover:not(:disabled) {
	text-decoration: underline;
}





/* application card style */

.app-selection-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
}

/* Elegant Small Card */
.app-item-card {
    background: #ffffff;
    width: 180px;         /* Fixed width for square look */
    height: 180px;        /* Fixed height */
    padding: 20px;
    border-radius: 15px;  /* Softer corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth pop effect */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Beautiful Hover State */
.app-item-card:hover {
    /* transform: translateY(-10px) scale(1.05); */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    background: linear-gradient(to bottom, #ffffff, #f0f4f8);
}

/* Icon Styling */
.app-item-card i {
    font-size: 50px;
    color: #223e5f;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.app-item-card:hover i {
    color: #00d2ff; /* Icon changes color on hover */
}

/* App Title Styling */
.app-item-card h3 {
    font-size: 14px;
    color: #223e5f;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Subtle "Authorized" badge or description */
.app-item-card p {
    font-size: 10px;
    color: #888;
    margin-top: 5px;
    text-transform: capitalize;
}


/* Make filter labels smaller */
#locationData label {
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
}

/* Adjust Choices.js height for sidebar */
.choices__inner {
    min-height: 31px !important;
    padding: 2px 5px !important;
    font-size: 13px !important;
    background-color: white !important;
}

.choices__list--multiple .choices__item {
    padding: 2px 8px !important;
    font-size: 11px !important;
    border-radius: 12px !important;
}
