/*chatbox.css*/
/* General Chatbox Styles */

#loading-icon-chat {
            display: none; /* Hidden by default */
            font-size: 10px;
            color: #333;
			padding: 10px 10px;
			
        }
		
.waiting{
			color:#Ff0000 !important;
		}		
		
		
.chat-widget {
    position: fixed;
    bottom: 120px;
    right: 20px;
    width: 300px;
    font-family: Arial, sans-serif;
}

.chat-widget-header {
    background-color: #dc3545;
    color: #fff;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chat-widget-title {
    margin: 0;
}

.chat-widget-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.chat-widget-body {
    display: none; /* Hidden by default */
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chatbox {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    max-height: 300px;
}

.message {
    margin: 6px 0;
    padding: 6px 6px;
    border-radius: 5px;
    max-width: 95%;
}

.message.user {
    background-color: #dc3545;
    color: #fff;
    align-self: flex-end;
}

.message.assistant {
    background-color: #f1f1f1;
    align-self: flex-start;
}

.chat-widget-footer {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 10px;
}

.chat-widget-footer input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.chat-widget-footer button {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin-left: 5px;
    border-radius: 4px;
    cursor: pointer;
}

.chat-widget-button {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
