/* Voice Call Simulator */

.voice-test-page {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}

.voice-sim-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px !important;
    overflow: hidden;
    border: 1px solid #1E293B;
    background: #0F172A !important;
}

.voice-sim-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border-bottom: 1px solid #334155;
}

.voice-sim-transcript {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    min-height: 350px;
    max-height: calc(100vh - 360px);
    background: #0F172A;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.voice-msg-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: voiceFadeIn 0.3s ease-out;
}

.voice-msg-right {
    justify-content: flex-end;
}

.voice-msg-left {
    justify-content: flex-start;
}

.voice-msg {
    padding: 10px 16px;
    border-radius: 16px;
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 0.9rem;
}

.voice-msg-user {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}

.voice-msg-assistant {
    background: #1E293B;
    color: #E2E8F0;
    border: 1px solid #334155;
    border-bottom-left-radius: 4px;
}

.voice-msg-timing {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.voice-sim-input {
    padding: 14px 16px;
    border-top: 1px solid #334155;
    background: #1E293B;
}

.voice-sim-textfield .mud-input-outlined .mud-input-outlined-border {
    border-radius: 12px !important;
    border-color: #475569 !important;
}

.voice-sim-textfield .mud-input {
    color: #E2E8F0 !important;
}

.voice-sim-textfield .mud-input-label {
    color: #64748B !important;
}

@keyframes voiceFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
