/* Base Reset */
body, html {
	height: 100%;
	margin: 0;
	padding: 0;
	background: #edf2f7;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #0f172a;
}

/* Page Outer Wrapper */
.login-page-wrapper {
	min-height: 100vh;
	width: 100vw;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 20px;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	/* Modern Fintech Background with Mesh Gradient & Dot Matrix Grid */
	background-color: #f8fafc;
	background-image: 
		radial-gradient(rgba(37, 99, 235, 0.12) 1.2px, transparent 1.2px),
		linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 40%, #eef2ff 75%, #f1f5f9 100%);
	background-size: 24px 24px, 100% 100%;
}

/* Ambient Background Glows */
.login-page-wrapper::before {
	content: '';
	position: absolute;
	top: -12%;
	left: -8%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 70%);
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
	z-index: 0;
}

/* Master Floating Rounded Container */
.login-master-card {
	width: 100%;
	max-width: 1240px;
	min-height: 700px;
	background: #ffffff;
	border-radius: 32px;
	box-shadow: 0 25px 70px -15px rgba(15, 23, 42, 0.1), 0 4px 20px rgba(0, 0, 0, 0.03);
	display: flex;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.9);
	position: relative;
	z-index: 1;
	backdrop-filter: blur(10px);
}

/* ==========================================================================
   Left Hero Panel (Light Aesthetic Inspired by Reference UI)
   ========================================================================== */
.login-left {
	flex: 1.2;
	background: linear-gradient(145deg, #f0f5ff 0%, #e6effe 50%, #f3f0ff 100%);
	padding: 60px 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	border-right: 1px solid #e8edf5;
}

.login-left-content {
	max-width: 520px;
	position: relative;
	z-index: 2;
}

/* Brand Logo */
.brand-logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.brand-logo-icon {
	width: 46px;
	height: 46px;
	background: linear-gradient(135deg, #2563eb, #3b82f6);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 22px;
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.brand-logo-icon img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.brand-title {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.brand-subtitle {
	font-size: 13px;
	color: #64748b;
	font-weight: 500;
}

/* Hero Badge */
.hero-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.badge-dot {
	width: 8px;
	height: 8px;
	background-color: #22c55e;
	border-radius: 50%;
	display: inline-block;
	margin-right: 8px;
	box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* Hero Typography */
.hero-title {
	font-size: 3.2rem;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: #0f172a;
}

.hero-gradient-text {
	background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-desc {
	font-size: 15px;
	line-height: 1.6;
	color: #475569;
}

/* Feature Cards Stack */
.feature-cards {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.feature-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
	transition: all 0.25s ease;
}

.feature-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
	border-color: #cbd5e1;
}

.feature-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.icon-blue {
	background: #eff6ff;
	color: #2563eb;
}

.icon-purple {
	background: #f3e8ff;
	color: #9333ea;
}

.icon-green {
	background: #f0fdf4;
	color: #16a34a;
}

.feature-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 2px 0;
}

.feature-desc {
	font-size: 12.5px;
	color: #64748b;
	margin: 0;
	line-height: 1.4;
}

/* Floating Badges */
.hero-decorations {
	display: flex;
	gap: 12px;
}

.floating-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   Right Login Panel
   ========================================================================== */
.login-right {
	flex: 1;
	background: #ffffff;
	padding: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-form-card {
	width: 100%;
	max-width: 400px;
}

.login-header h2 {
	color: #0f172a;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.text-dark-title {
	color: #1e293b;
	font-size: 13.5px;
}

/* Inputs */
.input-group-custom {
	position: relative;
	display: flex;
	align-items: center;
}

.input-icon {
	position: absolute;
	left: 14px;
	color: #94a3b8;
	font-size: 16px;
	pointer-events: none;
	transition: color 0.2s ease;
	z-index: 2;
}

.form-control-custom {
	width: 100%;
	padding: 12px 14px 12px 42px;
	font-size: 14px;
	color: #0f172a;
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	outline: none;
	transition: all 0.2s ease-in-out;
}

.form-control-custom::placeholder {
	color: #94a3b8;
	font-size: 13.5px;
}

.form-control-custom:focus {
	background-color: #ffffff;
	border-color: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.input-group-custom:focus-within .input-icon {
	color: #2563eb;
}

.btn-toggle-password {
	position: absolute;
	right: 12px;
	background: none;
	border: none;
	color: #94a3b8;
	padding: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	border-radius: 6px;
	transition: color 0.2s ease;
	z-index: 2;
}

.btn-toggle-password:hover {
	color: #334155;
}

/* Links & Checkbox */
.forgot-link {
	font-size: 13px;
	color: #2563eb;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.forgot-link:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.custom-checkbox .form-check-input {
	width: 17px;
	height: 17px;
	margin-top: 0.1em;
	border-radius: 5px;
	border: 1px solid #cbd5e1;
	cursor: pointer;
}

.custom-checkbox .form-check-input:checked {
	background-color: #2563eb;
	border-color: #2563eb;
}

.custom-checkbox .form-check-label {
	cursor: pointer;
	user-select: none;
}

/* Sign In Button */
.btn-login {
	background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
	border: none;
	color: #ffffff;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
	transition: all 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-login:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
	box-shadow: 0 10px 25px rgba(37, 99, 235, 0.38);
	transform: translateY(-1px);
	color: #ffffff;
}

.btn-login:active {
	transform: translateY(0);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Divider */
.login-divider {
	position: relative;
	text-align: center;
	margin: 22px 0;
}

.login-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background-color: #f1f5f9;
	z-index: 1;
}

.login-divider span {
	position: relative;
	z-index: 2;
	background-color: #ffffff;
	padding: 0 14px;
	color: #94a3b8;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

/* Google Sign-In */
.btn-google {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	color: #334155;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s ease;
	cursor: pointer;
}

.btn-google:hover {
	background-color: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.py-2-5 {
	padding-top: 11px;
	padding-bottom: 11px;
}

/* Security Badge */
.secure-access-badge {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Helpers */
.fs-12 { font-size: 12px !important; }
.fs-13 { font-size: 13px !important; }
.fs-14 { font-size: 14px !important; }
.fs-15 { font-size: 15px !important; }

/* Responsive Adjustments */
@media (max-width: 991px) {
	.login-page-wrapper {
		padding: 0;
		background: #ffffff;
	}
	.login-master-card {
		border-radius: 0;
		box-shadow: none;
		border: none;
		min-height: 100vh;
	}
	.login-right {
		padding: 32px 20px;
		width: 100%;
	}
}