#rapidchat-widget .rc-teaser-bubble {
  position: fixed;
  right: 28px;
  bottom: 96px;
  background: #ffffff;
  color: #1f2937;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--rc-border);
  z-index: 999997;
  max-width: 280px;
  cursor: pointer;
  animation: rc-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#rapidchat-widget .rc-teaser-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

#rapidchat-widget .rc-teaser-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

#rapidchat-widget .rc-teaser-close:hover {
  color: #374151;
}

#rapidchat-widget .rc-teaser-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

#rapidchat-widget .rc-teaser-avatar {
  font-size: 24px;
  line-height: 1;
}

#rapidchat-widget .rc-teaser-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
}

#rapidchat-widget .rc-teaser-msg {
  font-size: 12px;
  color: #4b5563;
  margin-top: 2px;
}

#rapidchat-widget .rc-faq-item {
  border: 1px solid var(--rc-border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--rc-bg-alt);
}

#rapidchat-widget .rc-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--rc-text);
  cursor: pointer;
}

#rapidchat-widget .rc-faq-a {
  padding: 10px 14px;
  font-size: 12.5px;
  color: #4b5563;
  line-height: 1.4;
  border-top: 1px solid var(--rc-border);
  background: #ffffff;
}

#rapidchat-widget .rc-tab-help {
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

#rapidchat-widget .rc-help-search-box {
  padding: 14px 16px 10px;
  flex-shrink: 0;
  background: var(--rc-bg);
}

#rapidchat-widget #rc-help-search-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--rc-text);
  background: var(--rc-bg-alt);
  border: 1px solid var(--rc-border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#rapidchat-widget #rc-help-search-input::placeholder {
  color: var(--rc-text-muted);
}

#rapidchat-widget #rc-help-search-input:focus {
  background: var(--rc-bg);
  border-color: var(--rc-primary-light);
  box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
}

#rapidchat-widget .rc-help-articles-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#rapidchat-widget .rc-help-empty {
  margin: auto;
  padding: 32px 16px;
  text-align: center;
  color: var(--rc-text-muted);
  font-size: 13px;
}

@media (max-width: 600px) {
	#rapidchat-widget .rc-teaser-bubble {
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

#rapidchat-widget.rc-position-left .rc-teaser-bubble {
  left: 28px;
  right: auto;
}

#rapidchat-widget .rc-team-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--rc-border);
  background: var(--rc-bg);
  color: var(--rc-text);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}

#rapidchat-widget .rc-team-select:focus {
  border-color: var(--rc-primary);
}

#rapidchat-widget .rc-help-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

#rapidchat-widget .rc-search-icon {
  position: absolute;
  left: 28px;
  font-size: 14px;
  color: #9ca3af;
  pointer-events: none;
}

#rapidchat-widget .rc-help-search-box #rc-help-search-input {
  padding-left: 38px;
}
