:host,:root {
    --tblr-primary: #837FF1 !important;
    --tblr-btn-hover-bg: #6662f1 !important;
    --tblr-btn-active-bg: #7874EF !important;
    --tblr-primary-rgb: 102, 98, 241 !important;
}

.effect_updown {
  animation: updown 2s ease-in-out infinite alternate;
}

@keyframes updown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(20px);
  }
}

.chatbot_message_bot {
    margin: 10px 0;
    text-align: left;
    color: black;
}

.chatbot_message_bot > span {
    background-color: #F1F1F1;
    border-radius: 5px;
    display: block;
    padding: 10px;
}

.chatbot_message_user {
  margin: 10px 0;
  text-align: right;
  color: white;
}

.chatbot_message_user > span {
    background-color: var(--tblr-primary);
    border-radius: 5px;
    display: block;
    padding: 10px;
}

.nav-item > .active {
    font-weight: bold !important;
    background: #F7F7F7 !important;
}


@media (min-width: 768px) {
    .cell-mr-2 {
        margin-right: 10px;
    }
}

#chat-container {
    scroll-behavior: smooth;
}

#chat-header {
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 25px 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 95px;
    width: 100%;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.3s ease;
}

.chat-bubbles {
  display:flex;
  flex-direction:column;
  gap:1rem
}
.chat-bubble {
  background:#eef3f6;
  border-radius:10px;
  padding:1rem;
  position:relative;
}
.chat-bubble-me {
  background-color: #e9f0f9;
  box-shadow:none
}
.chat-bubble-author {
  font-weight:600
}

.item-clickable {
  cursor: pointer;
}

.item-clickable:hover {
  background-color: #f1f1f1;
  opacity: 0.8;
}

.custom-tooltip .tooltip-inner {
    background-color: #837FF1 !important;
    color: #ffffff !important;
    border-radius: 4px;
    padding: 8px;
}

.driver-popover {
    background-color: var(--tblr-primary) !important;
    color: white !important;
}

.driver-popover-progress-text {
    color: white !important;
}

.is-invalid {
  border-color: #dc3545;
}

.publish {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 500px;
  background-color: #1e1e1e;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.publish-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.publish-icon {
  font-size: 18px;
}

.publish-message {
  font-size: 14px;
}

.publish-actions {
  display: flex;
  gap: 10px;
}

.publish-btn {
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.publish-reset-btn {
  background-color: transparent;
  color: #ccc;
}

.publish-reset-btn:hover {
  text-decoration: underline;
}

.publish-save-btn {
  background-color: #2ea44f;
  color: #fff;
}

.publish-save-btn:hover {
  background-color: #2c974b;
}

.voice-item {
    cursor: pointer !important;
}

.voice-item:hover {
    background-color: #f1f1f1 !important;
    opacity: 0.8 !important;
}

.voice-item.active {
    background-color: #f1f1f1 !important;
    opacity: 0.8 !important;
}

.chatbot_message_bot img {
    max-height: 300px;
}

.loading { background-color: #ccc; cursor: not-allowed; }