
/* Voice detection status */
.voice-status {
    transition: all 0.3s ease;
}

/* Animation for recording visualization */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}
#visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 100%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.visualizer-bar {
    width: 6px;
    height: 1px;
    background: #4f46e5;
    border-radius: 3px;
    transition: height 0.1s ease, background-color 0.1s ease;
}

[data-feather="mic"] {
    transition: transform 0.1s ease-out;
}
/* Audio player and API response styles */
.audio-player {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.api-response {
    font-size: 0.9rem;
    color: #1e40af;
    border-left: 3px solid #3b82f6;
}
.api-error {
    font-size: 0.9rem;
    color: #b91c1c;
    border-left: 3px solid #ef4444;
}

/* Chat styles */
.chat-container {
    border: 1px solid #e5e7eb;
}

#chatMessages {
    min-height: 200px;
    max-height: 300px;
    padding-right: 8px;
}

.chat-message {
    border-left: 3px solid #6366f1;
}

#chatInput:focus {
    border-color: #6366f1;
}
.audio-player:hover {
    background: #f1f5f9;
}

.audio-player audio {
    flex-grow: 1;
    margin-right: 12px;
}

.audio-player button {
    background: none;
    border: none;
    cursor: pointer;
    color: #ef4444;
    transition: color 0.2s;
}

.audio-player button:hover {
    color: #dc2626;
}