#digibot-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 70px;
  background: #8a2be2;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
}
#digibot-widget {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 70px;
  width: 320px;
  background: rgba(255, 255, 255, 1);
  border-radius: 20px;
  overflow: visible;
  z-index: 9999;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
}
.digibot-header {
    display: flex;
    border-radius: 20px 20px 0px 0px;
    align-items: center;
    padding: 10px 12px;
    background: linear-gradient(to right, #a855f7, #ec4899);
    color: white;
}
.digibot-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}
.digibot-avatar img {
    width: 150px;
    height: 170px;
    border-radius: 50%;
    margin-right: 10px;
    position: absolute;
    bottom: 20px;
    left: -132px;
    z-index: 9999;
}

.digibot-message-box {
  max-height: 150px;
  overflow-y: auto;
  padding: 10px;
  background: transparent;
}
.digibot-left {
    font-size: 13px;
}
.digibot-right {
    font-size: 13px;
}

.chat-bubble {
  background: #fcd34d;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  line-height: 1.4;
}
.online-dot {
    display: inline-block;
    width: 10px;
    margin-right: 10px;
    height: 10px;
    background-color: #00c853;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 0 4px #00c853;
}
.offline-dot {
    display: inline-block;
    width: 10px;
    margin-right: 10px;
    height: 10px;
    background-color: #ff0000;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 0 4px #ffffff;
}

.chat-bubble.bot {
    background: linear-gradient(to bottom, #f9a8d4, #facc15);
    color: #000;
    font-size: 12px;
}
.chat-bubble.user {
  background: #a5b4fc;
  text-align: right;
}
.digibot-input {
    display: flex;
    border-top: 1px solid #ddd;
    background: #fff;
    border-radius: 0px 20px 20px;
}
#digibot-user-input {
    border: none;
    outline: none;
    background:#8a2be2!important;
    padding: 10px;
    font-size: 16px;
    border-radius: 0px 0px 0px 18px!important;
}
#digibot-send {
    padding: 10px 15px;
    background: #8a2be2;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 0px 0px 20px 0px;
}

#digibot-widget.after-hours {
  background-color: #1e1e1e;
  color: #ffffff;
}
#digibot-widget.after-hours input {
    background-color: #8a2be2;
    color: #ffffff;
    border: 1px solid #444;
}
#digibot-widget.after-hours .digibot-header {
    background: linear-gradient(to right, #140337, #750bb3);
    color: #fff;
}
#digibot-widget.after-hours .chat-bubble.bot {
    background: linear-gradient(to bottom, #230663, #8c0ed6);
    color: #fff;
}
#digibot-widget.after-hours .chat-bubble.user {
  background-color: #444;
  color: #fff;
}
#digibot-widget.after-hours #digibot-user-input::placeholder {
  color: #ccc; /* Brighter for dark background */
}