/* ============================================================
   Halaman Login Klik OBE · LMS PEPI (mengikuti LMS/Halaman Login Klik OBE PEPI.png)
   Foto: gedung PEPI asli (rilis/gambar dasboard home/upacara.png) + traktor (traktor-update.png).
   Tanpa aset internet: langit, awan, dan rumput digambar dengan CSS/SVG.
   ============================================================ */
html, body { min-height: 100%; }
.lg-body {
    position: relative; min-height: 100vh; margin: 0; overflow-x: hidden;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    color: #fff; background: #0b4ea2;
}
/* Langit biru bergradasi + awan lembut */
.lg-langit {
    position: fixed; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 260px 70px at 46% 17%, rgba(255,255,255,.85), transparent 70%),
        radial-gradient(ellipse 190px 52px at 53% 13%, rgba(255,255,255,.75), transparent 70%),
        radial-gradient(ellipse 230px 60px at 62% 24%, rgba(255,255,255,.55), transparent 70%),
        radial-gradient(ellipse 320px 80px at 92% 8%, rgba(255,255,255,.45), transparent 70%),
        radial-gradient(circle at 70% 0%, rgba(255,255,255,.35), transparent 40%),
        linear-gradient(100deg, #0a3f8f 0%, #0d57b8 32%, #2b86dc 58%, #5aa7ea 78%, #2f7fd6 100%);
}
.lg-gelombang { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: 26vh; min-height: 150px; z-index: 0; }

.lg-wrap {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 40px; align-items: center;
    max-width: 1720px; min-height: 100vh; margin: 0 auto; padding: 34px 56px 56px;
}

