#erp-chatbot-window {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease !important;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#erp-chatbot-window[style*="display: flex"] {
  animation: slideIn 0.3s ease;
}

#erp-chatbot-window iframe {
  display: block !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* Side Button Styles */
.binu-ai-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;

  width: 32px;
  overflow: hidden;

  background: linear-gradient(135deg,
      rgba(30, 106, 149, 0.4),
      rgba(34, 139, 160, 0.4));

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(34, 139, 160, 0.25);
  border-right: none;
  border-radius: 12px 0 0 12px;

  padding: 16px 0;
  color: #ffffff;
  font-family: "Segoe UI", Roboto, sans-serif;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  transition:
    width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s,
    transform 0.15s ease;
  box-shadow: -6px 0 20px rgba(30, 106, 149, 0.2);
}

.binu-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  pointer-events: none;
}

.binu-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 2px;
  white-space: pre-wrap;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.binu-ai-tab:hover {
  width: 40px;
  background: linear-gradient(135deg,
      rgba(30, 106, 149, 0.85),
      rgba(34, 139, 160, 0.85));
}

.binu-ai-tab:active {
  transform: translateY(-50%) scale(0.96);
}
