#DSChatLauncher{
  position: fixed;
  right: 90px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #00cc61;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(0,204,97,.35);
  z-index: 1001;
  cursor: pointer;
  transition: transform .2s ease;
}
#DSChatLauncher:hover{ transform: scale(1.06); }

#DSChatLauncher .ds-chat-dot{
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 9px;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

#DSChatPanel{
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 340px;
  max-width: calc(100vw - 40px);
  height: 500px;
  max-height: calc(100vh - 140px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
  z-index: 1002;
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-size: 14px;
}
#DSChatPanel.ds-open{ display: flex; }

#DSChatPanel .ds-chat-head{
  background: #00cc61;
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#DSChatPanel .ds-chat-head strong{ font-size: 15px; }
#DSChatPanel .ds-chat-head small{ opacity: .85; display: block; font-size: 11px; }
#DSChatPanel .ds-chat-head button{
  background: transparent; border: 0; color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}

#DSChatPanel .ds-chat-body{ flex: 1 1 auto; overflow-y: auto; padding: 14px; background: #f6f8fb; }

#DSChatForm .form-label{ font-size: 12px; margin-bottom: 3px; font-weight: 600; }
#DSChatForm .form-control{ font-size: 13px; margin-bottom: 9px; }
#DSChatForm .ds-chat-kvkk{ font-size: 11.5px; line-height: 1.4; margin-bottom: 10px; }

.ds-chat-row{ display: flex; margin-bottom: 9px; }
.ds-chat-row.out{ justify-content: flex-end; }
.ds-chat-bubble{
  max-width: 80%;
  padding: 8px 11px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e6eaf0;
  white-space: pre-wrap;
  word-break: break-word;
}
.ds-chat-row.out .ds-chat-bubble{ background: #00cc61; border-color: #00cc61; color: #fff; }
.ds-chat-bubble small{ display: block; font-size: 10px; opacity: .65; margin-top: 4px; }

.ds-chat-event{ text-align: center; font-size: 11.5px; color: #6b7785; margin: 10px 0; }
.ds-chat-empty{ text-align: center; font-size: 12.5px; color: #6b7785; padding: 10px; }

#DSChatComposer{ border-top: 1px solid #e6eaf0; padding: 9px; background: #fff; display: none; }
#DSChatComposer.ds-show{ display: block; }
#DSChatComposer .ds-chat-send{ display: flex; gap: 6px; }
#DSChatComposer textarea{ resize: none; font-size: 13px; }

#DSChatClosed{ display: none; padding: 10px; text-align: center; font-size: 12px; color: #6b7785; border-top: 1px solid #e6eaf0; background: #fff; }
#DSChatClosed.ds-show{ display: block; }
