.rdw-root {
  position: fixed;
  z-index: 2147483000;
  font-family: Manrope, "Segoe UI", sans-serif;
}

.rdw-root-bottom-right {
  right: 20px;
}

.rdw-root-bottom-left {
  left: 20px;
}

.rdw-panel {
  width: 340px;
  max-width: calc(100vw - 28px);
  height: 480px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0d0f11;
  color: #f5f7f8;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.rdw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.rdw-title {
  font-size: 14px;
}

.rdw-log {
  height: 352px;
  overflow-y: auto;
  padding: 10px;
  background: #0b0d0f;
}

.rdw-msg {
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.45;
}

.rdw-msg-user {
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.rdw-msg-bot {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.rdw-sources {
  margin-top: 6px;
  font-size: 11px;
}

.rdw-source-item {
  margin-top: 3px;
}

.rdw-link {
  color: #9cc8ff;
}

.rdw-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d0f11;
}

.rdw-input {
  flex: 1;
  min-width: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #14181b;
  color: #f5f7f8;
  padding: 8px;
  font-size: 13px;
}

.rdw-input::placeholder {
  color: #b4babf;
}

.rdw-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #f5f7f8;
  border-radius: 8px;
  cursor: pointer;
}

.rdw-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.rdw-btn-icon {
  width: 30px;
  height: 30px;
}

.rdw-btn-send {
  min-width: 64px;
  color: #111;
  border-color: rgba(0, 0, 0, 0.22);
  font-weight: 700;
}

.rdw-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  color: #111;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.rdw-iframe {
  width: 360px;
  max-width: calc(100vw - 28px);
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #101214;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.rdw-demo-note {
  margin-top: 0.8rem;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 0.7rem;
  padding: 0.65rem 0.8rem;
  color: #b9bdb9;
  background: rgba(255, 255, 255, 0.03);
  font: 500 0.9rem/1.4 Manrope, "Segoe UI", sans-serif;
}
