#dbSupportLauncher,
#dbSupportPanel,
#dbSupportPanel *{
  box-sizing:border-box;
}

#dbSupportLauncher{
  position:fixed;
  right:22px;
  bottom:22px;
  width:62px;
  height:62px;
  border-radius:50%;
  border:0;
  background:linear-gradient(135deg,#172033,#34436a);
  color:#fff;
  box-shadow:0 12px 35px rgba(17,24,39,.28);
  cursor:pointer;
  z-index:99990;
  font-size:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s ease;
}

#dbSupportLauncher:hover{
  transform:translateY(-2px) scale(1.03);
}

#dbSupportLauncher .dbOnlineDot{
  position:absolute;
  width:13px;
  height:13px;
  border-radius:50%;
  background:#12b76a;
  border:2px solid #fff;
  right:3px;
  top:4px;
}

#dbSupportPanel{
  position:fixed;
  right:22px;
  bottom:96px;
  width:370px;
  height:560px;
  background:#fff;
  border:1px solid #e6eaf0;
  border-radius:20px;
  box-shadow:0 24px 70px rgba(15,23,42,.25);
  z-index:99999;
  overflow:hidden;
  display:none;
  flex-direction:column;
  font-family:Arial,Helvetica,sans-serif;
  color:#172033;
}

#dbSupportPanel.open{
  display:flex;
}

.dbSupportHead{
  padding:17px 18px;
  background:linear-gradient(135deg,#172033,#304064);
  color:#fff;
  display:flex;
  align-items:center;
  gap:11px;
}

.dbSupportAvatar{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#ffb6c9;
  color:#172033;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:18px;
}

.dbSupportHeadText{
  flex:1;
}

.dbSupportTitle{
  font-size:16px;
  font-weight:800;
}

.dbSupportStatus{
  margin-top:3px;
  font-size:12px;
  opacity:.9;
}

.dbSupportClose{
  border:0;
  background:transparent;
  color:#fff;
  font-size:25px;
  cursor:pointer;
  line-height:1;
}

.dbSupportMessages{
  flex:1;
  overflow-y:auto;
  padding:16px;
  background:#f7f8fb;
}

.dbMessage{
  display:flex;
  margin-bottom:12px;
}

.dbMessage.bot{
  justify-content:flex-start;
}

.dbMessage.user{
  justify-content:flex-end;
}

.dbBubble{
  max-width:82%;
  padding:10px 12px;
  border-radius:14px;
  font-size:13px;
  line-height:1.5;
  white-space:pre-wrap;
}

.dbMessage.bot .dbBubble{
  background:#fff;
  border:1px solid #e5e7eb;
  border-top-left-radius:5px;
}

.dbMessage.user .dbBubble{
  background:#172033;
  color:#fff;
  border-top-right-radius:5px;
}

.dbQuickReplies{
  padding:10px 14px 4px;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  background:#fff;
  border-top:1px solid #eef0f4;
}

.dbQuickBtn{
  border:1px solid #d8dee8;
  background:#fff;
  color:#344054;
  border-radius:18px;
  padding:7px 10px;
  font-size:12px;
  cursor:pointer;
}

.dbQuickBtn:hover{
  border-color:#ff9fbc;
  background:#fff5f8;
}

.dbSupportInput{
  padding:12px;
  display:flex;
  gap:8px;
  background:#fff;
}

.dbSupportInput input{
  flex:1;
  border:1px solid #d0d5dd;
  border-radius:12px;
  padding:11px 12px;
  outline:none;
  font-size:13px;
}

.dbSupportInput input:focus{
  border-color:#98a2b3;
}

.dbSupportSend{
  border:0;
  border-radius:12px;
  background:#172033;
  color:#fff;
  padding:0 16px;
  font-weight:700;
  cursor:pointer;
}

.dbSupportFooter{
  text-align:center;
  font-size:10px;
  color:#98a2b3;
  padding:0 10px 9px;
  background:#fff;
}

@media(max-width:600px){
  #dbSupportLauncher{
    right:15px;
    bottom:17px;
  }

  #dbSupportPanel{
    left:10px;
    right:10px;
    bottom:88px;
    width:auto;
    height:min(72vh,600px);
    border-radius:18px;
  }
}
