#zsiq_float,
.zsiq_floatmain,
.zsiq_theme1,
div[id*="zsiq"],
iframe[src*="salesiq.zoho"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cfx-chat-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1E88E5;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 8px 20px rgba(30, 136, 229, 0.28);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.cfx-chat-toggle:hover {
  background: #1565C0;
  transform: scale(1.04);
}

.cfx-chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 320px;
  max-width: calc(100vw - 24px);
  height: 465px;
  max-height: calc(90vh - 95px);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(15, 43, 80, 0.2);
  z-index: 99999;
  display: none;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, sans-serif;
  border: 1px solid #E3F0FF;
}

.cfx-chat-widget.active {
  display: flex;
  animation: cfxSlideUp 0.2s ease;
}

@keyframes cfxSlideUp {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cfx-header {
  background: #fff;
  border-bottom: 1px solid #EFF4FC;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.cfx-close,
.cfx-reset {
  background: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #5E7A9E;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cfx-close:hover,
.cfx-reset:hover {
  background: #F0F6FE;
  color: #1E88E5;
}

.cfx-logo {
  width: 27px;
  height: 27px;
  background: #E9F0FE;
  border-radius: 50%;
  object-fit: contain;
  padding: 4px;
}

.cfx-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: #1A3A5C;
  flex: 1;
}

.cfx-chat-body {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
  background: #FCFDFF;
  scroll-behavior: smooth;
}

.cfx-ai-badge {
  font-size: 9px;
  font-weight: 600;
  color: #1E88E5;
  background: #E9F2FC;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 30px;
  margin-bottom: 10px;
}

.cfx-message {
  max-width: 88%;
  padding: 7px 10px;
  border-radius: 15px;
  margin-bottom: 8px;
  font-size: 0.76rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.cfx-bot {
  background: #F0F7FF;
  color: #1A2C44;
  border-bottom-left-radius: 5px;
}

.cfx-user {
  background: #1E88E5;
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 5px;
}

.cfx-time {
  font-size: 0.55rem;
  opacity: 0.7;
  margin-top: -2px;
  text-align: right;
  display: block;
}

.cfx-bot a {
  color: #1E88E5;
  text-decoration: underline;
  font-weight: 500;
}

.cfx-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px 0;
}

.cfx-quick-replies button {
  background: #fff;
  border: 1px solid #CFE1F5;
  border-radius: 30px;
  padding: 5px 10px;
  font-size: 0.66rem;
  font-weight: 500;
  color: #1E5A9E;
  cursor: pointer;
}

.cfx-quick-replies button:hover {
  background: #F0F7FF;
}

.cfx-typing {
  background: #F0F7FF;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 18px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: #1E88E5;
  font-weight: 500;
}

.cfx-typing .dot {
  width: 5px;
  height: 5px;
  background: #1E88E5;
  border-radius: 50%;
  animation: cfxBounce 1.2s infinite ease-in-out;
}

.cfx-typing .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.cfx-typing .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes cfxBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.cfx-input-area {
  border-top: 1px solid #EDF4FC;
  background: #fff;
  padding: 7px 10px;
}

.cfx-input-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #F8FBFE;
  border-radius: 40px;
  padding: 3px 3px 3px 12px;
  border: 1px solid #E2EDFC;
}

.cfx-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.76rem;
  padding: 7px 0;
}

.cfx-send {
  background: #1E88E5;
  border: none;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.cfx-powered {
  border-top: 1px solid #F0F7FF;
  text-align: center;
  font-size: 0.52rem;
  padding: 6px;
  color: #7C93B0;
  background: #fff;
}

.cfx-lead-form {
  background: #fff;
  border: 1px solid #d8e8fb;
  border-radius: 14px;
  padding: 10px;
  margin: 8px 0 12px 0;
  max-width: 92%;
  box-shadow: 0 8px 18px rgba(30, 136, 229, 0.08);
}

.cfx-lead-form-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 7px;
}

.cfx-lead-form input {
  width: 100%;
  border: 1px solid #dbeafe;
  border-radius: 9px;
  padding: 7px 9px;
  font-size: 0.72rem;
  margin-bottom: 7px;
  outline: none;
  box-sizing: border-box;
}

.cfx-lead-form input:focus {
  border-color: #1E88E5;
}

.cfx-lead-form button {
  width: 100%;
  border: none;
  background: #1E88E5;
  color: #fff;
  border-radius: 9px;
  padding: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.cfx-lead-error {
  color: #d93025;
  font-size: 0.65rem;
  margin-bottom: 7px;
  display: none;
}

@media (max-width: 480px) {
  .cfx-chat-widget {
    right: 10px;
    bottom: 68px;
    width: calc(100vw - 20px);
    height: 455px;
  }

  .cfx-chat-toggle {
    right: 12px;
    bottom: 12px;
    width: 43px;
    height: 43px;
  }
}