/* ── Mic Button — Zenith v3.0 ── */

.mic-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.mic-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.mic-btn.listening {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    animation: micPulsePremium 1.8s ease-in-out infinite;
}

.mic-btn.listening::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid #f59e0b;
    animation: micWave 1.8s linear infinite;
    opacity: 0;
}

@keyframes micPulsePremium {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0   rgba(245, 158, 11, 0.4); }
    50%  { transform: scale(1.05);  box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(245, 158, 11, 0); }
}

@keyframes micWave {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0;   }
}
