/* Smart Voice Finder — UI flottante moderne */
.svf-assistant {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Bouton micro circulaire */
.svf-mic-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #1a73e8;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    outline: none;
}

.svf-mic-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.4);
}

.svf-mic-btn:active {
    transform: scale(0.95);
}

.svf-mic-btn.recording {
    background: #d93025;
    animation: mic-pulse 2s infinite, mic-rotate 8s linear infinite;
}

@keyframes mic-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 48, 37, 0.7); }
    50% { box-shadow: 0 0 0 12px rgba(217, 48, 37, 0); }
}

@keyframes mic-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Bulle de réponse IA */
.svf-response-bubble {
    position: relative;
    max-width: 280px;
    background: white;
    color: #202124;
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-size: 15px;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.svf-response-bubble.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.svf-response-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 24px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    box-shadow: 4px 4px 8px rgba(0,0,0,0.1);
}

/* Mobile */
@media (max-width: 768px) {
    .svf-assistant {
        bottom: 16px;
        right: 16px;
    }
    .svf-mic-btn {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
    .svf-response-bubble {
        max-width: 240px;
    }
}