/* Main application styles */
.content-area {
    max-height: 600px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
}

.content-area pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}

.diff-view {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
}

#unified-diff-content {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
}

/* Loading states */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* File upload styling */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Stats cards */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-title {
    color: #0d6efd;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-area {
        max-height: 400px;
        font-size: 12px;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        border-radius: 0.375rem !important;
        margin-bottom: 0.25rem;
    }
    
    .btn-group .btn:last-child {
        margin-bottom: 0;
    }
}

/* Toast customization */
.toast {
    min-width: 300px;
}

.toast.bg-success .toast-header,
.toast.bg-danger .toast-header {
    background-color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.toast.bg-success .toast-header *,
.toast.bg-danger .toast-header * {
    color: white;
}

/* Metadata display */
#metadata-content {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
}