/* Atina Voice Mode HUD & Reactive Visualizer CSS */

.atina-voice-hud-wrapper {
    width: 100%;
    padding: 6px 14px 4px 14px;
    display: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.atina-mode-voice .atina-voice-hud-wrapper {
    display: block;
}

.atina-voice-stream-card {
    width: 100%;
    height: 130px;
    background: linear-gradient(180deg, #090e18 0%, #060910 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

/* Header bar inside the card */
.atina-voice-hud-header {
    height: 28px;
    padding: 6px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.atina-voice-status-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.atina-voice-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.atina-voice-status-dot.speaking {
    background-color: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
    animation: atinaVoicePulse 1s infinite alternate;
}

.atina-voice-status-dot.paused {
    background-color: #f59e0b;
    box-shadow: 0 0 6px #f59e0b;
}

.atina-voice-status-text {
    font-size: 11px;
    color: #cbd5e1;
}

/* Circular Pause/Play button in top right */
.atina-voice-pause-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    line-height: 1;
    transition: all 0.2s ease;
    padding: 0;
}

.atina-voice-pause-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.08);
}

.atina-voice-pause-btn:active {
    transform: scale(0.95);
}

/* Canvas Display Area */
.atina-voice-canvas-container {
    flex: 1;
    position: relative;
    width: 100%;
    height: calc(100% - 28px);
    overflow: hidden;
}

.atina-voice-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Sub-elements or overlay indicators */
@keyframes atinaVoicePulse {
    0% {
        transform: scale(0.85);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.25);
        opacity: 1;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .atina-voice-stream-card {
        height: 115px;
    }
    .atina-voice-hud-wrapper {
        padding: 4px 10px 2px 10px;
    }
}
