.voice-ui {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 10px;
    display: none;
    z-index: 9999;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.voice-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.voice-animation {
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .voice-ui {
        bottom: 15px;
        right: 15px;
        padding: 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .voice-ui {
        bottom: 10px;
        right: 10px;
        padding: 10px;
        font-size: 0.85rem;
        flex-direction: column;
    }

    .voice-container {
        flex-direction: column;
        gap: 8px;
    }
}
