#dara-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
}

#dara-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  background: #fff;
}

#dara-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#dara-window {
  position: absolute;
  bottom: 78px;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 420px;
  max-height: 70vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#dara-window.dara-hidden {
  display: none;
}

#dara-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #2b2f38;
  color: #fff;
}

#dara-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

#dara-header span {
  flex: 1;
  font-weight: 600;
}

#dara-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

#dara-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dara-msg {
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.4;
}

.dara-msg-bot {
  background: #f1f1f4;
  align-self: flex-start;
}

.dara-msg-user {
  background: #2b2f38;
  color: #fff;
  align-self: flex-end;
}

#dara-form {
  display: flex;
  border-top: 1px solid #eee;
}

#dara-input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

#dara-form button {
  border: none;
  background: #2b2f38;
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
}
