#sfaq-widget-root {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: system-ui, sans-serif;
}

/* Toggle button stays fixed */
.sfaq-toggle-btn {
  width: 44px;
  height: 44px;
  background: #2281b1;
  color: #fff;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Popup floats ABOVE the button */
.sfaq-card {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 360px;
  background: #E8EFF7;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  padding: 14px;
}

.hidden {
  display: none;
}

.sfaq-header {
  font-weight: 600;
}

/* Input */
.sfaq-input {
  display: flex;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.sfaq-input input {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
}

.sfaq-input button {
  width: 42px;
  border: none;
  background: transparent;
  color: #1e88c9;
  font-size: 18px;
  cursor: pointer;
}
.sfaq-body {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sfaq-msg {
  max-width: 85%;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* User message */
.sfaq-user {
  align-self: flex-end;
  background: #2281B1;
  color: #fff;
}

/* Bot answer */
.sfaq-bot {
  align-self: flex-start;
  background: #fff;
  color: #333;
}
