/* ================ GAYA DASAR ================ */
.wjpro-banner, 
.wjpro-button {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  text-decoration: none; /* Hapus garis bawah */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* Bayangan halus */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Animasi halus */
  cursor: pointer; /* Kursor tangan saat hover */
}

/* ================ TOMBOL TUNGGAL ================ */
.wjpro-banner {
  display: inline-flex;
  align-items: center; /* Rata tengah vertikal */
  padding: 12px 20px;
  border-radius: 50px; /* Bentuk bulat */
  color: white;
  font-size: 15px;
  line-height: 1.2;
  backdrop-filter: blur(4px); /* Efek blur modern */
  border: 1px solid rgba(255,255,255,0.2); /* Border halus */
}

/* Tombol mengambang */
.wjpro-float {
  position: fixed; /* Posisi tetap di layar */
  bottom: 30px;
  z-index: 99999; /* Pastikan selalu di atas */
  animation: wjpro-float 3s ease-in-out infinite; /* Animasi mengambang */
}

/* Posisi kanan */
.wjpro-right { 
  right: 30px;
  transform-origin: right center; /* Titik transformasi */
}

/* Posisi kiri */
.wjpro-left { 
  left: 30px;
  transform-origin: left center;
}

/* Icon WhatsApp */
.wjpro-banner i {
  font-size: 20px;
  flex-shrink: 0; /* Pastikan icon tidak mengecil */
}

/* Efek hover */
.wjpro-banner:hover {
  transform: translateY(-3px); /* Bergerak ke atas */
  box-shadow: 0 6px 16px rgba(0,0,0,0.2); /* Bayangan lebih tebal */
}

/* ================ TOMBOL MULTI ADMIN ================ */
.wjpro-multi-container {
  position: fixed;
  z-index: 99999;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column; /* Susun vertikal */
  gap: 12px; /* Jarak antar tombol */
  max-width: calc(100vw - 60px); /* Responsif */
}

/* Gaya dasar tombol */
.wjpro-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #25D366; /* Warna hijau WhatsApp */
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 15px;
  min-width: 200px;
  max-width: 100%;
}

/* Konten dalam tombol */
.wjpro-button-content {
  display: flex;
  flex-direction: column;
  margin-left: 10px; /* Jarak dari icon */
}

/* Efek hover tombol */
.wjpro-button:hover {
  background-color: #128C7E; /* Warna hijau lebih gelap */
  transform: translateX(-5px); /* Geser ke kiri */
}

/* ================ INDIKATOR STATUS ================ */
.wjpro-status {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  margin-top: 4px;
  font-weight: normal;
}

/* Bullet status */
.wjpro-status:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  background: currentColor;
}

/* Status Online */
.wjpro-button.online .wjpro-status {
  color: #d1fae5; /* Warna hijau muda */
}

/* Status Offline */
.wjpro-button.offline .wjpro-status {
  color: #fee2e2; /* Warna merah muda */
}

/* ================ TOMBOL OFFLINE ================ */
.wjpro-button.offline {
  background-color: #6b7280; /* Warna abu-abu */
  pointer-events: none; /* Non-aktifkan klik */
  opacity: 0.9; /* Sedikit transparan */
}

/* ================ ANIMASI ================ */
@keyframes wjpro-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); } /* Bergerak naik-turun */
}

/* ================ TAMPILAN MOBILE ================ */
@media (max-width: 768px) {
  .wjpro-float,
  .wjpro-multi-container {
    bottom: 20px; /* Jarak dari bawah lebih kecil */
  }
  
  .wjpro-right { right: 15px; }
  .wjpro-left { left: 15px; }
  
  .wjpro-banner {
    padding: 10px 16px;
    font-size: 14px; /* Ukuran font lebih kecil */
  }
  
  .wjpro-button {
    min-width: auto;
    width: calc(100vw - 30px); /* Lebar penuh */
  }
}

/* ================ DUKUNGAN DARK MODE ================ */
@media (prefers-color-scheme: dark) {
  .wjpro-banner {
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* Bayangan lebih gelap */
  }
}