/* public/css/style.css */
#app {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}
/* 在 style.css 中添加以下样式 */
#greeting-message {
    margin: 20px 0;
    padding: 15px;
    background-color: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    text-align: left;
    /* max-width: 600px; */
    margin-left: auto;
    margin-right: auto;
}
#vad-status {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-weight: bold;
}

#current-status {
    background-color: #e8f4fd;
    padding: 8px;
    border-radius: 4px;
    margin: 10px 0;
}

#controls {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* 在 style.css 中添加播放状态样式 */
button.playing {
    background-color: #ff9800 !important;
    /* 橙色表示正在播放 */
    color: white;
}

button.playing:hover {
    background-color: #f57c00 !important;
    /* 悬停时更深的橙色 */
}
#play-audio {
    background-color: #4CAF50;
    color: white;
}

#start-btn {
    background-color: #2196F3;
    color: white;
}

#stop-btn {
    background-color: #f44336;
    color: white;
}

#conversation-log {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    height: 300px;
    overflow-y: auto;
    margin: 20px 0;
    background-color: #fafafa;
}

/* 优化对话记录条目的样式 - 紧凑扁长型 */
.conversation-entry {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 12px;
    margin-bottom: 8px;
    background-color: white;
    border-radius: 4px;
    border-left: 3px solid #2196F3;
    font-size: 14px;
    line-height: 1.4;
}

.conversation-entry p {
    margin: 4px 0;
    word-break: break-word;
}

.conversation-entry .recognition-text {
    font-weight: 500;
    color: #333;
}

.conversation-entry .detection-result {
    color: #2e7d32;
    font-size: 13px;
}

.conversation-entry .intent-result {
    color: #1976d2;
    font-size: 13px;
}

#debug-info {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
    max-height: 200px;
    overflow-y: auto;
}