/* ==========================================================
   SIMETRIS — halaman login
   Warna dari logo: pink #EE2F5A · biru #00AFF0 · abu tua #363435
   ========================================================== */
:root {
  --pink: #EE2F5A;
  --pink-dk: #d41f4a;
  --blue: #00AFF0;
  --ink: #363435;
  --teal: #2BA3A6;
  --line: #e5e7eb;
  --muted: #6b7280;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }

.lg { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }

/* ---------- panel kiri ---------- */
.lg-brand {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, #201F20 0%, #363435 55%, #5A1C2D 100%);
  display: flex; align-items: center; padding: 56px;
}
.lg-brand-in { position: relative; z-index: 1; max-width: 520px; }
.lg-logo-w { width: min(420px, 100%); display: block; margin-bottom: 40px; }
.lg-brand h2 { font-size: 30px; line-height: 1.25; font-weight: 800; margin: 0 0 32px; letter-spacing: -.3px; }
.lg-mod { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.lg-mod li { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: rgba(255,255,255,.72); }
.lg-mod b { display: block; color: #fff; font-size: 14px; letter-spacing: .3px; }
.lg-mod .dot { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; flex: none; }
.d1 { background: rgba(238,47,90,.18); color: #ff6d8f; }
.d2 { background: rgba(43,163,166,.2); color: #6fd3d5; }
.d3 { background: rgba(245,158,11,.18); color: #fbbf24; }
.lg-unit { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0; }

/* hexagon dekorasi (bentuk dari logo) */
.hex { position: absolute; aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hex-1 { width: 420px; right: -140px; top: -120px; background: rgba(238,47,90,.16); }
.hex-2 { width: 260px; right: 60px; bottom: -90px; background: rgba(43,163,166,.14); }
.hex-3 { width: 120px; left: -40px; bottom: 120px; background: rgba(238,47,90,.22); }

/* ---------- panel kanan ---------- */
.lg-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #f7f8fa; }
.lg-card {
  width: 100%; max-width: 400px; background: #fff; border-radius: 18px; padding: 36px 32px 26px;
  box-shadow: 0 10px 40px rgba(17,24,39,.08), 0 1px 3px rgba(17,24,39,.05);
  border-top: 4px solid var(--pink);
}
.lg-logo { width: 100%; max-width: 280px; display: block; margin: 0 auto 26px; }
.lg-card h1 { font-size: 22px; margin: 0; font-weight: 800; }
.lg-sub { margin: 6px 0 22px; color: var(--muted); font-size: 13.5px; }
.lg-card label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #4b5563; margin: 14px 0 7px; }
.lg-inp { position: relative; display: flex; align-items: center; }
.lg-inp > i { position: absolute; left: 14px; color: #9ca3af; font-size: 14px; pointer-events: none; }
.lg-inp input {
  width: 100%; font: inherit; font-size: 14.5px; padding: 12px 44px 12px 40px; border: 1.5px solid var(--line);
  border-radius: 10px; outline: none; transition: border-color .15s, box-shadow .15s; background: #fff; color: var(--ink);
}
.lg-inp input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(43,163,166,.16); }
.lg-eye { position: absolute; right: 6px; border: 0; background: none; width: 36px; height: 36px; border-radius: 8px; color: #9ca3af; cursor: pointer; }
.lg-eye:hover { background: #f3f4f6; color: var(--ink); }
.lg-btn {
  width: 100%; margin-top: 24px; border: 0; border-radius: 10px; padding: 14px; font: inherit; font-weight: 700; font-size: 15px;
  color: #fff; background: var(--pink); cursor: pointer; display: flex; gap: 9px; justify-content: center; align-items: center;
  box-shadow: 0 6px 16px rgba(238,47,90,.28); transition: background .15s, transform .05s;
}
.lg-btn:hover { background: var(--pink-dk); }
.lg-btn:active { transform: translateY(1px); }
.lg-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 10px; padding: 11px 14px; font-size: 13.5px; margin-bottom: 4px; }
.lg-foot { text-align: center; color: #9ca3af; font-size: 11.5px; margin: 22px 0 0; }

/* ---------- HP / tablet ---------- */
@media (max-width: 900px) {
  .lg { grid-template-columns: 1fr; }
  .lg-brand { display: none; }
  .lg-form { min-height: 100vh; background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%); padding: 28px 16px; }
  .lg-card { box-shadow: 0 6px 24px rgba(17,24,39,.07); padding: 30px 22px 22px; }
}
