File size: 6,952 Bytes
805172a
429f513
805172a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429f513
805172a
 
 
 
 
 
429f513
805172a
429f513
805172a
 
 
 
 
429f513
805172a
429f513
 
805172a
 
 
 
 
429f513
805172a
429f513
 
805172a
 
 
 
 
 
429f513
805172a
 
 
 
 
 
429f513
805172a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429f513
805172a
 
429f513
805172a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429f513
 
 
 
 
805172a
 
429f513
 
805172a
 
 
429f513
 
 
805172a
 
 
 
429f513
805172a
 
 
429f513
 
805172a
 
 
 
 
 
 
 
 
429f513
805172a
 
 
 
 
 
 
429f513
805172a
 
 
429f513
805172a
 
 
 
 
 
 
 
 
429f513
805172a
 
 
 
 
 
 
429f513
805172a
429f513
805172a
 
 
 
 
 
 
 
 
 
 
 
 
 
429f513
805172a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429f513
805172a
429f513
805172a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0385601
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
[data-testid="stAppViewContainer"] {
    background-image: url('Image-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    font-size: 18px !important;
    height: 100%;
    overflow-y: auto;
}

[data-testid="stAppViewContainer"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 1;
}

/* Ensure content appears above the shadow */
[data-testid="stAppViewContainer"] > * {
    position: relative;
    z-index: 2;
}

/* Global text styles */
.stMarkdown, .stText, p, span, label, .stSelectbox, .stNumberInput {
    color: #D32F2F !important; /* Deep red */
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

/* Make headers extra bold and larger */
h1 {
    color: #B71C1C !important; /* Darker red for headers */
    font-family: 'Helvetica Neue', sans-serif;
    text-shadow: 1px 1px 1px rgba(210, 215, 211, 1);
    font-size: 2.5rem !important;
    font-weight: 800 !important;
}

h2 {
    color: #C62828 !important; /* Slightly lighter red */
    font-family: 'Helvetica Neue', sans-serif;
    text-shadow: 1px 1px 1px rgba(210, 215, 211, 1)
;
    font-size: 2rem !important;
    font-weight: 700 !important;
}

h3 {
    color: #D32F2F !important; /* Standard red */
    font-family: 'Helvetica Neue', sans-serif;
    text-shadow: 1px 1px 1px rgba(210, 215, 211, 1)
;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

/* Make subheaders and labels bold */
.stSubheader {
    color: #E53935 !important; /* Bright red */
    font-weight: 700 !important;
    font-size: 1.3rem !important;
}

/* Input labels */
.stTextInput label, .stNumberInput label, .stSelectbox label {
    color: #D32F2F !important; /* Deep red */
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

/* Input fields */
.stTextInput input, .stNumberInput input, .stSelectbox select {
    color: #C62828 !important; /* Slightly darker red */
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    font-size: 1.1rem !important;
    font-weight: 500 !important;
}

/* Sidebar content */
.sidebar-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 5px;
    color: #D32F2F !important; /* Deep red */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    overflow-y: auto;
    max-height: calc(100vh - 2rem);
}

.spices-image {
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Links */
a {
    color: #C62828 !important; /* Darker red for links */
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-shadow: 0 0 1px rgba(255,255,255,0.5);
}

/* Button text */
.stButton > button {
    background-color: #FBBC04; /* Yellow background  #FBBC04*/
    color: black !important;
    border: none;
    padding: 0.7rem 2.5rem;
    border-radius: 5px;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stButton > button:hover {
    background-color: #FEEFC3 ; /* Lighter yellow on hover #FEEFC3*/
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

/* Metrics container */
.metric-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 5px;
    margin: 0.5rem 0;
    border-left: 4px solid #B71C1C; /* Dark red border */
    color: #D32F2F !important; /* Deep red text */
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    overflow-y: auto;
    max-height: 80vh;
}

.metric-container p {
    color: #D32F2F !important; /* Deep red */
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    margin: 0.5rem 0;
}

/* Main content area */
.main-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    margin: 1rem;
    color: #D32F2F !important; /* Deep red */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    font-size: 1.1rem !important;
    overflow-y: auto;
    max-height: calc(100vh - 2rem);
}

/* Image captions */
.stImage caption {
    color: #C62828 !important; /* Darker red */
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-top: 0.5rem;
}

/* Alert messages */
.stAlert {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    color: #D32F2F !important; /* Deep red */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

/* Ensure all text inputs have consistent styling */
input[type="text"], input[type="number"], select {
    color: #C62828 !important; /* Slightly darker red */
    font-size: 1.1rem !important;
    font-weight: 500 !important;
}

/* Additional text color overrides */
[data-testid="stHeader"] {
    color: black !important;
}

.stTextInput input, .stNumberInput input, .stSelectbox select {
    color: black !important;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.stSubheader {
    color: black !important;
}

/* Make links more visible */
a {
    color: #2E7D32 !important;
    font-weight: 500;
    text-shadow: 0 0 1px rgba(255,255,255,0.5);
}

/* Ensure form labels are black */
.stTextInput label, .stNumberInput label, .stSelectbox label {
    color: black !important;
}

/* Ensure sidebar text is black */
.st-emotion-cache-1r6slb0.e1f1d6gn1 {
    color: black !important;
}

/* Make all text inputs have black text */
input[type="text"], input[type="number"], select {
    color: black !important;
}

/* Fix main content scrolling */
[data-testid="stMainContainer"] {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 2rem;
}

/* Ensure sidebar scrolls properly */
[data-testid="stSidebar"] {
    height: 100vh;
    overflow-y: auto;
}

/* Ensure generated plan content scrolls properly */
[data-testid="stMarkdownContainer"] {
    overflow-y: auto;
    max-height: calc(100vh - 4rem);
    padding-right: 1rem;
}

/* Fix table scrolling if present */
.stTable {
    overflow-x: auto;
    max-width: 100%;
}

/* Ensure proper spacing for scrollable content */
.element-container {
    margin-bottom: 1rem;
}

/* Make scrollbars more visible and styled */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(183, 28, 28, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(183, 28, 28, 0.7);
}