#mammouth-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#mammouth-chat-bubble {
    width: 60px;
    height: 60px;
    background-color: #004886;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

#mammouth-chat-bubble:hover {
    transform: scale(1.05);
}

#mammouth-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eee;
}

.chat-header {
    background-color: #004886;
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header-actions button {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s, transform 0.1s;
}

.chat-header-actions button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-header-actions button.btn-chat-close {
    font-size: 20px;
    line-height: 1;
}

.chat-header-actions button.btn-chat-reset svg {
    display: block;
}

#mammouth-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f9f9f9;
}

.message {
    max-width: 85%;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    display: flex;
    gap: 10px;
}

.message.user {
    align-self: flex-end;
    background-color: #004886;
    color: white;
    padding: 10px 14px;
    border-radius: 12px 12px 0 12px;
}

.message.bot {
    align-self: flex-start;
}

.message.bot .avatar {
    width: 30px;
    height: 30px;
    background-color: #b45309;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
}

.message.bot .msg-content {
    background-color: #e9ecef;
    color: #333;
    padding: 10px 14px;
    border-radius: 12px 12px 12px 0;
}

.message.loading .msg-content {
    background-color: transparent;
    font-style: italic;
    color: #666;
    padding: 0 5px;
}

#mammouth-quick-replies {
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #f9f9f9;
}

#mammouth-quick-replies button {
    background: white;
    border: 1px solid #004886;
    color: #004886;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

#mammouth-quick-replies button:hover {
    background: #004886;
    color: white;
}

.chat-input-area {
    padding: 15px;
    display: flex;
    gap: 10px;
    background: white;
    border-top: 1px solid #eee;
}

.chat-input-area input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
}

.chat-input-area input:focus {
    border-color: #004886;
}

.chat-input-area button {
    background-color: #004886;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.chat-input-area button:hover {
    background-color: #003366;
}