
/* Edit By Firyanul Rizky - Aptika Diskominfo 25 September 2026 */

:root {
  --primary: #0f766e;
  --primary-dark: #0b5d57;
  --secondary: #d4a72c;
  --accent: #e8c766;
  --ink: #17313a;
  --muted: #66777d;
  --surface: rgba(255,255,255,.94);
  --line: rgba(23,49,58,.12);
  --shadow: 0 24px 70px rgba(8, 39, 45, .18);
  --radius: 24px;
  --font: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(212,167,44,.20), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(15,118,110,.24), transparent 30%),
    linear-gradient(135deg, #eff8f6 0%, #f8f6ee 52%, #eaf3f2 100%);
}

/* Decorative Mahakam-inspired river */
.bg-art {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.river {
  position: absolute;
  width: 125%;
  height: 54%;
  left: -12%;
  bottom: -23%;
  border-radius: 50% 50% 0 0;
  background:
    linear-gradient(170deg, rgba(255,255,255,.22), transparent 40%),
    linear-gradient(160deg, #0f766e, #145f6a 55%, #0b4d59);
  transform: rotate(-4deg);
  opacity: .96;
}

.river::before,
.river::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.17);
  transform: rotate(-4deg);
}

.river::before { width: 70%; height: 32%; top: 18%; left: 18%; }
.river::after { width: 55%; height: 22%; top: 34%; left: 28%; }

.sun {
  position: absolute;
  width: 230px;
  height: 230px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,199,102,.7), rgba(232,199,102,0));
}

.leaf {
  position: absolute;
  width: 130px;
  height: 60px;
  border: 2px solid rgba(15,118,110,.13);
  border-radius: 100% 0 100% 0;
  transform: rotate(35deg);
}
.leaf.one { left: 3%; top: 13%; }
.leaf.two { right: 8%; top: 23%; transform: rotate(-22deg) scale(.8); }

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 20px 120px;
}

.login-shell {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.brand-panel {
  position: relative;
  padding: 52px;
  min-height: 610px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(5,54,58,.96), rgba(13,108,102,.94)),
    linear-gradient(90deg, #0f766e, #164e63);
  overflow: hidden;
}

.brand-panel::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -140px;
  border: 42px solid rgba(255,255,255,.06);
  border-radius: 50%;
}

.brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, var(--secondary), #f0d77d);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  font-weight: 900;
  letter-spacing: -1px;
}

.brand-kicker {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .78;
  font-weight: 700;
}

.brand-title {
  margin: 70px 0 8px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .92;
  letter-spacing: -.055em;
}

.brand-title span { color: #f1d579; }

.brand-subtitle {
  max-width: 440px;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
}

.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 38px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: 13px;
}

.local-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f1d579;
  box-shadow: 0 0 0 5px rgba(241,213,121,.12);
}

.form-panel {
  padding: 58px clamp(30px, 5vw, 66px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,.94);
}

.form-head .eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.form-head h1 {
  margin: 10px 0 8px;
  font-size: 30px;
  letter-spacing: -.03em;
}

.form-head p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.field { margin-bottom: 19px; }

.field label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.input-wrap { position: relative; }

.input-wrap .icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #7a8a8f;
  font-size: 17px;
}

input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 46px;
  border: 1px solid #d8e0e2;
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: #fbfcfc;
  font: inherit;
  transition: .2s ease;
}

input:focus {
  border-color: rgba(15,118,110,.65);
  box-shadow: 0 0 0 4px rgba(15,118,110,.10);
  background: #fff;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 7px;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.login-btn {
  width: 100%;
  height: 53px;
  margin-top: 8px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #155e75);
  box-shadow: 0 10px 24px rgba(15,118,110,.22);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15,118,110,.28);
}

.help {
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #f2f8f7;
  color: #587076;
  font-size: 12px;
  line-height: 1.55;
}

.back-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.back-link:hover { text-decoration: underline; }

.footer {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  color: #ffffff;
  font-size: 12px;
}

.footer strong { color: #f1d579; }

@media (max-width: 820px) {
  .login-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: auto; padding: 34px 30px; }
  .brand-title { margin-top: 42px; font-size: 58px; }
  .form-panel { padding: 40px 30px; }
  .page { padding-bottom: 75px; }
}

@media (max-width: 480px) {
  .page { padding: 14px 12px 65px; }
  .brand-panel, .form-panel { padding: 28px 22px; }
  .brand-title { font-size: 48px; }
  .footer { padding: 0 12px; }
}

