/* Icon utama tanpa lingkaran, responsive, di kanan bawah */
.whatsapp-icon-custom {
  position: fixed;
  bottom: 2%;   /* jarak dari bawah layar */
  right: 2%;    /* pindah dari kiri ke kanan */
  width: 10vw;  /* lebar icon 10% dari viewport width */
  height: 10vw; /* tinggi icon sama dengan lebar agar proporsional */
  background-color: transparent; /* hilangkan lingkaran hijau */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
  box-shadow: none; /* hilangkan bayangan */
}

.whatsapp-icon-custom:hover { 
  opacity: 0.8;  /* efek hover sederhana */
}

/* hapus lingkaran tambahan */
.whatsapp-icon-circle {
  display: none;
}

/* icon baru, ukuran menyesuaikan container */
.whatsapp-icon-content {
  width: 100%;  /* 80% dari whatsapp-icon-custom */
  height: 100%;
  background: url('../img/mbaktiwi.png') no-repeat center center;
  background-size: contain;
}

/* Media query untuk layar sangat kecil (misal HP kecil) */
@media (max-width: 480px) {
  .whatsapp-icon-custom {
    width: 15vw;
    height: 15vw;
  }
}



.chat-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s;
}

.chat-modal.show { opacity: 1; }

.chat-modal-content {
  position: absolute;
  bottom: 80px;
  right: 20px;
  width: 450px;
  height: 550px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.chat-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}
