.verve-cb-root {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999999;
  font-family: Inter, sans-serif;
}

/* Floating Button */
.verve-cb-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #00cc83;
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.verve-cb-fab-dot {
  width: 12px; height: 12px; background: #fff; border-radius: 50%;
}
.verve-cb-wave {
  position: absolute; width: 58px; height: 58px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0,204,131,0.4);
  animation: verve-pulse 2s infinite;
}
@keyframes verve-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,204,131,0.35); }
  70% { box-shadow: 0 0 0 16px rgba(0,204,131,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,204,131,0); }
}
.verve-cb-tooltip {
  position: fixed;
  right: 90px;
  bottom: 90px;
  background: #204ecf;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.4s ease, transform 0.3s ease;
}
.verve-cb-tooltip.hide { opacity: 0; transform: translateY(10px); }

/* Chat Box */
.verve-cb-card {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  height: 70vh;
  max-height: 600px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
.verve-cb-card.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Header */
.verve-cb-header {
  background: #204ecf;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.verve-cb-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.verve-cb-logo { height: 30px; }

/* Body */
.verve-cb-body {
  flex: 1;
  background: #fafafa;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.verve-cb-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  scrollbar-width: thin;
  scrollbar-color: #204ecf #f0f0f0;
}
.verve-cb-messages::-webkit-scrollbar { width: 8px; }
.verve-cb-messages::-webkit-scrollbar-thumb {
  background: #204ecf; border-radius: 8px;
}

/* Messages */
.verve-cb-msg {
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 10px;
  max-width: 85%;
  word-wrap: break-word;
}
.verve-cb-msg.user {
  background: #204ecf;
  color: #fff;
  margin-left: auto;
}
.verve-cb-msg.assistant {
  background: #fff;
  color: #111;
  border: 1px solid #eee;
}

/* Input */
.verve-cb-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #eee;
  background: #fff;
}
#verve-cb-text {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
}
.verve-cb-send {
  background: #00cc83;
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .verve-cb-card { width: calc(100vw - 20px); right: 10px; height: 80vh; }
}
