:root {
    --lite-blue: ##ff8f8;
}
#ai-assistant {
    position: fixed;
    bottom: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 99999999;
}

.ai-wrapper {
    background: black;
    height: 50px;
    width: 50px;
    color: white;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 32px;
    text-align: center;
    border-radius: 50%;
}
#ai-chat {
    border-radius: 16px;
    width: 350px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    font-family: "Open Sans", sans-serif;
    border-color: #244467;
}

#ai-close-chat {
    padding: 2px 5px 2px 5px;
    border-radius: 5px;
    /* display: none; */
}

#ai-close-chat:hover {
    background-color: var(--primary);
    cursor: pointer;
}

#ai-clear-chat {
    padding: 2px 5px 2px 5px;
    border-radius: 5px;
}

#ai-clear-chat:hover {
    background: #0d6efd;
}
.card-header-custom {
    border-radius: 15px 15px 0 0;
    background-color: black;
    font-size: 16px;
}
#ai-chat .card-body {
    background-color: #f8f8f8 !important;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
#ai-chat-wrapper {
    height: 300px;
    max-height: 300px;
    overflow: auto;
    font-size: 18px;
}

.avatar-img {
    width: 40px; 
    height: 100%;
}

.ai-message {
    border-radius: 7px;
    background-color: #fff;
    color: black;
    max-width: 80%;
    margin: 0 !important;
}

.user-message {
    border-radius: 7px;
    background-color: #081a2c;
    color: #fff;
    max-width: 80%;
}


#ai-send-button {
    background: #FFF;
    border-color: #FFF;
    font-size: 16px;
    color: white;
    width: 41px;
    padding: 0;
    text-align: center;
}


i.fa-solid.fa-paper-plane {
    color:#081a2c;
}

/* #ai-send-button:hover, #ai-send-button:active{
    background: #0a58ca;
    border-color: #0a58ca;
} */

#ai-user-message {
    border-color: #dee2e6;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 16px;
}

.card-body ::-webkit-scrollbar {
    width: 10px;
}

.card-body ::-webkit-scrollbar-thumb {
    background: #dadada; 
    border-radius: 10px;
}
.chatbot-button {
  position: fixed; /* or absolute depending on placement */
  bottom: 30px;
  right: 30px;
  width: 90px;
  height: 90px;
  z-index: 9999;
}

/* Outer pulsing ring */
.chatbot-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(207, 203, 210, 0.4);
  animation: pulse-ring 3s ease-in-out infinite;
  z-index: 1;
}

/* Chatbot core */
.chatbot-inner {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: #0a001c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: breathe 3s ease-in-out infinite;
  z-index: 2;
  transition: transform 0.3s ease;
}
#chatbot-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(36, 68, 103, 0);
}

#chatbot-button img {
  width: 60px;
}
.chatbot_info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.chatbot_info img {
    width: 40px;
}

.chat_actions {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-message p, .user-message p {
    font-size: 0.83rem !important;
    line-height: 1.45 !important;
}
div#ai-chat-wrapper > div {
    margin-bottom: 12px !important;
}
form#ai-chat-form > div {
    display: flex;
    background-color: #fff;
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
    border: 1px solid var(--primary);
}

form#ai-chat-form > div textarea {
    width: 100%;
    border: 0 !important;
    border-radius: 17px;
    display: flex;
    padding: 11px 4px;
    resize: none !important;
    height: unset !important;
    line-height: 1;
    overflow: hidden;
    font-size: 14.5px !important;
    max-height: 20px;
    box-shadow: none !important;
}

.ai-message p {
    color: #081a2c !important;
}

.chatbot_status {
    font-size: 15px;
}

.chatbot_name {
    display: block;
    font-weight: 700;
}

#ai-chat-wrapper::-webkit-scrollbar {
    display: block;
}

#ai-typing .ai-message{
    background-color: transparent !important;
    padding: 0px !important
}

.message-datetime{
    margin: 5px 24px 0px 11px;
    font-size: 11px;
    color: #9e9e9e;
}


@media (max-width: 768px) {
    /* #ai-assistant {
      display: none;
    }
    #ai-chat {
        display: none;
    } */
    #ai-close-chat {
        display: block;
    }
  }