/* Halaman login SIMCALEG */
/* Palet Simcaleg, hanya berlaku di halaman login (body.sl-body) */
body.sl-body {
	--simcaleg-navy: #0B1F46;
	--simcaleg-navy-mid: #123A78;
	--simcaleg-navy-deep: #06152F;
	--simcaleg-blue: #0866E8;
	--simcaleg-blue-hover: #0755C7;
	--simcaleg-cyan: #37C5FF;
	--simcaleg-white: #FFFFFF;
	--simcaleg-panel: #F1F6FF;
	--simcaleg-panel-accent: #E2EEFF;
	--simcaleg-heading: #10264A;
	--simcaleg-text: #475569;
	--simcaleg-muted: #64748B;
	--simcaleg-placeholder: #94A3B8;
	--simcaleg-border: #D8E2F0;
	--simcaleg-feature-icon: #1760CF;
	--simcaleg-badge-bg: #173F79;
	--simcaleg-badge-text: #DCEBFF;
	--simcaleg-radius: 14px;
}

html, body.sl-body {
	height: 100%;
}

body.sl-body {
	margin: 0;
	background: var(--simcaleg-panel);
	color: var(--simcaleg-text);
	letter-spacing: normal;
	font-family: "Plus Jakarta Sans", "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* atlantis memaksa Lato pada h*, p, a */
.sl-wrap h1,
.sl-wrap h2,
.sl-wrap p,
.sl-wrap a,
.sl-wrap label,
.sl-wrap button,
.sl-wrap input {
	font-family: inherit;
	letter-spacing: normal;
}

.sl-wrap {
	display: flex;
	min-height: 100vh;
}

/* ---------- Panel branding ---------- */
.sl-brand {
	position: relative;
	flex: 0 0 58.5%;
	display: flex;
	flex-direction: column;
	padding: 44px 64px 32px;
	overflow: hidden;
	color: var(--simcaleg-white);
	background:
		radial-gradient(ellipse at 85% 75%, rgba(55, 197, 255, .12), transparent 45%),
		linear-gradient(135deg, var(--simcaleg-navy-mid) 0%, var(--simcaleg-navy) 52%, var(--simcaleg-navy-deep) 100%);
}

.sl-brand::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 22px 22px;
	pointer-events: none;
}

.sl-brand > * {
	position: relative;
	z-index: 1;
}

.sl-identity {
	display: flex;
	align-items: center;
	gap: 14px;
}

.sl-identity-logo {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

.sl-identity-logo img {
	height: 30px;
	width: auto;
}


.sl-brand-body {
	padding-top: 36px;
	max-width: 780px;
}

.sl-headline {
	max-width: 680px;
}

.sl-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	margin-bottom: 20px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--simcaleg-badge-text);
	background: var(--simcaleg-badge-bg);
	border: 1px solid rgba(55, 197, 255, .25);
	border-radius: 999px;
}

.sl-badge i {
	color: var(--simcaleg-cyan);
}

.sl-headline {
	margin: 0 0 16px;
	font-size: clamp(34px, 3.15vw, 50px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.02em !important;
	color: var(--simcaleg-white);
}

.sl-headline span {
	color: var(--simcaleg-cyan);
}

.sl-lead {
	margin: 0 0 28px;
	max-width: 620px;
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.65;
	color: rgba(220, 235, 255, .82);
}

.sl-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	max-width: 780px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sl-features li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--simcaleg-white);
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(220, 235, 255, .12);
	border-radius: 12px;
}

.sl-feature-icon {
	flex: 0 0 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 16px;
	color: var(--simcaleg-white);
	background: var(--simcaleg-feature-icon);
	border-radius: 10px;
	box-shadow: 0 6px 14px rgba(8, 102, 232, .35);
}

/* Visual: peta Indonesia + dashboard */
.sl-visual {
	position: relative;
	flex: 1 1 auto;
	min-height: 280px;
	margin-top: 24px;
}

.sl-map {
	position: absolute;
	left: -3%;
	top: 50%;
	width: 92%;
	max-width: 760px;
	transform: translateY(-58%);
	height: auto;
	opacity: .95;
	filter: drop-shadow(0 0 18px rgba(255, 255, 255, .18));
}

.sl-dash {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 42%;
	min-width: 240px;
	max-width: 350px;
	padding: 12px;
	background: rgba(255, 255, 255, .97);
	border-radius: 14px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
	color: var(--simcaleg-heading);
}

.sl-dash-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2px 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #edf1f7;
}

.sl-dash-head img {
	height: 16px;
	width: auto;
}

.sl-dash-dots {
	display: inline-flex;
	gap: 4px;
}

.sl-dash-dots i {
	width: 7px;
	height: 7px;
	background: #dde3ee;
	border-radius: 50%;
}

.sl-dash-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 8px;
}

.sl-dash-card {
	display: flex;
	flex-direction: column;
	padding: 10px;
	background: #f6f8fc;
	border-radius: 9px;
}

.sl-dash-list {
	grid-column: 1 / -1;
}

