/* voice.css */
#voice-search-btn {
    position: fixed;
    right: 20px;
    /* bottom inline style será puesto por el PHP (bottom: XXpx) */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    outline: none;
    color: #fff;
    font-size: 26px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 999999;
    opacity: 0.8;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#voice-search-btn:focus {
    outline: none;
}

#voice-search-btn.listening {
    animation: pulse 1s infinite;
    opacity: 1;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

#voice-search-instructions {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: rgba(0,0,0,0.88);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1000000;
    display: none;
    max-width: 280px;
    line-height: 1.3;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

