#ai-assistant-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #3e86f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#ai-assistant-chat {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#ai-assistant-chat.hidden {
    display: none;
}


.chat-header {
    padding: 10px;
    background: #3e86f6;
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
}

.chat-body {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
}

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

.chat-input input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.chat-input button {
    padding: 5px 15px;
    background: #3e86f6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.user-message,
.ai-message {
    margin: 8px 0;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
}

.user-message {
    background: #e3f2fd;
    margin-left: auto;
}

.ai-message {
    background: #f5f5f5;
}

.loading-indicator {
    opacity: 0.6;
}

.error-message {
    color: #d32f2f;
    background: #ffebee;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
}