:root{
  --brand:#00cc66;
  --rcb-bg:#0b1220;
  --rcb-card:#111a2e;
  --rcb-text:#e9eefc;
  --rcb-muted:#a9b4d0;
  --rcb-user:#1b2a4a;
  --rcb-assistant:#0f2030;
}

#razorchatbot-widget-root{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.rcb-box{
  width: 340px;
  max-width: calc(100vw - 36px);
  height: 440px;
  max-height: calc(100vh - 90px);
  background: var(--rcb-card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(0,0,0,.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rcb-header{
  background: linear-gradient(90deg, rgba(0,204,102,.18), rgba(255,255,255,0));
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 14px;
  color: var(--rcb-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 650;
}

.rcb-badge{
  font-size: 12px;
  color: var(--rcb-text);
  background: rgba(0,204,102,.18);
  border: 1px solid rgba(0,204,102,.35);
  padding: 3px 10px;
  border-radius: 999px;
}

.rcb-body{
  padding: 12px;
  flex: 1;
  overflow: auto;
  background: radial-gradient(900px 400px at 20% 10%, rgba(0,204,102,.10), transparent 45%),
              radial-gradient(900px 400px at 90% 30%, rgba(255,255,255,.07), transparent 50%);
}

.rcb-msg{
  margin: 8px 0;
  display: flex;
}
.rcb-user{ justify-content: flex-end; }
.rcb-assistant{ justify-content: flex-start; }

.rcb-bubble{
  max-width: 84%;
  color: var(--rcb-text);
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.rcb-user .rcb-bubble{
  background: var(--rcb-user);
  border: 1px solid rgba(255,255,255,.08);
}

.rcb-assistant .rcb-bubble{
  background: var(--rcb-assistant);
  border: 1px solid rgba(0,204,102,.20);
}

.rcb-hint{
  padding: 8px 14px;
  color: var(--rcb-muted);
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.rcb-footer{
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: 10px;
  background: rgba(0,0,0,.12);
}

.rcb-input{
  flex: 1;
  resize: none;
  height: 44px;
  max-height: 110px;
  border-radius: 12px;
  padding: 10px 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: var(--rcb-text);
  outline: none;
}

.rcb-send{
  width: 84px;
  border: none;
  border-radius: 12px;
  background: var(--brand);
  color: #062014;
  font-weight: 700;
  cursor: pointer;
}
.rcb-send:disabled{
  opacity: .6;
  cursor: not-allowed;
}
.rcb-actions{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rcb-action-btn{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: var(--rcb-text);
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
}

.rcb-action-btn:hover{
  border-color: rgba(0,204,102,.35);
}
