/* Login page specific styles */
.login-viewport {
	min-height: calc(100vh - 96px); /* account for navbar/header height */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1rem;
	background: linear-gradient(135deg, #eef2f7 0%, #e6f0ff 50%, #f5f7fb 100%);
}

.login-card {
	max-width: 980px;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 1.5rem;
	align-items: stretch;
}

.login-left {
	background: linear-gradient(180deg, rgba(43,88,118,0.95) 0%, rgba(78,67,118,0.95) 100%);
	color: #fff;
	padding: 2rem;
	border-radius: 0.75rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 12px 30px rgba(30,50,80,0.12);
	overflow: hidden;
}

.login-left .brand {
	display:flex;
	align-items:center;
	gap:0.75rem;
}
.login-left .logo {
	width:56px;height:56px;border-radius:12px;background:#fff;color:#2b5876;display:flex;align-items:center;justify-content:center;font-size:1.3rem;
	box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.login-left h1 { margin: 0; font-size:1.6rem; font-weight:700; }
.login-left h1 span { color:#ffd24d; }
.login-left .lead { margin-top:0.25rem; opacity:0.95; font-size:0.95rem; }

.illustration img { max-width:100%; opacity:0.95; margin-top:1rem; }

.features { list-style:none; padding:0; margin:1rem 0 0; }
.features li { display:flex; align-items:center; gap:0.6rem; margin:0.5rem 0; font-size:0.95rem; color: #e7f0ff; }
.features li i { background: rgba(255,255,255,0.12); padding:6px;border-radius:8px; }

.login-right {
	background: #fff;
	padding: 1.5rem;
	border-radius: 0.75rem;
	box-shadow: 0 8px 30px rgba(20,30,60,0.06);
	display:flex;
	flex-direction:column;
	justify-content:space-between;
}

.card-body h2 {
	font-size:1.25rem;
	margin-bottom:0.8rem;
	font-weight:700;
}

.login-form .form-control {
	border-radius: 0.5rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid #e6e9ef;
	box-shadow: none;
	transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.login-form .form-control:focus {
	outline: none;
	border-color: #2b5876;
	box-shadow: 0 6px 18px rgba(43,88,118,0.08);
}

.btn-login {
	padding: 0.6rem 1.25rem;
	border-radius: 0.55rem;
	font-weight:600;
	background: linear-gradient(90deg,#2b5876,#4e4376);
	border: none;
	box-shadow: 0 8px 18px rgba(46,60,80,0.08);
}

.login-footer { margin-top: 1rem; opacity:0.6; }

/* Responsive */
@media (max-width: 900px) {
	.login-card { grid-template-columns: 1fr; }
	.login-left { order: 2; padding: 1rem 1rem 0.5rem; }
	.login-right { order: 1; }
	.features { display:none; }
}

/* Small animation */
.login-card { transform-origin: center; animation: cardEntrance 420ms ease both; }
@keyframes cardEntrance {
	from { opacity:0; transform: translateY(10px) scale(.995); }
	to { opacity:1; transform: translateY(0) scale(1); }
}