#chatbox-container {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 99999;
}

#chatbox-btn {
  background: #D21212;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  animation: pulse 1.5s infinite; /* efek pulse */
}
#chatbox-btn:hover {
  transform: scale(1.1);
}

/* Popup */
#chatbox-popup {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  animation: fadeInUp 0.4s ease;
  z-index: 10000;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
#chatbox-header {
  background: #D21212;
  color: white;
  padding: 10px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}
#chatbox-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Body */
#chatbox-body {
  padding: 9px;
}
.chatbox-greeting {
  font-size: 10px;
  margin-bottom: 10px;
  color: #333;
}
#chatbox-body textarea {
  width: 100%;
  height: 80px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: none;
  margin-bottom: 10px;
}
#chatbox-send, #chatbox-tel {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  margin-top: 8px;
  font-size: 16px;
}
#chatbox-send {
  background: #D21212;
  color: white;
  border: none;
}
#chatbox-tel {
  background: #007AFF;
  color: white;
  text-decoration: none;
}

/* Pulse Effect Merah */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}