/* Halaman masuk JAGA */
:root {
  --green-900: #0f3322; --green-800: #17513a; --green-600: #2f7d4e; --green-100: #e4efe7; --green-50: #f1f6f2;
  --cream: #f3f5f2; --ink: #14231b; --muted: #5b695f; --line: #e4e9e4; --lime: #d5f27c; --red: #c8372d;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "DM Sans", system-ui, sans-serif; color: var(--ink); background: var(--cream); font-size: 14px; line-height: 1.5; }
h1, h2 { font-family: "Manrope", "DM Sans", sans-serif; margin: 0; letter-spacing: -.02em; }
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); }

.auth-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 44px 56px; color: #fff; overflow: hidden;
  background: radial-gradient(110% 80% at 0% 0%, #1d5239 0%, #123a29 60%, #0f3322 100%); }
.auth-brand::after { content: ""; position: absolute; right: -140px; bottom: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.brand-top { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.brand-mark { height: 58px; width: auto; }
.brand-top b { display: block; font: 800 26px "Manrope", sans-serif; letter-spacing: .08em; line-height: 1; }
.brand-top span { display: block; margin-top: 5px; font-size: 12px; opacity: .8; }
.brand-copy { position: relative; z-index: 1; max-width: 520px; }
.brand-copy h1 { font-size: 40px; line-height: 1.12; font-weight: 800; }
.brand-copy p { margin: 18px 0 0; font-size: 16px; line-height: 1.6; opacity: .9; }
.brand-copy ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.brand-copy li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; opacity: .95; }
.brand-copy li i { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(213, 242, 124, .18); }
.brand-foot { position: relative; z-index: 1; margin: 0; font-size: 12px; opacity: .7; }

.auth-form-wrap { display: grid; place-items: center; padding: 40px 28px; }
.auth-form { width: min(420px, 100%); display: grid; gap: 16px; }
.form-mark { height: 56px; width: auto; justify-self: start; }
.auth-form h2 { font-size: 28px; font-weight: 800; }
.intro { color: var(--muted); margin: -8px 0 6px; }
.field { display: grid; gap: 6px; font-weight: 700; font-size: 12px; }
.field input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: 500 15px "DM Sans", sans-serif; color: var(--ink); }
.field input:focus { outline: 0; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(47, 125, 62, .14); }
.password { position: relative; }
.password input { padding-right: 84px; }
.show-pass { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--green-600); font-weight: 700; font-size: 12px; padding: 6px 8px; cursor: pointer; border-radius: 6px; }
.show-pass:hover { background: var(--green-50); }
.form-error { min-height: 20px; margin: -4px 0 0; color: var(--red); font-weight: 600; }
.submit { padding: 14px 20px; border: 0; border-radius: 14px; background: var(--green-800); color: #fff; font: 700 15px "DM Sans", sans-serif; cursor: pointer; transition: background .15s; }
.submit:hover { background: var(--green-900); }
.submit:disabled { opacity: .6; cursor: wait; }
.help { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { padding: 26px 22px 30px; gap: 22px; }
  .brand-copy h1 { font-size: 28px; }
  .brand-copy p { font-size: 14px; }
  .brand-copy ul { display: none; }
  .brand-foot { display: none; }
  .auth-brand::after { display: none; }
  .form-mark { display: none; }
}

.back { justify-self: start; margin-bottom: -4px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.back:hover { color: var(--green-800); }
