/*
 * CSS cho MC Ảo - PhanmemAK.com (Bản 2.0 Streaming)
 * (Nội dung giống hệt bản 1.0)
 */
#phanmemak-mc-ao-container {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f9f9f9;
    max-width: 400px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mc-ao-status-box {
    min-height: 4em;
    font-size: 16px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.5;
}

#mc-ao-talk-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background-color: #0073aa; /* Màu xanh WordPress */
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

#mc-ao-talk-btn:hover:not(:disabled) {
    background-color: #005a87;
    transform: scale(1.05);
}

#mc-ao-talk-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

#mc-ao-talk-btn svg {
    width: 32px;
    height: 32px;
}

/* Hiệu ứng khi đang nghe (Đỏ) */
#mc-ao-talk-btn.listening {
    background-color: #d63638;
    animation: pulse 1.5s infinite;
}

/* Hiệu ứng khi MC đang nói (Xanh dương) */
#mc-ao-talk-btn.speaking {
    background-color: #4CAF50; /* Xanh lá */
    animation: pulse-speaking 1.5s infinite;
}

/* Hiệu ứng khi đang xử lý (Xám) */
#mc-ao-talk-btn.thinking {
    background-color: #6c757d;
    animation: thinking-spin 1s linear infinite;
}

.mc-ao-footer {
    font-size: 11px;
    color: #888;
    margin-top: 20px;
    text-align: center;
}

/* Animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(214, 54, 56, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(214, 54, 56, 0); }
    100% { box-shadow: 0 0 0 0 rgba(214, 54, 56, 0); }
}

@keyframes pulse-speaking {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

@keyframes thinking-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}