/* Voice Search Popup Styles */
.voice-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 26, 53, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.voice-search-overlay.active {
    display: flex;
}

.voice-search-container {
    text-align: center;
    color: #fff;
    max-width: 400px;
    width: 100%;
    padding: 20px;
}

.voice-mic-circle {
    width: 100px;
    height: 100px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    position: relative;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

.voice-mic-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #e74c3c;
    animation: pulse 1.5s infinite;
}

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

.voice-status {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.voice-subtext {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.voice-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
}

.voice-bar {
    width: 4px;
    background: #fff;
    border-radius: 2px;
    animation: barPulse 1s infinite ease-in-out;
}

@keyframes barPulse {
    0%, 100% { height: 5px; }
    50% { height: 25px; }
}

.voice-bar:nth-child(2) { animation-delay: 0.1s; }
.voice-bar:nth-child(3) { animation-delay: 0.2s; }
.voice-bar:nth-child(4) { animation-delay: 0.3s; }
.voice-bar:nth-child(5) { animation-delay: 0.4s; }

.voice-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.voice-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}
