File size: 1,854 Bytes
59aaeae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3f83f08
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59aaeae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/* Minimal essential styling */

/* Processing status container */
.processing-status-container {
    margin: 10px 0;
    padding: 8px 12px;
    border-left: 3px solid #5c6bc0;
    font-size: 0.9rem;
}

/* Result card styling */
.previous-results-container {
    margin-bottom: 20px;
}

.result-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

.result-filename {
    font-weight: bold;
    font-size: 1.1rem;
}

.result-date {
    font-size: 0.9rem;
    color: #666;
}

.result-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.result-tag {
    background-color: #e3f2fd;
    border-radius: 16px;
    padding: 3px 10px;
    font-size: 0.85rem;
    color: #1565c0;
}

.selected-result-container {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    margin: 15px 0;
}

.selected-result-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Fix for image preprocessing preview */
.stExpander {
    overflow: hidden !important;
}

.stExpander img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Additional image fixes for all containers */
.document-content img,
.markdown-text-container img,
.page-text-content img,
.image-container img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Responsive design rules */
@media (max-width: 768px) {
    .stExpander img,
    .document-content img,
    .markdown-text-container img,
    .page-text-content img,
    .image-container img {
        max-width: 95% !important;
    }
}