* {
	box-sizing: border-box;
}

body.login-page {
	min-height: 100vh;
	margin: 0;
	padding: 24px;
	background:
		radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 28%),
		linear-gradient(135deg, #1a3c5e 0%, #0d7abc 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-shell {
	width: 100%;
	max-width: 460px;
	position: relative;
}

.login-shell::before,
.login-shell::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	filter: blur(10px);
	z-index: 0;
}

.login-shell::before {
	width: 130px;
	height: 130px;
	background: rgba(255, 255, 255, 0.12);
	top: -20px;
	right: -12px;
}

.login-shell::after {
	width: 100px;
	height: 100px;
	background: rgba(11, 43, 68, 0.18);
	bottom: -18px;
	left: -8px;
}

.login-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	width: 100%;
	max-width: 420px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.18);
	position: relative;
	z-index: 1;
	margin: 0 auto;
}

.login-header {
	background: linear-gradient(135deg, #1a3c5e, #0d7abc);
	padding: 24px;
	text-align: center;
}

.login-logo {
	width: 100%;
	max-width: 220px;
	height: auto;
	object-fit: contain;
}

.login-body {
	padding: 35px 30px;
}

.login-title {
	font-size: 1.55rem;
	font-weight: 700;
	color: #17324a;
	margin-bottom: 8px;
	text-align: center;
}

.login-subtitle {
	font-size: 0.95rem;
	color: #607080;
	text-align: center;
	margin-bottom: 24px;
	line-height: 1.6;
}

.form-label {
	margin-bottom: 8px;
	font-size: 0.95rem;
	color: #17324a;
}

.input-group-text,
.form-control,
#togglePass {
	min-height: 48px;
}

.input-group-text {
	background: #f2f6fa;
	border-color: #d5e1eb;
	color: #33556f;
}

.form-control {
	border-color: #d5e1eb;
	padding-left: 14px;
	padding-right: 14px;
}

#togglePass {
	border-color: #d5e1eb;
}

.form-control:focus {
	border-color: #0d7abc;
	box-shadow: 0 0 0 0.2rem rgba(13, 122, 188, 0.25);
}

.btn-login {
	background: linear-gradient(135deg, #1a3c5e, #0d7abc);
	border: none;
	color: #fff;
	font-weight: 600;
	padding: 12px;
	font-size: 15px;
	min-height: 48px;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-login:hover,
.btn-login:focus {
	opacity: 0.92;
	transform: translateY(-1px);
	color: #fff;
}

.role-info {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 14px 16px;
	margin-top: 20px;
	text-align: center;
	border: 1px solid #e6edf3;
}

.role-badge {
	font-size: 11px;
	padding: 6px 10px;
	border-radius: 999px;
	margin: 2px;
	line-height: 1.5;
}

.role-badge-yayasan {
	background: #6f42c1;
	color: #fff;
}

.login-footer {
	font-size: 12px;
	color: #6c757d;
	margin-top: 18px;
	text-align: center;
	line-height: 1.6;
}

.login-footer a {
	text-decoration: none;
	color: #0d7abc;
}

.login-footer a:hover,
.login-footer a:focus {
	text-decoration: underline;
}

@media (max-width: 576px) {
	body.login-page {
		padding: 16px;
		align-items: flex-start;
	}

	.login-card {
		max-width: none;
		margin-top: 12px;
		border-radius: 14px;
	}

	.login-shell::before {
		width: 90px;
		height: 90px;
		right: 0;
	}

	.login-shell::after {
		width: 72px;
		height: 72px;
		left: 0;
	}

	.login-header {
		padding: 20px 18px;
	}

	.login-logo {
		max-width: 180px;
	}

	.login-body {
		padding: 24px 18px;
	}

	.login-title {
		font-size: 1.3rem;
	}

	.login-subtitle {
		font-size: 0.88rem;
		margin-bottom: 20px;
	}

	.form-label {
		font-size: 0.9rem;
	}

	.role-info {
		padding: 12px;
	}

	.login-footer {
		font-size: 11px;
	}
}