#zhipu-chatbot-container {
    transition: all 0.3s ease;
}

#zhipu-chatbot-container:hover {
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
}

#zhipu-chatbot-messages {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

#zhipu-chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

#zhipu-chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#zhipu-chatbot-messages::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.zhipu-message {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#zhipu-chatbot-text {
    transition: border-color 0.3s ease;
}

#zhipu-chatbot-text:focus {
    border-color: #4a90e2;
    outline: none;
}

#zhipu-chatbot-send:hover {
    opacity: 0.9;
}

/* 暗色主题 */
#zhipu-chatbot[data-theme="dark"] #zhipu-chatbot-messages::-webkit-scrollbar-track {
    background: #333;
}

#zhipu-chatbot[data-theme="dark"] #zhipu-chatbot-messages::-webkit-scrollbar-thumb {
    background: #666;
}
