/* Mroya Chat Widget Styles */
#chat-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 9998;
    transition: transform 0.2s;
}
#chat-bubble:hover {
    transform: scale(1.1);
}
#chat-widget {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    height: 500px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    flex-direction: column;
}
#chat-widget.open {
    display: flex;
}
#chat-header {
    background-color: #007bff;
    color: white;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: bold;
}
#chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.chat-message {
    padding: 8px 12px;
    border-radius: 18px;
    margin-bottom: 10px;
    max-width: 80%;
    line-height: 1.4;
    word-wrap: break-word;
}
.user-message {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
}
.bot-message {
    background-color: #f1f1f1;
    color: #333;
    align-self: flex-start;
}
.typing-indicator {
    align-self: flex-start;
    color: #999;
    font-style: italic;
}
#chat-input-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}
#chat-input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
}
#chat-submit {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
}