.sl-dash-title {
	margin-bottom: 8px;
	font-size: 9.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--simcaleg-muted);
}

.sl-bars {
	flex: 1;
	display: flex;
	align-items: flex-end;
	gap: 6px;
	min-height: 58px;
}

.sl-bars span {
	flex: 1;
	border-radius: 3px 3px 0 0;
	background: var(--simcaleg-panel-accent);
}

.sl-bars span.is-hi {
	background: var(--simcaleg-blue);
}

.sl-donut {
	width: 58px;
	height: 58px;
	margin: auto;
	border-radius: 50%;
	background: conic-gradient(var(--simcaleg-blue) 0 58%, var(--simcaleg-cyan) 0 80%, var(--simcaleg-panel-accent) 0);
	-webkit-mask: radial-gradient(circle, transparent 52%, #000 53%);
	mask: radial-gradient(circle, transparent 52%, #000 53%);
}

.sl-skel {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
}

.sl-skel:first-of-type {
	margin-top: 0;
}

.sl-skel i {
	flex: 0 0 14px;
	height: 14px;
	background: var(--simcaleg-panel-accent);
	border-radius: 50%;
}

.sl-skel b {
	height: 6px;
	background: #e3e8f2;
	border-radius: 999px;
}

.sl-brand-foot {
	margin-top: 18px;
	font-size: 12px;
	color: rgba(220, 235, 255, .5);
}

/* ---------- Panel form ---------- */
.sl-main {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 28px 24px;
	overflow: hidden;
	background: linear-gradient(135deg, #FFFFFF 0%, #F1F6FF 55%, #E5EFFF 100%);
}

.sl-main::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 260px;
	height: 260px;
	background-image: radial-gradient(rgba(8, 102, 232, .14) 1.2px, transparent 1.2px);
	background-size: 18px 18px;
	-webkit-mask: linear-gradient(225deg, #000 10%, transparent 70%);
	mask: linear-gradient(225deg, #000 10%, transparent 70%);
	pointer-events: none;
}

.sl-card {
	position: relative;
	width: 100%;
	max-width: 580px;
	padding: 50px;
	background: var(--simcaleg-white);
	border: 1px solid rgba(216, 226, 240, .7);
	border-radius: 30px;
	box-shadow: 0 2px 6px rgba(16, 38, 74, .04), 0 24px 60px rgba(11, 31, 70, .10);
}

.sl-card-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-bottom: 26px;
}

.sl-card-brand img {
	height: 54px;
	width: auto;
}

.sl-card-brand span {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--simcaleg-muted);
}

.sl-title {
	margin: 0 0 10px;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	color: var(--simcaleg-heading);
}

.sl-subtitle {
	margin: 0 0 32px;
	font-size: 15.5px;
	line-height: 1.6;
	text-align: center;
	color: var(--simcaleg-muted);
}

.sl-card .alert {
	margin-bottom: 18px;
	padding: 12px 14px;
	font-size: 14px;
	border: 0;
	border-radius: 10px;
	box-shadow: none;
}

.sl-card .alert-danger {
	color: #b42318;
	background: #fef3f2;
}

.sl-card .alert-success {
	color: #067647;
	background: #ecfdf3;
}

.sl-card .form-group.sl-field {
	margin: 0 0 20px;
	padding: 0;
}

.sl-label {
	display: block;
	margin: 0 0 8px;
	font-size: 14.5px !important;
	font-weight: 600;
	color: var(--simcaleg-heading) !important;
}

.sl-input {
	position: relative;
}

.sl-input-icon {
	position: absolute;
	top: 50%;
	left: 17px;
	transform: translateY(-50%);
	font-size: 16px;
	color: var(--simcaleg-placeholder);
	pointer-events: none;
}

.sl-card .sl-input .form-control {
	height: 56px !important;
	padding: 0 16px 0 48px;
	font-size: 15.5px;
	color: var(--simcaleg-heading);
	background: var(--simcaleg-white);
	border: 1px solid var(--simcaleg-border);
	border-radius: var(--simcaleg-radius);
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.sl-card .sl-input .form-control::placeholder {
	color: var(--simcaleg-placeholder);
}

.sl-card .sl-input .form-control:focus {
	background: var(--simcaleg-white);
	border-color: var(--simcaleg-blue);
	/* atlantis2 mematikan box-shadow pada semua :focus dengan !important */
	box-shadow: 0 0 0 4px rgba(8, 102, 232, .14) !important;
	outline: 0;
}

.sl-card .sl-input-password .form-control {
	padding-right: 50px;
}

.sl-card .sl-input .show-password {
	position: absolute;
	top: 50%;
	right: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 16px;
	color: var(--simcaleg-placeholder);
	border-radius: 8px;
	cursor: pointer;
	transform: translateY(-50%);
}

.sl-card .sl-input .show-password:hover {
	color: var(--simcaleg-blue);
	background: var(--simcaleg-panel);
}

.sl-form-sub {
	display: flex;
	justify-content: flex-end;
	margin: -6px 0 0;
}

.sl-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--simcaleg-blue);
}

.sl-link:hover,
.sl-link:focus {
	color: var(--simcaleg-blue-hover);
	text-decoration: underline;
}

.sl-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 56px;
	margin-top: 24px;
	font-size: 16.5px;
	font-weight: 700;
	color: var(--simcaleg-white);
	background: var(--simcaleg-blue);
	border: 0;
	border-radius: var(--simcaleg-radius);
	box-shadow: 0 10px 22px rgba(8, 102, 232, .28);
	cursor: pointer;
	transition: background .15s ease, box-shadow .15s ease, transform .05s ease;
}