/* ---------- Kiri ---------- */
.lg-info { position: relative; min-width: 0; }
.lg-merek { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.lg-merek__logo { width: 72px; height: 72px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.lg-merek__nama { font-size: 2.5rem; font-weight: 800; letter-spacing: .01em; line-height: 1; }
.lg-merek__garis { width: 2px; height: 50px; background: rgba(255,255,255,.7); }
.lg-merek__kampus { font-size: 1.35rem; font-weight: 500; line-height: 1.2; }

.lg-pil { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; position: relative; z-index: 2; }
.lg-pil__biru, .lg-pil__oranye { display: inline-block; padding: 8px 22px; border-radius: 14px 4px 14px 4px; font-weight: 800; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.lg-pil__biru { background: linear-gradient(135deg, #1d8bf0, #0b5fcf); font-size: 2rem; line-height: 1.15; }
.lg-pil__oranye { background: linear-gradient(135deg, #ffa24a, #f07a1c); font-size: 1.35rem; align-self: center; padding: 8px 20px; font-weight: 600; }
.lg-judul { position: relative; z-index: 2; max-width: min(620px, calc(100% - 400px)); margin: 0 0 14px; font-size: clamp(1.9rem, 1.1rem + 1.9vw, 2.9rem); font-weight: 800; line-height: 1.12; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.lg-sub { position: relative; z-index: 2; max-width: min(620px, calc(100% - 400px)); margin: 0 0 26px; font-size: 1.3rem; line-height: 1.4; color: rgba(255,255,255,.95); text-shadow: 0 1px 6px rgba(0,0,0,.25); }

/* Foto gedung + traktor di belakang teks, sisi kanan kolom kiri */
.lg-foto { position: absolute; z-index: 1; right: 0; top: 96px; width: 400px; height: 420px; pointer-events: none; }
.lg-foto__gedung { position: absolute; right: 70px; top: 0; height: 400px; width: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.18)); }
.lg-foto__traktor { position: absolute; right: -24px; bottom: 30px; height: 180px; width: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.28)); }

.lg-fitur { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0 0 22px; padding: 0; }
.lg-fitur li {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
    padding: 16px 10px 14px; border-radius: 16px; color: #0d47a1;
    background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.75);
    box-shadow: 0 10px 24px rgba(11,40,90,.22); backdrop-filter: blur(4px);
}
.lg-fitur__ikon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px;
                  background: linear-gradient(145deg, color-mix(in srgb, var(--w) 80%, #fff), var(--w)); color: #fff; font-size: 32px;
                  box-shadow: 0 8px 18px color-mix(in srgb, var(--w) 40%, transparent); }
.lg-fitur strong { font-size: 1.02rem; line-height: 1.2; font-weight: 800; }
.lg-fitur small { font-size: .84rem; line-height: 1.3; color: #2b3a52; }

.lg-cap { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 46px; list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.45); font-size: 1rem; }
.lg-cap li { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.25); }
.lg-cap .ti { font-size: 1.7rem; }

/* ---------- Kartu login ---------- */
.lg-kartu {
    position: relative; z-index: 3; color: #0d47a1; text-align: center;
    padding: 34px 40px 26px; border-radius: 28px; background: #fff;
    border-top: 8px solid #f0843c; box-shadow: 0 24px 60px rgba(5,25,70,.35);
}
.lg-kartu__logo { width: 104px; height: 104px; border-radius: 50%; padding: 3px; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.18); margin-bottom: 14px; }
.lg-kartu__judul { margin: 0; font-size: 2.15rem; font-weight: 800; line-height: 1.15; color: #0f1c3f; }
.lg-kartu__judul span { display: block; font-size: 1.55rem; margin-top: 2px; }
.lg-kartu__sub { margin: 10px 0 20px; font-size: 1rem; line-height: 1.45; color: #1c2432; }
.lg-label { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; font-weight: 700; font-size: 1rem; color: #0f1c3f; }
.lg-label .ti { font-size: 1.15rem; }
.lg-isian { position: relative; display: flex; align-items: center; border: 1px solid #cdd6e4; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.lg-isian:focus-within { border-color: #1565c0; box-shadow: 0 0 0 3px rgba(21,101,192,.15); }
.lg-isian > .ti { padding: 0 6px 0 16px; font-size: 1.25rem; color: #5a6b82; }
.lg-isian input { flex: 1 1 auto; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font-size: 1rem; color: #0d47a1; }
.lg-isian input::placeholder { color: #6b7a90; }
.lg-isian__mata { height: 48px; width: 56px; border: 0; border-left: 1px solid #cdd6e4; background: #f8fafc; border-radius: 0 10px 10px 0; color: #3d4f65; font-size: 1.2rem; }
.lg-isian__mata:hover { background: #eef2f8; }
.lg-masuk {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; margin-top: 22px;
    border: 0; border-radius: 12px; color: #fff; font-size: 1.3rem; font-weight: 700;
    background: linear-gradient(180deg, #1d3c9a 0%, #10267a 100%); box-shadow: 0 10px 22px rgba(16,38,122,.35);
    transition: transform .15s, box-shadow .15s;
}
.lg-masuk:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(16,38,122,.42); }
.lg-masuk:focus-visible, .lg-tautan__btn:focus-visible, .lg-isian__mata:focus-visible { outline: 3px solid #f0843c; outline-offset: 2px; }
.lg-tautan { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 18px 0 12px; }
.lg-tautan__btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 2px; color: #1d4ed8; font-weight: 700; font-size: 1rem; }
.lg-tautan__btn:hover { text-decoration: underline; }
.lg-tautan__btn .ti { font-size: 1.25rem; }
.lg-tautan__garis { width: 1px; height: 26px; background: #cdd6e4; }
.lg-panel { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid #e3e9f2; font-size: .86rem; color: #1c2432; }
.lg-info-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #eef4fd; color: #1565c0; font-size: .9rem; line-height: 1.4; }
.lg-info-box .ti { font-size: 1.5rem; color: #1d4ed8; flex-shrink: 0; }

/* ---------- Responsif ---------- */
@media (max-width: 1399.98px) {
    .lg-wrap { grid-template-columns: minmax(0, 1fr) 440px; padding: 30px 32px 44px; gap: 28px; }
    .lg-foto { width: 330px; height: 380px; top: 104px; }
    .lg-foto__gedung { height: 340px; right: 58px; }
    .lg-foto__traktor { height: 150px; right: -16px; bottom: 34px; }
    .lg-judul, .lg-sub { max-width: calc(100% - 330px); }
    .lg-judul { font-size: 2.1rem; }
    .lg-sub { font-size: 1.1rem; }
    .lg-fitur li { padding: 14px 6px 12px; }
    .lg-fitur__ikon { width: 54px; height: 54px; font-size: 27px; }
    .lg-fitur strong { font-size: .92rem; }
    .lg-fitur small { font-size: .76rem; }
}
@media (max-width: 1199.98px) {
    .lg-fitur { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg-foto { opacity: .55; }
}
@media (max-width: 991.98px) {
    .lg-wrap { grid-template-columns: 1fr; max-width: 560px; padding: 22px 16px 120px; min-height: 0; }
    .lg-merek { margin-bottom: 16px; justify-content: center; }
    .lg-merek__logo { width: 56px; height: 56px; }
    .lg-merek__nama { font-size: 1.8rem; }
    .lg-merek__garis { height: 38px; }
    .lg-merek__kampus { font-size: 1rem; }
    .lg-info { text-align: center; }
    .lg-pil { justify-content: center; }
    .lg-pil__biru { font-size: 1.4rem; }
    .lg-pil__oranye { font-size: 1rem; }
    .lg-judul, .lg-sub { max-width: none; }
    .lg-judul { font-size: 1.5rem; margin-left: auto; margin-right: auto; }
    .lg-sub { font-size: 1rem; margin: 0 auto 6px; }
    .lg-foto, .lg-fitur, .lg-cap { display: none; }
    .lg-kartu { padding: 26px 20px 20px; border-radius: 22px; }
    .lg-kartu__logo { width: 80px; height: 80px; }
    .lg-kartu__judul { font-size: 1.7rem; }
    .lg-kartu__judul span { font-size: 1.2rem; }
    .lg-tautan { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .lg-masuk, .lg-isian { transition: none; } .lg-masuk:hover { transform: none; } }

/* Gambar unggahan tanpa latar transparan (foto biasa): ditampilkan sebagai foto bersudut membulat */
.lg-foto--persegi { border-radius: 18px; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 16px 34px rgba(5,25,70,.35); object-fit: cover; }
.lg-foto__gedung.lg-foto--persegi { height: auto; max-height: 360px; max-width: 330px; top: 20px; }
.lg-foto__traktor.lg-foto--persegi { height: auto; max-height: 150px; max-width: 200px; bottom: 120px; }
