Zen-4011 commited on
Commit
4a322b7
·
verified ·
1 Parent(s): 444f670

Create static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +200 -0
static/style.css ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ body {
8
+ font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
9
+ background-color: #0b0f19;
10
+ color: #e0e0e0;
11
+ padding: 40px 20px;
12
+ min-height: 100vh;
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: center;
16
+ }
17
+
18
+ .container {
19
+ background: #1c1c2e;
20
+ padding: 30px;
21
+ border-radius: 20px;
22
+ box-shadow: 0px 0px 5px #2a7d74;
23
+ border: 1px solid #2a7d74;
24
+ max-width: 1000px;
25
+ width: 100%;
26
+ }
27
+
28
+ header {
29
+ text-align: center;
30
+ margin-bottom: 30px;
31
+ padding-bottom: 20px;
32
+ border-bottom: 1px solid #2e2e42;
33
+ }
34
+
35
+ header h1 { color: #ffffff; font-weight: 700; margin-bottom: 5px; }
36
+ header p { color: #9ca3af; }
37
+
38
+ .main-content {
39
+ display: grid;
40
+ grid-template-columns: 1.5fr 1fr;
41
+ gap: 40px;
42
+ }
43
+
44
+ .form-grid {
45
+ display: grid;
46
+ grid-template-columns: 1fr 1fr;
47
+ gap: 20px;
48
+ }
49
+
50
+ .input-group {
51
+ display: flex;
52
+ flex-direction: column;
53
+ gap: 8px;
54
+ }
55
+
56
+ .input-label {
57
+ font-size: 14px;
58
+ font-weight: 600;
59
+ color: #f0f1f3;
60
+ letter-spacing: 0.5px;
61
+ }
62
+
63
+ .number-input-container {
64
+ position: relative;
65
+ display: flex;
66
+ align-items: center;
67
+ background: #0b0f19;
68
+ border: 1px solid #36364c;
69
+ border-radius: 10px;
70
+ padding: 0;
71
+ transition: all 0.2s ease;
72
+ overflow: hidden;
73
+ height: 42px;
74
+ }
75
+
76
+ .number-input-container:focus-within {
77
+ border-color: #4e9e94;
78
+ box-shadow: 0 0 0 1px rgba(78, 158, 148, 0.2);
79
+ }
80
+
81
+ .number-input {
82
+ flex: 1;
83
+ border: none;
84
+ background: transparent;
85
+ padding: 0 16px;
86
+ font-size: 16px;
87
+ font-weight: 600;
88
+ color: #ffffff;
89
+ outline: none;
90
+ width: 0;
91
+ min-width: 0;
92
+ }
93
+
94
+ .number-input::-webkit-outer-spin-button,
95
+ .number-input::-webkit-inner-spin-button {
96
+ -webkit-appearance: none;
97
+ margin: 0;
98
+ }
99
+ .number-input[type=number] { -moz-appearance: textfield; }
100
+
101
+ .controls {
102
+ display: flex;
103
+ align-items: center;
104
+ background: transparent;
105
+ margin-right: 4px;
106
+ height: 100%;
107
+ }
108
+
109
+ .control-btn {
110
+ display: flex;
111
+ align-items: center;
112
+ justify-content: center;
113
+ width: 28px;
114
+ height: 28px;
115
+ border: none;
116
+ background: transparent;
117
+ cursor: pointer;
118
+ transition: all 0.15s ease;
119
+ color: #9ca3af;
120
+ }
121
+
122
+ .control-btn:hover {
123
+ background: rgba(255, 255, 255, 0.1);
124
+ color: #4e9e94;
125
+ border-radius: 4px;
126
+ }
127
+
128
+ .control-btn:active { transform: scale(0.95); color: #fff; }
129
+
130
+ .decrease-btn { border-radius: 10px; }
131
+ .increase-btn { border-radius: 10px; }
132
+
133
+ .separator {
134
+ width: 1px;
135
+ height: 18px;
136
+ background: #36364c;
137
+ margin: 0 2px;
138
+ }
139
+
140
+ .submit-btn {
141
+ width: 100%;
142
+ margin-top: 25px;
143
+ padding: 14px;
144
+ background: linear-gradient(135deg, #4e9e94 0%, #2a7d74 100%);
145
+ color: #ffffff;
146
+ font-weight: 700;
147
+ border: none;
148
+ border-radius: 10px;
149
+ font-size: 1rem;
150
+ cursor: pointer;
151
+ transition: transform 0.1s, box-shadow 0.2s;
152
+ }
153
+
154
+ .submit-btn:hover {
155
+ transform: translateY(-2px);
156
+ box-shadow: 0 4px 15px rgba(78, 158, 148, 0.3);
157
+ }
158
+
159
+ .result-section {
160
+ background: #131320;
161
+ border-radius: 20px;
162
+ display: flex;
163
+ flex-direction: column;
164
+ justify-content: center;
165
+ align-items: center;
166
+ text-align: center;
167
+ padding: 20px;
168
+ border: 1px solid #2e2e42;
169
+ min-height: 200px;
170
+ }
171
+
172
+ .placeholder-text h3 { color: #ffffff; margin-bottom: 8px; }
173
+ .placeholder-text p { color: #6b7280; font-size: 0.9rem; }
174
+
175
+ .result-box { animation: fadeIn 0.5s ease; width: 100%; }
176
+
177
+ .confidence-bar-bg {
178
+ width: 100%;
179
+ height: 8px;
180
+ background-color: #2e2e42;
181
+ border-radius: 4px;
182
+ margin-top: 15px;
183
+ overflow: hidden;
184
+ }
185
+
186
+ .confidence-bar-fill {
187
+ height: 100%;
188
+ border-radius: 4px;
189
+ transition: width 1s ease;
190
+ }
191
+
192
+ @keyframes fadeIn {
193
+ from { opacity: 0; transform: translateY(10px); }
194
+ to { opacity: 1; transform: translateY(0); }
195
+ }
196
+
197
+ @media (max-width: 768px) {
198
+ .main-content { grid-template-columns: 1fr; }
199
+ .form-grid { grid-template-columns: 1fr; }
200
+ }