
#bud-widget {
    position: fixed;
    bottom: 60px;
    right: 60px;
    z-index: 9999;
    font-family: Arial, sans-serif;
    text-align: center;
}

#bud-controls {
    position: absolute;
    top: -12px;
    right: -12px;
}

#bud-hide {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

#bud-avatar {
    width: 110px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%;
}

#bud-avatar.wave {
    animation: waveHand 2s infinite ease-in-out;
}

#bud-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0,255,100,0.5);
}

@keyframes waveHand {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(5deg); }
    40% { transform: rotate(-5deg); }
    60% { transform: rotate(4deg); }
    80% { transform: rotate(-4deg); }
    100% { transform: rotate(0deg); }
}

#bud-chat {
    width: 300px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 10px;
    padding: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    text-align: left;
}

#bud-header {
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
}

#bud-header-icon {
    width: 30px;
    height: auto;
    border-radius: 50%;
}

#bud-close {
    cursor: pointer;
    font-size: 16px;
    color: #888;
    margin-left: auto;
}

#bud-body {
    font-size: 14px;
}

#bud-input {
    width: 100%;
    padding: 6px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#bud-send {
    margin-top: 6px;
    width: 100%;
    padding: 6px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
