@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  color: #1f2937;
  background: #ffffff;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-family: "Poppins", "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(27, 94, 32, 0.16);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(27, 94, 32, 0.2);
}
.btn-outline {
  background: #ffffff;
  color: #1b5e20;
  border-color: rgba(46, 125, 50, 0.45);
}
.btn-outline:hover {
  background: #f1faf3;
}
.hidden { display: none !important; }
.brand-emblem,
.hero-emblem {
  display: none !important;
}


/* Mobile layout guard: tabel boleh scroll di wrapper, halaman tidak melebar. */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 700px) {
  input, select, textarea {
    font-size: 16px;
  }
}

/* ========================================= */
/* PASSWORD / PIN VISIBILITY TOGGLE          */
/* ========================================= */
.password-field-with-toggle {
  position: relative;
}
.password-field-with-toggle > input {
  padding-right: 78px !important;
}
.password-field-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #17652a;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  padding: 8px 4px;
  z-index: 2;
}
.password-field-toggle:hover,
.password-field-toggle:focus-visible {
  text-decoration: underline;
}

/* ========================================= */
/* KONTAK WHATSAPP LKM                       */
/* ========================================= */
.lkm-contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #cfe0cb;
  border-radius: 14px;
  background: #f5fbf4;
}
.lkm-contact-copy {
  min-width: 0;
}
.lkm-contact-copy strong,
.lkm-contact-copy span {
  display: block;
}
.lkm-contact-copy strong {
  color: #175b24;
  font-size: 14px;
}
.lkm-contact-copy span {
  margin-top: 3px;
  color: #617064;
  font-size: 13px;
  line-height: 1.45;
}
.lkm-contact-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: #1f7a34;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
}
.lkm-contact-link:hover {
  background: #17652a;
}
@media (max-width: 620px) {
  .lkm-contact-box {
    align-items: stretch;
    flex-direction: column;
  }
  .lkm-contact-link {
    width: 100%;
  }
}

/* ========================================= */
/* LEAFLET LOCATION MARKER - LOCAL/CSP SAFE  */
/* ========================================= */
.lkm-leaflet-pin-wrap {
  background: transparent !important;
  border: 0 !important;
}

.lkm-leaflet-pin {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  background: #1f7a34;
  box-shadow: 0 5px 14px rgba(15, 73, 30, 0.32);
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
}

.lkm-leaflet-pin-home {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(45deg);
  user-select: none;
}

.leaflet-marker-draggable .lkm-leaflet-pin {
  cursor: grab;
}

.leaflet-marker-draggable:active .lkm-leaflet-pin {
  cursor: grabbing;
}
