
/* Apply Manrope font to the entire body to ensure it applies to all elements */
body {
    font-family: 'Manrope', sans-serif;
}

#chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

#chat-icon img {
    width: 30px;
    height: 30px;
}

#chat-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: #ffffff00; /* Transparent background */
    border: 1px solid #fff0; /* Fully transparent border */
    padding: 10px;
    z-index: 1000;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: none; /* No shadow */
}

#chat-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #ffffff40; /* Semi-transparent white background */
    border-radius: 10px;
    color: #484848; /* Text color */
}

/* Custom scrollbar styles for WebKit browsers */
#chat-content::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

#chat-content::-webkit-scrollbar-track {
    background: transparent; /* Background of the scrollbar track */
    border-radius: 10px; /* Rounded corners for the track */
}

#chat-content::-webkit-scrollbar-thumb {
    background-color: #b7b7b79c; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
    border: 3px solid transparent; /* Optional: Adds padding inside the track */
    background-clip: padding-box; /* Ensures padding is inside the track */
}

/* Custom scrollbar styles for Firefox */
#chat-content {
    scrollbar-width: thin; /* Makes scrollbar thinner */
    scrollbar-color: #b7b7b79c transparent; /* Thumb color and track color */
}

#chat-content::-ms-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

#chat-content::-ms-scrollbar-track {
    background: transparent; /* Background of the scrollbar track */
    border-radius: 10px; /* Rounded corners for the track */
}

#chat-content::-ms-scrollbar-thumb {
    background-color: #b7b7b79c; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
    border: 3px solid transparent; /* Optional: Adds padding inside the track */
    background-clip: padding-box; /* Ensures padding is inside the track */
}

.chat-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.chat-message.bot {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 100%;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    background: white; /* Fully opaque background for better readability */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Subtle shadow for better visibility */
}

.chat-bubble.bot {
    background-color: #e1ffc7; /* Light green background for bot messages */
}

.chat-bubble.user {
    background-color: #c7e1ff; /* Light blue background for user messages */
}

#chat-input-container {
    display: flex;
    margin-top: 10px;
}

#chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-right: 10px;
    box-sizing: border-box;
    height: 40px; /* Adjusted height to match the button */
}

#chat-send {
    padding: 0 20px; /* Adjusted padding for height */
    border: none;
    border-radius: 10px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 40px; /* Match the height of the input field */
    font-weight: normal; /* Not bold */
    text-transform: capitalize; /* Capitalize first letter */
    font-size: 14px; /* Adjust font size if needed */
}

/* Ensure Manrope font is applied to the chat input and send button */
#chat-input, #chat-send {
    font-family: 'Manrope', sans-serif;
}
