stat2025 commited on
Commit
b833b6e
·
verified ·
1 Parent(s): 75539e2

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +362 -19
style.css CHANGED
@@ -1,28 +1,371 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
 
1
+ :root{
2
+ --bg: #f5f7fb;
3
+ --surface: #ffffff;
4
+ --surface-soft: #f8fbff;
5
+ --text: #1f2430;
6
+ --muted: #6b7280;
7
+ --primary: #544f7d;
8
+ --primary-2: #323366;
9
+ --accent: #60c4e4;
10
+ --border: rgba(84, 79, 125, 0.14);
11
+ --border-soft: rgba(96, 196, 228, 0.18);
12
+ --shadow: 0 10px 30px rgba(50, 51, 102, 0.08);
13
+ --shadow-hover: 0 14px 35px rgba(50, 51, 102, 0.12);
14
+ --radius-xl: 22px;
15
+ --radius-lg: 18px;
16
+ --radius-md: 14px;
17
  }
18
 
19
+ *{
20
+ box-sizing: border-box;
 
21
  }
22
 
23
+ html{
24
+ direction: rtl;
 
 
 
25
  }
26
 
27
+ body{
28
+ margin: 0;
29
+ font-family: "Bahij TheSans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
30
+ background:
31
+ radial-gradient(circle at top right, rgba(96,196,228,.12), transparent 30%),
32
+ radial-gradient(circle at top left, rgba(84,79,125,.08), transparent 26%),
33
+ var(--bg);
34
+ color: var(--text);
35
  }
36
 
