/* Halaman login E-SAKIP. */
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.lg { font-family: "Inter", "Segoe UI", Arial, sans-serif; color: #0f172a; background: #0c1a3a; -webkit-font-smoothing: antialiased; }
.lg-wadah { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); min-height: 100vh; }

.lg-hero {
	position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 36px 48px; color: #fff; overflow: hidden;
	background:
		radial-gradient(circle 280px at 88% 12%, rgba(251,191,36,.16) 0%, transparent 70%),
		radial-gradient(circle 420px at 8% 100%, rgba(37,99,235,.35) 0%, transparent 70%),
		linear-gradient(140deg, #0c1a3a 0%, #13296a 55%, #1e3a8a 100%);
}
.lg-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 40px 40px;
}
.lg-hero > * { position: relative; z-index: 1; }
.lg-hero-atas { display: flex; align-items: center; gap: 13px; }
.lg-hero-atas img { width: 46px; height: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
.lg-hero-atas div { display: flex; flex-direction: column; line-height: 1.2; }
.lg-hero-atas b { font-size: 20px; font-weight: 800; letter-spacing: .07em; }
.lg-hero-atas span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #93c5fd; }
.lg-hero-isi { max-width: 560px; }
.lg-lencana {
	display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 16px;
	background: rgba(251,191,36,.14); border: 1px solid rgba(251,191,36,.35); color: #fde68a; font-size: 12px; font-weight: 700;
}
.lg-hero h1 { margin: 18px 0 12px; font-size: 38px; line-height: 1.18; font-weight: 800; letter-spacing: -.01em; }
.lg-hero p { margin: 0; font-size: 15px; line-height: 1.65; color: #cbd5e1; }
.lg-alur { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: alur; }
.lg-alur li {
	position: relative; display: flex; flex-direction: column; gap: 9px; padding: 14px 12px; border-radius: 12px;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); counter-increment: alur;
}
.lg-alur li::before { content: "0" counter(alur); position: absolute; top: 10px; right: 12px; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.3); }
.lg-alur .fa { width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(37,99,235,.35); color: #fde68a; font-size: 15px; }
.lg-alur span { font-size: 12.5px; font-weight: 700; }
.lg-hero-kaki { font-size: 12px; color: #94a3b8; }

.lg-panel { display: flex; align-items: center; justify-content: center; padding: 32px 24px; background: #eef2f7; }
.lg-kartu { width: 100%; max-width: 400px; padding: 34px 32px 26px; border-radius: 18px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 20px 50px rgba(15,23,42,.12); }
.lg-logo-kecil { display: none; width: 46px; margin: 0 auto 10px; }
.lg-kartu h2 { margin: 0; font-size: 23px; font-weight: 800; }
.lg-sub { margin: 6px 0 22px; color: #64748b; font-size: 13.5px; }
.lg-pesan { display: flex; gap: 9px; align-items: flex-start; margin: 0 0 18px; padding: 11px 13px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 13px; line-height: 1.45; }
.lg-pesan .fa { margin-top: 2px; }
.lg-kartu label { display: block; margin: 0 0 7px; font-size: 12.5px; font-weight: 700; color: #334155; }
.lg-isian { position: relative; display: flex; align-items: center; margin-bottom: 16px; }
.lg-isian > .fa { position: absolute; left: 14px; color: #94a3b8; font-size: 14px; pointer-events: none; }
.lg-isian input {
	width: 100%; height: 46px; padding: 0 44px 0 40px; border-radius: 11px; border: 1.5px solid #cbd5e1; background: #f8fafc;
	font: inherit; font-size: 14px; color: #0f172a; outline: none; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.lg-isian input:focus { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.lg-isian input:focus + .lg-lihat, .lg-isian:focus-within > .fa { color: #2563eb; }
.lg-lihat { position: absolute; right: 6px; width: 34px; height: 34px; border: none; border-radius: 8px; background: transparent; color: #94a3b8; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lg-lihat:hover { background: #eef2f7; color: #1d4ed8; }
.lg-caps { margin: -8px 0 14px; color: #b45309; font-size: 12px; font-weight: 600; }
.lg-caps[hidden] { display: none; }
.lg-masuk {
	width: 100%; height: 48px; margin-top: 4px; border: none; border-radius: 11px; cursor: pointer;
	display: flex; align-items: center; justify-content: center; gap: 10px;
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); color: #fff; font: inherit; font-size: 15px; font-weight: 700;
	box-shadow: 0 10px 24px rgba(37,99,235,.32); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.lg-masuk:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(37,99,235,.38); filter: brightness(1.05); }
.lg-masuk:disabled { opacity: .75; cursor: progress; transform: none; }
.lg-masuk .fa { line-height: 1; transition: transform .15s ease; }
.lg-masuk:hover .fa-arrow-right { transform: translateX(3px); }
.lg-portal {
	display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin-top: 12px; border-radius: 11px;
	border: 1.5px solid #e2e8f0; color: #334155; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.lg-portal:hover { border-color: #93c5fd; background: #f8fbff; color: #1d4ed8; }
.lg-versi { margin: 20px 0 0; text-align: center; color: #94a3b8; font-size: 11.5px; }

@media (max-width: 960px) {
	.lg-wadah { grid-template-columns: 1fr; }
	.lg-hero { padding: 26px 22px 30px; }
	.lg-hero h1 { font-size: 26px; }
	.lg-alur { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 20px; }
	.lg-hero-kaki { display: none; }
	.lg-panel { padding: 22px 16px 34px; }
}
@media (max-width: 520px) {
	.lg-hero-isi p, .lg-alur { display: none; }
	.lg-hero h1 { font-size: 21px; margin-bottom: 0; }
	.lg-kartu { padding: 26px 20px 22px; }
}

/* kode keamanan */
.lg-kode { display: grid; grid-template-columns: 150px 38px minmax(0, 1fr); gap: 8px; align-items: center; margin-bottom: 18px; }
.lg-kode .lg-isian { margin-bottom: 0; }
.lg-kode .lg-isian input { padding: 0 10px 0 13px; text-align: center; letter-spacing: .24em; font-weight: 700; text-transform: uppercase; }
.lg-kode .lg-isian input::placeholder { letter-spacing: 0; font-weight: 400; text-transform: none; font-size: 13px; }
.lg-kode-gbr { width: 150px; height: 46px; border-radius: 11px; overflow: hidden; border: 1.5px solid #cbd5e1; background: #eef3fb; }
.lg-kode-gbr img { display: block; width: 100%; height: 100%; cursor: pointer; user-select: none; -webkit-user-drag: none; }
.lg-kode-ulang { width: 38px; height: 46px; border: 1.5px solid #cbd5e1; border-radius: 11px; background: #f8fafc; color: #1d4ed8; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease, border-color .15s ease; }
.lg-kode-ulang:hover { background: #eff6ff; border-color: #93c5fd; }
.lg-kode-ulang.putar .fa { animation: lgPutar .5s linear; }
@keyframes lgPutar { to { transform: rotate(360deg); } }
@media (max-width: 380px) {
	.lg-kode { grid-template-columns: minmax(0, 1fr) 38px; }
	.lg-kode-gbr { width: 100%; height: auto; aspect-ratio: 170 / 52; }
	.lg-kode .lg-isian { grid-column: 1 / -1; }
}
