#ezbiz-chat-root {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147482000;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#ezbiz-chat-root .ezbiz-chat-fab {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.35);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#ezbiz-chat-root .ezbiz-chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 118, 110, 0.42);
}

#ezbiz-chat-root .ezbiz-chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 120px));
  min-height: 380px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.26);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transform-origin: right bottom;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#ezbiz-chat-root .ezbiz-chat-panel.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#ezbiz-chat-root .ezbiz-chat-body {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

#ezbiz-chat-root .ezbiz-chat-status {
  display: none;
  flex: 0 0 auto;
  padding: 8px 12px;
  font-size: 12px;
  color: #475569;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
}

#ezbiz-chat-root .ezbiz-chat-processing-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(241, 245, 249, 0.30);
  color: #334155;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

#ezbiz-chat-root .ezbiz-chat-processing-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 768px) {
  #ezbiz-chat-root {
    right: 12px;
    bottom: 12px;
  }

  #ezbiz-chat-root .ezbiz-chat-panel {
    width: calc(100vw - 24px);
    min-height: 320px;
  }
}
