/* Container principal no canto do site */
.audio-sticky-wrapper {
    position: fixed;
    bottom: 30px; /* Alinhado na mesma altura do zap, mas do outro lado */
    left: 30px;   /* Mudamos de right para left */
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinha o conteúdo para a esquerda */
}

/* Balão de fala (Tooltip) */
.audio-tooltip {
    background: #fff;
    color: #333;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    position: relative;
    max-width: 200px;
    animation: bounceIn 0.8s ease;
}
.audio-tooltip .close-tooltip {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.tooltip-arrow {
    position: absolute;
    bottom: -8px;
    left: 20px; /* Mudamos de right para left */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

/* Bolha de status "RECADO" */
.audio-msg-bubble {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 8px 15px;
    border-radius: 30px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.audio-msg-bubble small { color: #00f2ff; font-size: 0.6rem; letter-spacing: 1px; }
.audio-msg-bubble strong { color: #fff; font-size: 0.75rem; font-family: 'Orbitron'; }

/* Botão Redondo de Play */
.audio-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary, #00f2ff);
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    transition: 0.3s;
}

.audio-main-btn:hover { transform: scale(1.1); }

/* Animação de pulso quando está a tocar */
.is-playing .audio-main-btn {
    animation: pulse-blue 1.5s infinite;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(20px) scale(0.8); }
    70% { transform: translateY(-5px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 242, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0); }
}