:root{
  --cc-primary: #111827;
  --cc-bg: #ffffff;
  --cc-text: #111827;
}
.cc-chat-launcher{
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: none;
  background: var(--cc-primary);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 9999px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  z-index: 99999;
}
.cc-chat-launcher.cc-left{ left: 20px; right: auto; }
.cc-chat-panel{
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  max-width: 92vw;
  background: var(--cc-bg);
  color: var(--cc-text);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 99999;
}
.cc-chat-panel.cc-left{ left:20px; right:auto; }
.cc-hidden{ display:none; }
.cc-chat-header{
  background: var(--cc-primary);
  color:#fff;
  padding: 12px 14px;
  display:flex;
  justify-content: space-between;
  align-items:center;
}
.cc-chat-title{ font-weight: 600; }
.cc-chat-close{
  background: transparent;
  border: none;
  color:#fff;
  font-size: 20px;
  line-height: 1;
  cursor:pointer;
}
.cc-chat-messages{
  padding: 12px;
  max-height: 50vh;
  overflow-y: auto;
  background: #f8fafc;
}
.cc-bubble{
  padding: 10px 12px;
  border-radius: 12px;
  margin: 8px 0;
  white-space: pre-wrap;
}
.cc-bubble.cc-user{
  background: #e5e7eb;
  align-self: flex-end;
}
.cc-bubble.cc-bot{
  background: #fff;
  border:1px solid #e5e7eb;
}
.cc-chat-form{
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.cc-chat-input{
  flex: 1;
  min-height: 42px;
  max-height: 100px;
  resize: vertical;
}
.cc-chat-send{
  background: var(--cc-primary);
  border: none;
  color: #fff;
  padding: 0 14px;
  border-radius: 10px;
  cursor:pointer;
}
.cc-consent-wrap{
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  font-size: 12px;
  display:flex;
  gap:8px;
  align-items:flex-start;
}
