body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

.transcription-container, .translation-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.transcription-text, .translation-text {
    white-space: pre-wrap;
    line-height: 1;
}

.badge {
    font-size: 0.9rem;
    padding: 0.5em 0.75em;
}

#qrCodeContainer {
    padding: 20px;
    background: white;
    border-radius: 5px;
    display: inline-block;
}

.animate-pulse {
    animation: pulse 1.5s infinite;
}

/* Fullscreen styles */
.translation-text:fullscreen {
    padding: 20px;
    background: white;
    font-size: 1.5rem;
    line-height: 1.5;
}

/* Multi-translation card styles */
#multiTranslationContainer .card {
    height: 100%;
}

#multiTranslationContainer .translation-text {
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .transcription-container, .translation-container {
        max-height: 300px;
    }
}