#zudlux-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'IRANSans', Tahoma, sans-serif; /* اگه فونت فارسی داری */
}

#zudlux-chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0073aa;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

#zudlux-chat-toggle:hover {
    transform: scale(1.1);
}

#zudlux-chat-panel {
    width: 360px;
    height: 520px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#zudlux-chat-header {
    background: #0073aa;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#zudlux-chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

#zudlux-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    line-height: 1.5;
    word-wrap: break-word;
    font-size: 14px;
}

.user-message {
    align-self: flex-end;
    background: #dcf8c6;
}

.bot-message {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e0e0e0;
}

#zudlux-chat-input-area {
    display: flex;
    border-top: 1px solid #eee;
    padding: 10px;
    background: #fff;
}

#zudlux-chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
    font-size: 14px;
}

#zudlux-chat-send {
    margin-right: 8px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    cursor: pointer;
    font-weight: bold;
}
