/* This CSS rule sets the default font size of the entire document */

html {

font-size: 14px;

}

/* These CSS rules set the text direction of the paragraph (RTL or LTR) */

p,

.bpw-from-bot > div,

#input-message {

direction: ltr;

}

/* This rule changes the color of the text in the input message */

#input-message {

color: #000000;

}

/* Changes the color of the new message indicator */

.bpw-new-messages-indicator {

background-color: #7b8dff;

color: #ffffff;

}

/* Styling for the chat header container */

.bpw-header-container {

margin: 25fpx;

background: #3b2aff; /* Darker shade */

border-radius: 20px;

position: relative;

overflow: hidden;

border: 1px solid #4a54e1; /* Slightly darker border */

color: #ffffff;

}

.bpw-header-name {

color: #ffffff;

}

/* Styling for the typing bubble */

.bpw-typing-bubble {

background: #7b8dff;

}

/* Styling for the chat bubble content */

.bpw-chat-bubble-content {

background-color: #eaeaea; /* Lighter background */

border-radius: 3px;

border: 1px transparent;

}

/* Styling for the date container, header name, and header subtitle */

.bpw-date-container,

.bpw-header-name,

.bpw-header-subtitle {

color: #ffffff; /* Consistent color */

}

/* Styling for the layout of the chat bubble. Width, height, border, position, and radius of the chat bubble */

.bpw-layout {

width: 430px !important;

height: 100vh; /* Increased height */

border-radius: 23px;

right: 1px;

bottom: 1px;

border: 13px;

}

/* Responsive design rules for devices with width less than or equal to 767px */

@media screen and (max-device-width: 767px) {

.bpw-layout {

width: 100% !important;

height: 100%;

right: 0;

bottom: 0;

border-radius: 0;

}

}

/* Changes the fill color of the header icons to white */

.bpw-header-icon,

.bpw-header-icon svg,

.bpw-header-icon svg path {

fill: #ffffff !important;

}

/* Changes the color of the placeholder text in the input message */

#input-message::placeholder {

color: rgba(0, 0, 0, .30);

}

.bpw-composer textarea {

outline: none !important;

border: 1px solid rgba(0, 0, 0, .15);

}

.bpw-composer textarea:focus {

outline: none !important;

border: 1px solid rgba(0, 0, 0, .30);

}

/* Styling for the keyboard single choice option */

.bpw-keyboard-single-choice {

background-color: #e6f0ff;

border: none;

}

/* Styling for the buttons in the chat interface */

.bpw-button,

.bpw-button-alt {

background-color: #cce1ff; /* Darker button background */

color: #000000;

border-radius: 30px;

border: none;

}

/* Styling for hover effect on the buttons in the chat interface */

.bpw-button:hover,

.bpw-button-alt:hover {

background-color: #99b3ff,; /* Subtle hover effect */

background: cce1ff;

}

/* Styling for hyperlinks in the chat interface */

a {

color: #5a6aff;

text-decoration: underline;

}

/* Styling for the chat container, including color, scrollbar width and color, and border */

.bpw-chat-container {

background: linear-gradient(

to bottom,

#5a6aff, /* Starting color */

#7b8dff, /* 1st Shade */

#99b3ff, /* 2nd Shade */

#b3d2ff, /* 3rd Shade */

#cce1ff, /* 4th Shade */

#e6f0ff /* Ending color */

);

scrollbar-width: thin;

scrollbar-color: #f5f5f5 #ffffff;

border: none;

}

/* Styling for the chat bubble content when it's from the bot */

.bpw-from-bot .bpw-chat-bubble .bpw-chat-bubble-content {

background-color: #f5f5f5;

color: #000000;

}

/* Styling for the chat bubble content when it's from the user */

.bpw-from-user .bpw-chat-bubble .bpw-chat-bubble-content {

background-color: #5a6aff; /* Darker user bubble */

color: #ffffff;

}

/* Styling for the composer section of the chat interface */

.bpw-composer {

background-color: #e6f0ff; /* Darker composer background */

border-top: none;

border-radius: 10px;

}

/* Styling for the scrollbar in the chat container */

.bpw-chat-container::-webkit-scrollbar,

.bpw-chat-container::-moz-scrollbar {

width: 10px;

background-color: #ffffff;

border: none;

}

.bpw-chat-container::-webkit-scrollbar-thumb,

.bpw-chat-container::-moz-scrollbar-thumb {

background-color: #ffffff;

border-radius: 1rem;

border: 0.5rem solid transparent;

}

/* Styling for the avatar of the bot */

.bpw-bot-avatar img,

.bpw-bot-avatar svg {

background: #000000;

border: 1px solid #ffffff;

}

/* Styling for the general scrollbar in the web page */

::-webkit-scrollbar {

width: 0.5rem;

}

::-webkit-scrollbar-track {

background-color: transparent;

}

/* Styling for the thumb of the general scrollbar */

::-webkit-scrollbar-thumb {

background-color: #ffffff;

border-radius: 1rem;

border: 0.5rem solid transparent;

}

/* Styling for the floating button icon in the chat interface */

.bpw-floating-button i svg path {

fill: #5a6aff; /* Darker floating button color */

background: #cce1ff; 

}

/* Styling for the 'powered by' section of the chat interface */

.bpw-powered {

text-align: center;

padding: 10px;

color: #000000;

background: #e0e0e0; /* Darker background */

font-size: 14px;

border-bottom-right-radius: 10px;

border-bottom-left-radius: 10px;

}

/* Styling for the hyperlinks in the 'powered by' section of the chat interface */

.bpw-powered a {

color: #3f3f3f;

text-decoration: underline;

}

.bpw-powered a:hover {

text-decoration: underline;

}

.bpw-send-button {

background: #99b3ff; /* Darker send button */

color: #ffffff; /* send text color */

}

/* Change Bot Widget Icon */

.bpw-widget-btn {

border-radius: 50%;

background: #5a6aff; /* Darker widget button */

}

.bpw-floating-button::before {

background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='white' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 01-2.555-.337A5.972 5.972 0 015.41 20.97a5.969 5.969 0 01-.474-.065 4.48 4.48 0 00.978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03 8.25 9 8.25s9-3.694 9-8.25z' /%3E%3C/svg%3E");

background-repeat: no-repeat;

background-position: center;

background-size: contain;

height: 40px !important; /* Increased height */

width: 40px !important; /* Increased width */

}

.bpw-floating-button {

box-shadow: none !important;

}

.bpw-floating-button:hover {

box-shadow: none !important;

}

/* Vertical Ticker Carousel Title and Subtitle */

.bpw-carousel-title {

font-size: 1.5rem;

hight: 1000px;

color: #000000; /* Changed to black */

list-style-type: disc; /* Use list format */

padding-left: 20px; /* Indent for list items */

}

.bpw-carousel-subtitle {

font-size: 1rem;

color: #000000; /* Updated to black */

hight: 1000px;

}

/* Carousel Image Styling */

.carousel-image {

height: 1000px; /* Adjust height as needed */

}

/* Carousel Container Styling */

.bpMessageBlocksCarouselContainer {

height: 1000px; /* Adjust height as needed */

}

/* Chat Bubble Content Styling for User */

.bpw-from-user .bpw-chat-bubble .bpw-chat-bubble-content {

background-color: #5a6aff; /* Darker user bubble */

color: #ffffff; /* Text color in user bubble */

}

/* Animation for Color Change */

.bpw-chat-container,

.bpw-composer,

.bpw-button {

transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transitions */

}