37
+ .container{
38
+ width: min(1100px, calc(100% - 24px));
39
+ margin: 0 auto;
40
+ }
41
+
42
+ .hero{
43
+ padding: 26px 0 12px;
44
+ }
45
+
46
+ .hero-card{
47
+ background: linear-gradient(135deg, rgba(84,79,125,1) 0%, rgba(50,51,102,1) 100%);
48
+ color: #fff;
49
+ border-radius: 28px;
50
+ padding: 26px 22px;
51
+ box-shadow: var(--shadow);
52
+ position: relative;
53
+ overflow: hidden;
54
+ }
55
+
56
+ .hero-card::before,
57
+ .hero-card::after{
58
+ content: "";
59
+ position: absolute;
60
+ border-radius: 50%;
61
+ background: rgba(255,255,255,.08);
62
+ }
63
+
64
+ .hero-card::before{
65
+ width: 180px;
66
+ height: 180px;
67
+ top: -70px;
68
+ left: -30px;
69
+ }
70
+
71
+ .hero-card::after{
72
+ width: 120px;
73
+ height: 120px;
74
+ bottom: -40px;
75
+ right: -20px;
76
+ }
77
+
78
+ .hero-title{
79
+ margin: 0 0 8px;
80
+ font-size: clamp(1.5rem, 2vw, 2rem);
81
+ font-weight: 900;
82
+ position: relative;
83
+ z-index: 1;
84
+ }
85
+
86
+ .hero-subtitle{
87
+ margin: 0;
88
+ line-height: 1.9;
89
+ color: rgba(255,255,255,.9);
90
+ position: relative;
91
+ z-index: 1;
92
+ }
93
+
94
+ .search-wrap{
95
+ margin-top: 18px;
96
+ background: var(--surface);
97
+ border: 1px solid var(--border);
98
+ border-radius: 24px;
99
+ padding: 18px;
100
+ box-shadow: var(--shadow);
101
+ }
102
+
103
+ .search-row{
104
+ display: grid;
105
+ grid-template-columns: 1fr auto auto;
106
+ gap: 12px;
107
+ align-items: center;
108
+ }
109
+
110
+ .search-input{
111
+ width: 100%;
112
+ height: 56px;
113
+ border-radius: 16px;
114
+ border: 1px solid var(--border);
115
+ background: #fff;
116
+ padding: 0 16px;
117
+ font-size: 1rem;
118
+ font-family: inherit;
119
+ color: var(--text);
120
+ outline: none;
121
+ transition: .2s ease;
122
+ }
123
+
124
+ .search-input:focus{
125
+ border-color: var(--accent);
126
+ box-shadow: 0 0 0 4px rgba(96,196,228,.12);
127
+ }
128
+
129
+ .btn{
130
+ height: 56px;
131
+ padding: 0 20px;
132
+ border: 0;
133
+ border-radius: 16px;
134
+ font-family: inherit;
135
+ font-size: 1rem;
136
+ font-weight: 800;
137
+ cursor: pointer;
138
+ transition: .18s ease;
139
+ white-space: nowrap;
140
+ }
141
+
142
+ .btn-primary{
143
+ background: linear-gradient(135deg, var(--primary), var(--primary-2));
144
+ color: #fff;
145
+ box-shadow: 0 8px 22px rgba(84,79,125,.22);
146
+ }
147
+
148
+ .btn-primary:hover{
149
+ transform: translateY(-1px);
150
+ }
151
+
152
+ .btn-secondary{
153
+ background: #eef2f7;
154
+ color: var(--primary);
155
+ }
156
+
157
+ .btn-secondary:hover{
158
+ background: #e7edf5;
159
+ }
160
+
161
+ .meta-row{
162
+ display: flex;
163
+ align-items: center;
164
+ justify-content: space-between;
165
+ gap: 12px;
166
+ flex-wrap: wrap;
167
+ margin-top: 14px;
168
+ }
169
+
170
+ .chip{
171
+ display: inline-flex;
172
+ align-items: center;
173
+ gap: 8px;
174
+ min-height: 40px;
175
+ padding: 0 14px;
176
+ border-radius: 999px;
177
+ background: #fff;
178
+ border: 1px solid var(--border);
179
+ color: var(--primary);
180
+ font-weight: 800;
181
+ }
182
+
183
+ .results-section{
184
+ padding: 18px 0 34px;
185
+ }
186
+
187
+ .results{
188
+ display: grid;
189
+ gap: 14px;
190
+ }
191
+
192
+ .result-card{
193
+ background: var(--surface);
194
+ border: 1px solid var(--border);
195
+ border-radius: var(--radius-xl);
196
+ padding: 16px;
197
+ box-shadow: var(--shadow);
198
+ transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
199
+ }
200
+
201
+ .result-card:hover{
202
+ transform: translateY(-2px);
203
+ box-shadow: var(--shadow-hover);
204
+ border-color: rgba(96,196,228,.28);
205
+ }
206
+
207
+ .result-card__top{
208
+ display: flex;
209
+ align-items: center;
210
+ justify-content: space-between;
211
+ margin-bottom: 14px;
212
+ }
213
+
214
+ .result-card__badge{
215
+ display: inline-flex;
216
+ align-items: center;
217
+ min-height: 34px;
218
+ padding: 0 12px;
219
+ border-radius: 999px;
220
+ background: rgba(96,196,228,.12);
221
+ color: var(--primary);
222
+ font-size: .9rem;
223
+ font-weight: 800;
224
+ }
225
+
226
+ .result-grid{
227
+ display: grid;
228
+ grid-template-columns: repeat(2, minmax(0, 1fr));
229
+ gap: 12px;
230
+ }
231
+
232
+ .field{
233
+ background: var(--surface-soft);
234
+ border: 1px solid var(--border-soft);
235
+ border-radius: var(--radius-lg);
236
+ padding: 13px 14px;
237
+ min-width: 0;
238
+ }
239
+
240
+ .field-full{
241
+ grid-column: 1 / -1;
242
+ }
243
+
244
+ .label{
245
+ font-size: .88rem;
246
+ font-weight: 900;
247
+ color: var(--primary);
248
+ margin-bottom: 7px;
249
+ }
250
+
251
+ .value{
252
+ font-size: 1rem;
253
+ font-weight: 700;
254
+ color: var(--text);
255
+ line-height: 1.9;
256
+ word-break: break-word;
257
+ }
258
+
259
+ .phone{
260
+ direction: ltr;
261
+ unicode-bidi: bidi-override;
262
+ text-align: right;
263
+ white-space: nowrap;
264
+ word-break: normal;
265
+ overflow-wrap: normal;
266
+ font-variant-numeric: tabular-nums;
267
+ letter-spacing: .4px;
268
+ }
269
+
270
+ mark{
271
+ background: rgba(96,196,228,.28);
272
+ color: inherit;
273
+ padding: 0 .18em;
274
+ border-radius: 6px;
275
+ }
276
+
277
+ .empty-state{
278
+ background: var(--surface);
279
+ border: 1px dashed rgba(84,79,125,.22);
280
+ border-radius: 24px;
281
+ padding: 34px 18px;
282
+ text-align: center;
283
+ box-shadow: var(--shadow);
284
+ }
285
+
286
+ .empty-icon{
287
+ font-size: 2rem;
288
+ margin-bottom: 10px;
289
+ }
290
+
291
+ .empty-title{
292
+ font-size: 1.1rem;
293
+ font-weight: 900;
294
+ color: var(--primary);
295
+ margin-bottom: 6px;
296
+ }
297
+
298
+ .empty-subtitle{
299
+ color: var(--muted);
300
+ line-height: 1.8;
301
+ }
302
+
303
+ @media (max-width: 820px){
304
+ .search-row{
305
+ grid-template-columns: 1fr;
306
+ }
307
+
308
+ .btn{
309
+ width: 100%;
310
+ }
311
+
312
+ .result-grid{
313
+ grid-template-columns: 1fr;
314
+ }
315
+
316
+ .field-full{
317
+ grid-column: auto;
318
+ }
319
+ }
320
+
321
+ @media (max-width: 640px){
322
+ .container{
323
+ width: min(calc(100% - 16px), 1100px);
324
+ }
325
+
326
+ .hero{
327
+ padding-top: 16px;
328
+ }
329
+
330
+ .hero-card{
331
+ border-radius: 22px;
332
+ padding: 20px 16px;
333
+ }
334
+
335
+ .hero-title{
336
+ font-size: 1.35rem;
337
+ }
338
+
339
+ .hero-subtitle{
340
+ font-size: .94rem;
341
+ }
342
+
343
+ .search-wrap{
344
+ border-radius: 20px;
345
+ padding: 14px;
346
+ }
347
+
348
+ .search-input,
349
+ .btn{
350
+ height: 52px;
351
+ border-radius: 14px;
352
+ }
353
+
354
+ .result-card{
355
+ border-radius: 18px;
356
+ padding: 13px;
357
+ }
358
+
359
+ .field{
360
+ border-radius: 14px;
361
+ padding: 12px;
362
+ }
363
+
364
+ .label{
365
+ font-size: .84rem;
366
+ }
367
+
368
+ .value{
369
+ font-size: .96rem;
370
+ }
371
  }