.sl-btn i {
	font-size: 13px;
}

.sl-btn:hover {
	background: var(--simcaleg-blue-hover);
	box-shadow: 0 12px 26px rgba(8, 102, 232, .34);
}

.sl-btn:focus {
	outline: 0;
	box-shadow: 0 0 0 4px rgba(8, 102, 232, .25) !important;
}

.sl-card .sl-link:focus-visible {
	border-radius: 4px;
	box-shadow: 0 0 0 3px rgba(8, 102, 232, .25) !important;
}

.sl-btn:active {
	transform: translateY(1px);
}

.sl-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 14px;
	font-size: 12px;
	color: var(--simcaleg-placeholder);
}

.sl-divider::before,
.sl-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--simcaleg-border);
}

.sl-register {
	margin: 0;
	font-size: 14.5px;
	text-align: center;
	color: var(--simcaleg-muted);
}

.sl-main-foot {
	position: relative;
	margin-top: 22px;
	font-size: 12px;
	color: var(--simcaleg-placeholder);
}

/* ---------- Responsif ---------- */
@media (max-height: 820px) and (min-width: 992px) {
	.sl-brand-body {
		padding-top: 24px;
	}

	.sl-brand {
		padding-top: 32px;
		padding-bottom: 24px;
	}

	.sl-headline {
		font-size: clamp(32px, 2.9vw, 40px);
	}

	.sl-lead {
		margin-bottom: 22px;
		font-size: 15px;
	}

	.sl-features li {
		padding: 10px 12px;
	}

	.sl-feature-icon {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
		font-size: 14px;
	}

	.sl-visual {
		min-height: 200px;
	}

	.sl-dash-list {
		display: none;
	}

	.sl-card {
		padding: 36px 44px 32px;
	}

	.sl-card-brand {
		margin-bottom: 18px;
	}

	.sl-card-brand img {
		height: 46px;
	}

	.sl-title {
		font-size: 28px;
	}

	.sl-subtitle {
		margin-bottom: 24px;
	}

	.sl-card .form-group.sl-field {
		margin-bottom: 16px;
	}

	.sl-card .sl-input .form-control,
	.sl-btn {
		height: 52px !important;
	}

	.sl-divider {
		margin: 18px 0 12px;
	}
}

@media (max-width: 1279.98px) {
	.sl-brand {
		flex-basis: 54%;
		padding-left: 40px;
		padding-right: 40px;
	}

	.sl-features li {
		padding: 9px 10px;
		font-size: 13px;
	}

	.sl-card {
		padding: 36px 32px 30px;
	}
}

@media (max-width: 1099.98px) {
	.sl-brand {
		flex-basis: 50%;
		padding-left: 32px;
		padding-right: 32px;
	}

	.sl-main {
		padding-left: 20px;
		padding-right: 20px;
	}

	.sl-card {
		padding: 32px 26px 26px;
		border-radius: 24px;
	}
}

/* Tablet: panel branding diringkas di atas kartu login */
@media (max-width: 991.98px) {
	.sl-wrap {
		flex-direction: column;
	}

	.sl-brand {
		flex: 0 0 auto;
		padding: 28px 32px 32px;
	}

	.sl-brand-body {
		padding-top: 26px;
		max-width: none;
	}

	.sl-headline {
		font-size: 30px;
	}

	.sl-lead {
		max-width: none;
		margin-bottom: 20px;
	}

	.sl-visual,
	.sl-brand-foot {
		display: none;
	}

	.sl-main {
		flex: 1 0 auto;
		justify-content: flex-start;
		padding: 40px 24px 28px;
	}

	.sl-card {
		max-width: 560px;
		padding: 40px 44px 34px;
		border-radius: 28px;
	}
}

/* Smartphone: form diprioritaskan */
@media (max-width: 767.98px) {
	.sl-brand {
		display: none;
	}

	.sl-main {
		min-height: 100vh;
		justify-content: center;
		padding: 24px 16px 20px;
	}

	.sl-card {
		padding: 30px 20px 26px;
		border-radius: 24px;
	}

	.sl-card-brand {
		margin-bottom: 20px;
	}

	.sl-card-brand img {
		height: 40px;
	}

	.sl-title {
		font-size: 24px;
	}

	.sl-subtitle {
		margin-bottom: 22px;
		font-size: 14px;
	}

	.sl-main::before {
		width: 160px;
		height: 160px;
	}
}
