/* Voice Demo Styles */

/* ─── Foggy Orb ──────────────────────────────────── */

.foggy-orb-wrap {
    position: relative;
    width: 250px !important;
    height: 250px !important;
    min-width: 250px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    overflow: hidden;
    border-radius: 50%;
    flex-shrink: 0;
}

.foggy-orb-wrap:hover {
    transform: scale(1.05);
}

.foggy-orb-wrap canvas {
    width: 250px !important;
    height: 250px !important;
    border-radius: 50%;
    display: block;
    background: transparent;
    border: none;
    outline: none;
}

/* Pre-start state */
.voice-demo-pre-start {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Mic start button (from research bot) */
.btn-start {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    background: white;
    color: rgb(20, 20, 20);
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-start:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-start:active {
    transform: scale(0.95);
}

.btn-start.btn-recording {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    animation: micPulse 1.5s ease-in-out infinite;
}

.btn-start.btn-recording svg path,
.btn-start.btn-recording svg line {
    stroke: white;
}

.btn-start.btn-speaking {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-start.btn-speaking svg path,
.btn-start.btn-speaking svg line {
    stroke: white;
}

@keyframes micPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

.voice-demo-status-text {
    font-size: 14px;
    color: var(--secondary-text);
    text-align: center;
}

.voice-demo-timer-inline {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-text);
    font-variant-numeric: tabular-nums;
}

.voice-demo-timer-inline.timer-warning {
    color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .foggy-orb-wrap {
        width: 200px !important;
        height: 200px !important;
        min-width: 200px;
        min-height: 200px;
    }

    .foggy-orb-wrap canvas {
        width: 200px !important;
        height: 200px !important;
    }
}
