/* Basic floating widget */
.stellar-chat-root {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2147483000; /* very high to beat builders */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

.stc-button {
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  cursor: pointer;
}

.stc-window {
  position: fixed;
  bottom: 90px;
  width: 320px;
  max-height: 60vh;
  right: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  display: none;
  overflow: hidden;
}

.stc-header {
  padding: 10px 12px;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stc-body {
  padding: 10px;
  height: 38vh;
  overflow: auto;
  background: #fafafa;
}

.stc-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #eee;
  background: #fff;
}

.stc-input input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.stc-msg {
  max-width: 70%;
  margin: 6px 0;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: pre-wrap;
}

.stc-user { background: #e0f7fa; margin-left: auto; }
.stc-agent { background: #f1f1f1; margin-right: auto; }

.stellar-chat-root{visibility:visible !important;}
