
#cfp-chatbox {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-family: sans-serif;
  direction: rtl;
  text-align: right;
  z-index: 9999;
  display: none;
}

#cfp-header {
  background: #0073aa;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  border-radius: 12px 12px 0 0;
  text-align: center;
  position: relative;
}

#cfp-close-btn {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

#cfp-body {
  padding: 15px;
  font-size: 14px;
  color: #000;
  background-color: #fff;
}

#cfp-form input {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #000;
  background: #fff;
}

#cfp-form input::placeholder {
  direction: rtl;
  text-align: right;
  color: #666;
}

#cfp-form button {
  background: #0073aa;
  color: white;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#cfp-launcher {
  background-color: #cccccc;
  border-radius: 50%;
  padding: 10px;
  width: 60px;
  height: 60px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  animation: cfp-pulse-glow 2s infinite;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

#cfp-launcher:hover {
  transform: scale(1.05);
}

#cfp-launcher img {
  width: 30px;
  height: 30px;
}

#cfp-chatbox,
#cfp-chatbox * {
  font-family: inherit !important;
}

@keyframes cfp-pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

#cfp-launcher {
  animation: cfp-pulse-glow 2s infinite ease-out;
}
