/**
 * AI语音互动组件样式（阿里项目同款外观）
 */

.ai-voice-chat {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 智能体形象区域 */
.agent-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.agent-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-md);
    background: var(--bg-primary);
}

.agent-name {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.agent-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background var(--transition-fast);
}

.status-dot.online {
    background: var(--success-color);
    animation: pulse 2s infinite;
}

.status-dot.connecting {
    background: var(--warning-color);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 控制按钮区 */
.control-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

/* 配置区域 */
.config-section {
    padding: var(--spacing-md);
}

.config-section .btn {
    width: 100%;
}

/* 响应式 */
@media (max-width: 480px) {
    .agent-avatar {
        width: 80px;
        height: 80px;
    }

    .agent-avatar-section {
        padding: var(--spacing-md);
    }
}
