/* ── Floating trigger button ────────────────────────────── */
.cvb-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 18px 8px 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a202c;
  transition: box-shadow 0.2s, transform 0.15s;
}
.cvb-fab:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.2); transform: translateY(-1px); }

/* canvas orb inside FAB */
#cvb-fab-canvas {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
}

/* ── Floating widget panel ──────────────────────────────── */
.cvb-panel {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 99999;
  width: 300px;
  background: #f7f7f5;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.cvb-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* collapse button */
.cvb-collapse {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e5e5e3;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: background 0.15s;
}
.cvb-collapse:hover { background: #d1d5db; }
.cvb-collapse svg   { width: 14px; height: 14px; }

/* timer */
.cvb-timer {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
  min-height: 18px;
  letter-spacing: 0.04em;
}
.cvb-timer.cvb-timer-warn   { color: #d97706; }
.cvb-timer.cvb-timer-danger { color: #ef4444; }

/* canvas orb in panel */
#cvb-orb-canvas {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: block;
  margin-bottom: 16px;
}

/* agent name + tagline */
.cvb-agent-name {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 4px;
}
.cvb-agent-tag {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 16px;
  text-align: center;
}

/* status */
.cvb-status-text {
  font-size: 13px;
  color: #6b7280;
  min-height: 18px;
  margin-bottom: 20px;
  text-align: center;
}

/* controls */
.cvb-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.cvb-ctrl-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, opacity 0.15s;
}
.cvb-ctrl-btn:hover   { transform: scale(1.07); }
.cvb-ctrl-btn:active  { transform: scale(0.95); }
.cvb-ctrl-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.cvb-ctrl-btn svg     { width: 22px; height: 22px; }
.cvb-btn-mic { background: #e5e5e3; color: #1a202c; }
.cvb-btn-end { background: #f87171; color: #fff; }

/* powered by */
.cvb-powered {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
  text-align: center;
  line-height: 1.5;
}
