File size: 4,865 Bytes
37193e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
:root {
    --primary: #5A54F9;
    --primary-dark: #4D47D1;
    --secondary: #8B84FF;
    --text: #111827;
    --light: #F9FAFB;
}

.gradio-container {
    background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%) !important;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    max-width: 800px !important;
    margin: 20px auto !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px -5px rgba(90, 84, 249, 0.1) !important;
}

.dark .gradio-container {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%) !important;
    --text: #F9FAFB;
    --light: #1F2937;
}

.gr-block {
    border: none !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
    transition: all 0.3s ease !important;
}

.dark .gr-block {
    background: rgba(30, 41, 59, 0.8) !important;
    backdrop-filter: blur(10px) !important;
}

.gr-block:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.gr-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px -1px rgba(90, 84, 249, 0.3) !important;
}

.gr-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(90, 84, 249, 0.4) !important;
}

.gr-button:active {
    transform: scale(0.98) !important;
}

.gr-textbox, .gr-number, .gr-slider, .gr-dropdown {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    background: var(--light) !important;
    transition: all 0.3s ease !important;
}

.gr-textbox:focus, .gr-number:focus, .gr-dropdown:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(90, 84, 249, 0.2) !important;
    outline: none !important;
}

h1, h2, h3, h4 {
    color: var(--text) !important;
    font-weight: 600 !important;
    margin-top: 0 !important;
}

.gr-markdown {
    color: var(--text) !important;
    line-height: 1.6 !important;
}

.progress-bar {
    height: 6px !important;
    border-radius: 3px !important;
    background: linear-gradient(90deg, var(--primary), #93c5fd) !important;
}

.tabs {
    background: transparent !important;
}

.tab-button {
    border-radius: 8px 8px 0 0 !important;
    margin-right: 4px !important;
    transition: all 0.3s ease !important;
}

.tab-button.selected {
    background: white !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.dark .tab-button.selected {
    background: rgba(30, 41, 59, 0.8) !important;
}

.gr-checkbox {
    margin: 12px 0 !important;
}

.gr-checkbox label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    position: relative !important;
    padding-left: 35px !important;
    min-height: 25px !important;
}

.gr-checkbox input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 0 !important;
    width: 0 !important;
}

.checkmark {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 24px !important;
    width: 24px !important;
    background-color: var(--light) !important;
    border: 2px solid var(--primary) !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.gr-checkbox:hover .checkmark {
    transform: scale(1.05) !important;
    box-shadow: 0 0 0 3px rgba(90, 84, 249, 0.1) !important;
}

.gr-checkbox input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    border-color: var(--primary-dark) !important;
}

.checkmark:after {
    content: "" !important;
    position: absolute !important;
    display: none !important;
}

.gr-checkbox input:checked ~ .checkmark:after {
    display: block !important;
}

.gr-checkbox .checkmark:after {
    left: 8px !important;
    top: 4px !important;
    width: 6px !important;
    height: 12px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.dark .gr-checkbox .checkmark {
    background-color: rgba(30, 41, 59, 0.5) !important;
    border-color: #93c5fd !important;
}

.dark .gr-checkbox input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--primary) 0%, #1e8a50 100%) !important;
}