/* ==========================================================================
   Login page — modern theme
   Warna identik dengan logo Summarecon (assets/img/logo.png):
     hijau daun  #005a17  (utama)
     oranye swoosh #e97017 (aksen)
     kuning       #f0c000  (highlight)
   ========================================================================== */

:root {
  --lg-green: #005a17;
  --lg-green-dark: #004512;
  --lg-green-light: #0a7d24;
  --lg-orange: #e97017;
  --lg-yellow: #f0c000;
  --lg-ink: #1f2a24;
  --lg-muted: #6b7a70;
  --lg-line: #e2e8e3;
}

html, body.lg-modern {
  height: 100%;
  margin: 0;
}

body.lg-modern {
  font-family: 'Ubuntu Condensed', Arial, sans-serif;
  color: var(--lg-ink);
  background: linear-gradient(135deg, #eaf3ec 0%, #f4f7f4 45%, #fdf3e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lg-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
}

.lg-shell {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 60, 20, .16);
}

/* ===== Form panel ============================================================ */
.lg-form-panel {
  padding: 46px 40px;
}
.lg-form-inner { width: 100%; }

.lg-logo-wrap { text-align: center; margin-bottom: 28px; }
.lg-logo { height: 42px; }

.lg-form-header { text-align: center; margin-bottom: 26px; }
.lg-form-header h2 { font-size: 21px; font-weight: 700; color: var(--lg-ink); margin: 0 0 6px; }
.lg-form-header p { font-size: 13.5px; color: var(--lg-muted); margin: 0; }

.lg-alert {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fdecec; color: #a12626;
  border: 1px solid #f3c6c6; border-left: 3px solid #d9362b;
  border-radius: 9px; padding: 11px 14px; font-size: 13px; margin-bottom: 20px;
}
.lg-alert .fa { margin-top: 1px; }

.lg-field {
  position: relative;
  margin-bottom: 16px;
}
.lg-field-icon {
  position: absolute; left: 14px; top: 0; bottom: 0;
  display: flex; align-items: center;
  color: var(--lg-muted); font-size: 14px;
}
.lg-field .form-control {
  height: 46px; width: 100%;
  border: 1px solid #d6ddd8; border-radius: 10px;
  box-shadow: none; font-size: 14px; color: var(--lg-ink);
  background: #fff; padding: 0 14px 0 40px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lg-field .form-control:focus {
  outline: none;
  border-color: var(--lg-green);
  box-shadow: 0 0 0 3px rgba(0, 90, 23, .12);
}

.lg-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.lg-checkbox {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 400; color: var(--lg-muted);
  cursor: pointer; margin: 0;
}
.lg-checkbox input { margin: 0; }

.lg-btn {
  width: 100%; height: 46px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, var(--lg-green-light), var(--lg-green));
  color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 90, 23, .28);
  cursor: pointer; transition: all .15s ease;
}
.lg-btn:hover, .lg-btn:focus { background: linear-gradient(135deg, var(--lg-green), var(--lg-green-dark)); box-shadow: 0 12px 26px rgba(0, 90, 23, .34); }
.lg-btn .fa { margin-right: 7px; }

.lg-copyright { text-align: center; font-size: 12px; color: var(--lg-muted); margin: 22px 0 0; }

/* ===== Responsive ============================================================ */
@media (max-width: 480px) {
  .lg-wrap { padding: 0; }
  .lg-shell { max-width: 100%; min-height: 100vh; border-radius: 0; display: flex; align-items: center; }
  .lg-form-panel { padding: 34px 26px 40px; }
}
