:root {
  --wa-green: #00e676;
}

.wa-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* Chat Bubble */
.wa-chat-bubble {
  position: relative;
  width: 290px;
  background: white;
  border: 2px solid #000;
  border-radius: 20px;
  padding: 25px 20px 20px 20px;
  margin-bottom: 20px;
  box-shadow: 6px 6px 0px var(--wa-green);
  
  /* State Sembunyi */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-chat-bubble.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Tombol Close (X) */
.wa-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #888;
  transition: 0.3s;
  line-height: 1;
}

.wa-close-btn:hover {
  color: #000;
}

.wa-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.wa-bubble-header-icon {
  background: var(--wa-green);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}

.wa-brand-name {
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
}

.wa-bubble-text {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 20px 0;
  font-weight: 500;
}

.wa-bubble-button {
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--wa-green);
  transition: 0.3s;
}

.wa-bubble-button:hover {
  background: #000;
}

.wa-btn-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-bubble-arrow {
  position: absolute;
  bottom: -11px;
  right: 25px;
  width: 20px;
  height: 20px;
  background: white;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
}

.wa-main-button {
  width: 65px;
  height: 65px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}