
.assistant-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px; /* 50% do tamanho original */
    z-index: 9999;
    font-family: 'Segoe UI', Arial, sans-serif;
}


.dona-alice-assistant {
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100px !important;
    height: 150px !important;
    max-width: 100%;
    max-height: 100%;
}

.dona-alice-assistant:hover {
    transform: scale(1.05);
}

.message-bubble {
    position: absolute;
    bottom: 120%;
    right: 0;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 250px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.message-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.message-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.close-assistant {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-fade-out {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.message-fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

@keyframes blink {
    0%, 90%, 100% { 
        transform: scaleY(1) translateY(0);
    }
    95% { 
        transform: scaleY(0.1) translateY(0);
    }
}

@keyframes talking {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.wave-animation {
    animation: wave 2s ease-in-out;
}

.right-arm {
    transform-origin: 130px 140px;
    animation: wave 2s ease-in-out infinite;
}

.left-arm {
    transform-origin: 70px 140px;
    animation: wave 3s ease-in-out infinite;
}

.bengala, .bengala-curva {
    transform-origin: 30px 190px;
    animation: wave 3s ease-in-out infinite;
}

.dona-alice-assistant:hover .right-arm {
    animation: wave 1s ease-in-out infinite;
}

.dona-alice-assistant:hover .left-arm,
.dona-alice-assistant:hover .bengala,
.dona-alice-assistant:hover .bengala-curva {
    animation: wave 1.5s ease-in-out infinite;
}

.dona-alice-assistant .olho {
    transform-box: fill-box;
    transform-origin: center;
    animation: blink 4s infinite;
}

.dona-alice-assistant.talking {
    animation: talking 0.5s ease-in-out;
}

.show-message {
    opacity: 1;
    transform: translateY(0);
}
