/* Chatbot Icon */

#chatbot-icon {
    position: fixed;
    bottom: 105px !important;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #8CC640;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#chatbot-icon:hover {
    transform: scale(1.1);
}

#chatbot-icon::before {
/*     content: "💬"; */
	content: "🤖";

}


#chatbot-messages .user-message strong {
    color: black;
}
/* Chatbot Container */
#chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 400px;
    height: 600px;
    background: linear-gradient(to bottom, #ffffff, #f7f7f7);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slide-in 0.3s ease-out;
}

#chatbot-container.hidden {
    display: none;
}

/* Chatbot Header */
#chatbot-header {
    background-color: #ffffff;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
/*     padding: 5px 5px; */
    font-weight: bold;
    font-size: 18px;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border: 1px solid #8CC640;
}
}

#chatbot-header img {
    height: 70px;
    margin-right: 10px;
		
}
img.logoo {
    height: 70px !important;
}

#chatbot-header span {
    display: flex;
    align-items: center;
}

#chatbot-close {
    background-color: #ffffff;
    border: none;
    color: #676767;
    font-size: 40px;
    cursor: pointer;
    border-radius:50%;
    text-align: center;
	line-height: 25px;
	margin-bottom: 41px;
    
    transition: background-color 0.3s ease;
}

#chatbot-close:hover {
    color: #8CC640;
}

/* Chatbot Messages */
#chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background: #e5e1e1;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #8CC640;
    border-right: 1px solid #8CC640;
    border-left: 1px solid #8CC640;
}

/* Input Area */
#chatbot-input-area {
    display: flex;
    padding: 15px;
    background-color: #f7f7f7;
    border-top: 1px solid #ddd;
}

#chatbot-input {
    flex: 1;
    padding: 10px;
    border: 2px solid #8CC640;
    border-radius: 25px;
    margin-right: 10px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

#chatbot-input:focus {
    border-color: #6ca02f;
    outline: none;
}

#chatbot-send {
    padding: 10px 20px;
    background-color: #8CC640;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#chatbot-send:hover {
    background-color: #6ca02f;
}

/* Chat Messages */
#chatbot-messages .message {
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
    padding: 10px;
    border-radius: 15px;
    max-width: 75%;
}

#chatbot-messages .user-message {
    background-color: #8CC640;
    color: white;
    align-self: flex-end;
    border-radius: 15px 15px 0 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#chatbot-messages .chatbot-message {
    background-color: #f0f0f0;
    color: #333;
    align-self: flex-start;
    border-radius: 15px 15px 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#chatbot-messages .error-message {
    background-color: #ffe6e6;
    color: #b00;
    align-self: center;
    font-style: italic;
}

/* Animation */
@keyframes slide-in {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}






/* Chat messages container */
#chatbot-messages {
    display: flex;
    flex-direction: column;
    padding: 10px;
    font-family: Arial, sans-serif;
}

/* User message styling (aligned to the right) */
.user-message {
    align-self: flex-end;
    background-color: #fdd;
    color: #b00;
    max-width: 60%;
    padding: 10px;
    border-radius: 15px 15px 0 15px;
    margin: 5px 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: right;
}

/* Chatbot message styling (full width) */
.chatbot-message {
    align-self: stretch;
    background-color: #f0f0f0;
    color: #000;
    padding: 10px;
    border-radius: 15px;
    margin: 5px 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add spacing between messages */
.message {
    margin: 10px 0;
}









#typing-indicator {
    display: flex;
    align-items: center;
    margin-top: 10px;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 15px 15px 15px 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

#typing-indicator .robot-icon {
    font-size: 24px;
    margin-right: 10px;
    animation: bounce 1.2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

#typing-indicator.hidden {
    display: none;
}
audio {
    width: 250px;
}
