#ae-chatbot { position: relative; z-index: 9999; }

#ae-chatbot .aecb-tip {
  position: fixed;
  right: 20px;
  bottom: 86px;
  background: rgba(255,255,255,0.95);
  color: #0F172A;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.08);
}
#ae-chatbot .aecb-tip.hidden { display: none; }

#ae-chatbot .aecb-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10001; 
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #F15A29, #ff6b35);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25), 0 0 0 0 rgba(241,90,41,.4);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  animation: aecb-launcher-pulse 3s infinite ease-in-out;
  backdrop-filter: blur(10px);
}
#ae-chatbot .aecb-launcher:hover {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.30), 0 0 0 10px rgba(241,90,41,.1);
}

#ae-chatbot .aecb-launcher.is-open { transform: rotate(45deg); }
#ae-chatbot .aecb-launcher.is-open:hover { transform: rotate(45deg) scale(1.08) translateY(-1px); }

@keyframes aecb-launcher-pulse {
  0%, 100% {
    box-shadow: 0 10px 25px rgba(0,0,0,0.25), 0 0 0 0 rgba(241,90,41,.4);
  }
  50% {
    box-shadow: 0 20px 50px rgba(0,0,0,0.30), 0 0 0 18px rgba(241,90,41,0);
  }
}

/* No gating: button always clickable */

#ae-chatbot .aecb-panel {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 10000; 
  width: 340px;
  max-width: calc(100vw - 40px);
  height: 520px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 35px 80px -15px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: opacity .25s ease, transform .25s ease;
  opacity: 1;
  transform: translateY(0);
}

#ae-chatbot .aecb-panel.is-hidden { display: none; }

#ae-chatbot .aecb-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

#ae-chatbot .aecb-tip { pointer-events: none; }

@media (max-width: 480px) {
  #ae-chatbot .aecb-panel {
    right: 12px;
    bottom: 76px;
    width: calc(100vw - 24px);
    height: 460px;
  }
  #ae-chatbot .aecb-launcher {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    border-radius: 26px;
  }
  #ae-chatbot .aecb-tip {
    right: 12px;
    bottom: 70px;
  }
}
