/* Custom CSS to increase logo size in Header 5 layout */
.header-layout-5 .navbar-brand .logo-img {
    max-height: 150px;
    /* Increased to allow larger logo */
    width: auto;
    /* Preserve aspect ratio */
    max-width: 100%;
    /* Prevent overflow */
}

/* Adjust for mobile if needed */
@media (max-width: 992px) {
    .header-layout-5 .navbar-brand .logo-img {
        max-height: 80px;
        /* Adjusted for mobile */
        width: auto;
    }
}

/* TAMBAHKAN INI UNTUK MERUBAH WARNA NAVMENU HEADER MENJADI HIJAU */
.header-layout-5 .header-bottom {
  background-color: #006a4e;
  /* Warna Hijau */
  /* Soft Glow Effect */
    box-shadow: 0 4px 15px rgba(228, 139, 5, 0.6);
    position: relative;
    z-index: 99;
}

/* Agar teks menu menjadi putih */
.header-layout-5 .header-bottom .navbar-nav>li>a,
.header-layout-5 .header-bottom .navbar-nav>li>span {
  color: #fff;
}


/* Floating button — independen dari layout footer */
.ja-floating-cctv{
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  left: auto !important;
  z-index: 2147483647 !important;
  pointer-events: auto;
}

/* pastikan modul tidak memberi margin/padding yang mendorong layout */
.ja-floating-cctv,
.ja-floating-cctv *{
  margin: 0 !important;
}

/* ukuran tombol konsisten (anti-CLS) */
.ja-floating-cctv img{
  width: 76px;
  height: 76px;
  display: block;
}

/* responsif */
@media (max-width: 576px){
  .ja-floating-cctv{ right: 14px !important; bottom: 14px !important; left: auto !important; }
  .ja-floating-cctv img{ width: 60px; height: 60px; }
}

/* Floating WA - kiri bawah */
.wa-float{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99999;
  display: inline-block;
  line-height: 0;
}

.wa-float img{
  width: 265px;
  max-width: 75vw;
  height: auto;
  display: block;
}

/* kalau modulnya masih “ambil ruang” (ada margin/padding wrapper) */
.moduletable:has(.wa-float){
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
