
/* 聊天列表项悬停效果 */
.chat-item:hover {
    background-color: #f5f5f5;
}

/* 激活的聊天项样式 */
.chat-item.active {
    background-color: #e9ecef;
}

/* 聊天容器滚动条样式 */
.chat-container::-webkit-scrollbar {
    width: 6px;
}

.chat-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.chat-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 输入框聚焦效果 */
#messageInput:focus {
    box-shadow: 0 0 0 2px rgba(72, 187, 120, 0.2);
}

/* 发送按钮悬停效果 */
#sendButton:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .flex.h-screen {
        flex-direction: column;
    }
    
    .w-1/3 {
        width: 100%;
        height: 40%;
    }
    
    .w-2/3 {
        width: 100%;
        height: 60%;
    }
    
    .chat-container {
        padding: 10px;
    }
}
