/* Chatbox Container with Lighter Glass Effect */
#chat-chippy-tea {
    max-width: 800px;
   /* margin: 20px auto;*/
    padding: 20px;
   /* background: rgba(255, 255, 255, 0.3); 
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);*/
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 /*   box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);*/
}

/* Chat Messages Container */
#chat-messages {
    max-height:400px;
    overflow-y: auto;
    padding: 0px 15px;
  /*   background: rgba(255, 255, 255, 0.4);*/
    border-radius: 8px;
    /* margin-bottom: 15px;*/
}

/* User Messages (Questions) - stick to the left */
.user-msg {
    background: #FED767;
    padding: 10px;
    margin: 8px;
    border-radius: 10px;
    max-width: 80%;
    display: block;
    color: #000000;
    margin-left: 0;
    margin-right: auto;
}

/* Bot Messages (Answers) - stick to the right */
.bot-msg {
    background: #f5f5f5;
    padding: 10px;
    margin: 8px;
    border-radius: 10px;
    max-width: 80%;
    display: block;
    color: #333;
    margin-left: auto; /* flush with right */
    margin-right: 0;
}

/* Input Box Styling */
#chat-input {
    width: calc(100% - 70px);
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #000;
    font-size: 16px;
}

/* Send Button Styling */
#chat-send {
    width: 60px;
    padding: 10px;
    background: #FED767;
    border: none;
    color: #000;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
}

/* Send Button Hover Effect */
#chat-send:hover {
    background: #DB3A3A; /* Slightly darker on hover */
    color: #fff;
}

/* Message Fade In Animation */
.user-msg, .bot-msg {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* For Chrome, Safari, and Edge */
#chat-messages::-webkit-scrollbar {
    width: 8px;
}

#chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

#chat-messages::-webkit-scrollbar-thumb {
    background-color: #DB3A3A;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* For Firefox */
#chat-messages {
    scrollbar-width: thin;
    scrollbar-color: #DB3A3A rgba(255, 255, 255, 0.4);
}

/* Standard */
#chat-input::placeholder {
    color: #fff; /* Change to your preferred color */
}

/* WebKit browsers (Chrome, Safari) */
#chat-input::-webkit-input-placeholder {
    color: #fff;
}

/* Internet Explorer 10-11 */
#chat-input:-ms-input-placeholder {
    color: #fff;
}

/* Microsoft Edge */
#chat-input::-ms-input-placeholder {
    color: #fff;
}
