File size: 4,904 Bytes
e277318
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ec10d5f
 
e277318
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ec10d5f
 
e277318
 
 
 
 
 
 
 
 
 
 
 
ec10d5f
 
 
e277318
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
babeae9
 
 
 
 
 
 
 
 
 
 
 
13b7b7a
 
 
 
 
babeae9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
/* General Body and Container Styles for Compact Layout */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f4f7f9;
    color: #333;
    margin: 0;
    padding: 10px; /* Reduced padding for mobile */
}

.container {
    width: 100%;
    max-width: 700px; /* Reduced max-width for a more compact column */
    background-color: #fff;
    padding: 20px; /* Reduced padding */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
}

header {
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

header h1 {
    font-size: 1.8em;
    color: #0056b3;
    margin: 0;
}

h2 {
    font-size: 1.4em;
    color: #0056b3;
    margin-top: 25px;
    margin-bottom: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex; /* For aligning toggle icon */
    justify-content: space-between; /* For aligning toggle icon */
    align-items: center; /* For aligning toggle icon */
}

h2:first-of-type {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

/* Form Element Styles */
textarea, input[type="text"] {
    width: 100%;
    padding: 12px; /* Reduced padding */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    margin-bottom: 10px;
}

textarea#reportBody {
    height: 150px;
    resize: vertical;
}

button {
    display: inline-block;
    width: auto;
    padding: 10px 18px; /* Adjusted padding */
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
    background-color: #a0c3e6;
    cursor: not-allowed;
}

#uploadForm button {
    width: 100%;
    padding: 12px;
}

/* Container and Entry Styles */
.result-container, .history-container, .reports-container {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 5px 20px;
    min-height: 40px;
}

.history-entry, .report-entry {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.history-entry:last-child, .report-entry:last-child {
    border-bottom: none;
}

.report-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.report-entry h3 { margin: 0; font-size: 1.1em; color: #0056b3; }
.report-entry p { margin: 4px 0 0 0; font-size: 0.9em; }

#uploadStatus {
    margin-top: 10px;
    font-size: 0.9em;
}

footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.8em;
    color: #777;
}

/* Collapsible Section Styles */
.collapsible-header {
    cursor: pointer;
}
.toggle-icon {
    font-size: 1.2em;
    font-weight: bold;
    color: #007bff;
}
.reports-container.collapsed {
    display: none;
}

/* Modal Styles */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.5); }
.modal-content { background-color: #fefefe; margin: 15% auto; padding: 25px; border: 1px solid #888; width: 90%; max-width: 600px; border-radius: 10px; position: relative; }
.modal-close-button { color: #aaa; position: absolute; top: 10px; right: 20px; font-size: 28px; font-weight: bold; }
.modal-close-button:hover, .modal-close-button:focus { color: black; text-decoration: none; cursor: pointer; }
#modalTitle { margin-top: 0; padding-top: 0; border-top: none; }
.modal-body-container { background-color: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 5px; padding: 15px; max-height: 60vh; overflow-y: auto; white-space: pre-wrap; font-family: monospace; }
/* ... (all your existing CSS from the last step) ... */

/* NEW: Header content layout */
.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

/* NEW: Styles for the image logo icon */
.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: cover; /* Ensures the image scales nicely */
}

/* NEW: Footer layout and link styles */
footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left; /* Align text to the left */
}

.footer-links h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1em;
    color: #333;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
}

.footer-links a {
    text-decoration: none;
    color: #0056b3;
    font-size: 0.9em;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: right;
}