File size: 14,046 Bytes
d52cc5e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
/* =====================================================

   SMARTPARK WALLET UI SYSTEM (INTEGRATED & REFINED)

===================================================== */

/* ================= توسيط الكارت داخل الداشبورد ================= */
.wallet-center-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    width: 100%;
}

.flow-card {
    background: var(--surface-color); 
    border-radius: 24px; 
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
    border: 1px solid var(--border-color);
    position: relative; 
    overflow: hidden; 
    min-height: 500px;
    width: 100%;
    max-width: 550px; 
    margin: 0 auto;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.flow-view { display: none; animation: fadeIn 0.4s ease forwards; }
.flow-view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.flow-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.btn-back { background: var(--bg-color); border: 1px solid var(--border-color); color: var(--text-main); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center;}
.btn-back:hover { background: #00c2b8; color: #05080f; border-color: #00c2b8; }
.flow-title { font-family: 'Urbanist', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--text-main); margin: 0; }

/* ================= النصوص والبيانات العلوية ================= */
.d-flex-between { display: flex; justify-content: space-between; align-items: center; }
.user-info-badge { display: flex; align-items: center; gap: 15px;}
.icon-box-round { width: 45px; height: 45px; border-radius: 50%; background: #00c2b8;; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text-main); }
.user-info-badge h3 { font-size: 1.15rem; margin: 0 0 2px 0; color: var(--text-main); font-weight: 700; font-family: 'Urbanist', sans-serif;}
.user-info-badge p { font-size: 0.85rem; color: var(--text-muted); margin: 0; font-weight: 600; }
.notification-icon { font-size: 1.3rem; color: var(--text-muted); cursor: pointer; transition: 0.3s; }
.notification-icon:hover {color:  #00c2b8; }

/* ================= View 1: Overview & Balance (الكارت الكحلي الفخم) ================= */
.balance-master {
    background: linear-gradient(135deg, #0f172a 0%, #00c2b8 100%); /* الكحلي بتاع الصورة */
    border-radius: 20px; 
    padding: 30px; 
    color: #fff;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2); 
    position: relative; 
    overflow: hidden; 
    margin-bottom:  24px;
    margin-top:  24px;
}

/* تأثير اللمعة المستمر */
.balance-master::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-25deg); animation: featureShimmer 6s infinite;
}

.b-label { font-size: 0.9rem; font-weight: 600; opacity: 0.9; margin-bottom: 10px; position: relative; z-index: 1;}

.b-amount { 
    font-family: 'Georgia', serif; /* الخط الكلاسيكي للفلوس */
    font-size: 3.5rem; 
    font-weight: 700; 
    line-height: 1; 
    position: relative; 
    z-index: 1; 
    margin-bottom: 25px;
}
.b-amount .dec { font-size: 1.8rem; opacity: 0.9;}
.b-amount .currency { font-size: 1.2rem; font-family: 'Urbanist', sans-serif; font-weight: 800; margin-left: 5px; opacity: 0.9;}

.btn-balance-add {
    background: rgba(255, 255, 255, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff; 
    padding: 14px; 
    border-radius: 12px; 
    font-weight: 700; 
    font-size: 0.95rem; 
    cursor: pointer; 
    transition: all 0.3s; 
    width: 100%; 
    position: relative; 
    z-index: 1;
    backdrop-filter: blur(5px);
}
.btn-balance-add:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* ================= كروت المعلومات (Visa / Promo) ================= */
.info-card {
    background: var(--bg-color); 
    border: 1px solid var(--border-color); 
    border-radius: 16px;
    padding: 18px 20px; 
    margin-bottom: 16px; 
    transition: all 0.3s ease;
}
.info-card:hover { border-color: #00c2b8; box-shadow: 0 4px 12px rgba(0, 194, 184, 0.08); }

.info-left { display: flex; align-items: center; gap: 15px; }
.icon-box {
    width: 44px; height: 44px; 
    background: var(--surface-color); 
    border-radius: 12px; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.3rem; 
    border: 1px solid var(--border-color);
}
.icon-blue { color: #00c2b8; } 
.icon-teal { color: #00c2b8; } 

.info-title { font-size: 1rem; font-weight: 800; margin-bottom: 4px; color: var(--text-main); font-family: 'Urbanist', sans-serif;}
.info-sub { font-size: 0.85rem; color: var(--text-muted); margin: 0; font-weight: 600;}
.btn-text { background: transparent; border: none; color: #00c2b8; font-weight: 800; font-size: 0.9rem; cursor: pointer; transition: 0.3s; }
.btn-text:hover { color: #008c85; text-decoration: underline; }

/* ================= الأزرار الأساسية ================= */
.btn-primary-action {
    background: #00c2b8; 
    color: #05080f; 
    font-size: 1rem; 
    font-weight: 800;
    padding: 16px; 
    border-radius: 14px; 
    border: none; 
    width: 100%;
    transition: all 0.3s; 
    cursor: pointer; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px;
    margin-top: 15px;
}
.btn-primary-action:hover { background: #008c85; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 194, 184, 0.3); color: white;}

/* ================= Selection Lists & Inputs ================= */
.section-subtitle { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 24px 0 12px 0; }
.selection-list { display: flex; flex-direction: column; }
.selection-item {
    background: var(--bg-color);
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; 
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-bottom: 12px;
    cursor: pointer; 
    transition: 0.3s ease;
}
.selection-item:hover { border-color: rgba(0, 194, 184, 0.5); }
.selection-item.selected { border-color: #00c2b8; background: rgba(0, 194, 184, 0.05); box-shadow: 0 0 0 1px #00c2b8; }

.radio-group { display: flex; align-items: center; gap: 16px; }
.custom-radio {
    width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--text-muted);
    display: flex; align-items: center; justify-content: center; transition: all 0.2s; position: relative;
}
.selection-item.selected .custom-radio { border-color: #00c2b8; }
.selection-item.selected .custom-radio::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background: #00c2b8; border-radius: 50%; }

.item-label { font-size: 1rem; font-weight: 700; color: var(--text-main); transition: 0.2s; }
.selection-item.selected .item-label { color: #00c2b8; }
.item-value { font-size: 1rem; font-weight: 800; color: var(--text-main); }

/* مدخلات الرصيد المخصص */
.custom-input-area { display: none; margin-top: 10px; animation: fadeIn 0.3s ease; }
.input-icon-wrap { position: relative; }
.input-icon-wrap i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.form-control-custom {
    background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 12px;
    color: var(--text-main); padding: 14px 16px 14px 40px; font-size: 0.95rem; font-weight: 600; width: 100%; transition: all 0.3s;
}
.form-control-custom:focus { border-color: #00c2b8; outline: none; box-shadow: 0 0 0 3px rgba(0, 194, 184, 0.1); }
.input-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 8px; font-weight: 600;}

/* الـ Badges & Icons */
.method-wrap { display: flex; align-items: center; gap: 12px; }
.method-icon { font-size: 24px; display: flex; align-items: center; }
.method-icon.wallet { color: #e60000; }
.badge-status { font-size: 0.75rem; padding: 6px 12px; border-radius: 50px; font-weight: 700; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 6px;}
.bg-success-light { background: rgba(0, 255, 135, 0.1); color: var(--success-color); }
.bg-warning-light { background: rgba(255, 193, 7, 0.1); color: #ffc107; }

/* مفتاح التفعيل (Auto Recharge Toggle) */
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--border-color); transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #00c2b8; }
input:checked + .slider:before { transform: translateX(20px); }
/* ================= تظبيط هيدر المحفظة ================= */
/* ================= تظبيط المحتوى الأساسي ================= */
.main-content {
    position: relative; /* مهم جداً عشان الأيقونات تظبط مقاسها على الشاشة دي */
}

/* ================= تظبيط الهيدر العلوي ================= */
.top-bar {
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    width: 100%;
    margin-bottom: 40px;
    position: relative; /* 💡 ده التعديل السحري: لازم يكون relative عشان يحضن الأيقونات جواه */
    z-index: 100; /* عشان يفضل فوق أي طبقة تانية */
}

/* ================= القمر والبروفايل (في أول الصفحة من فوق) ================= */
.top-actions {
    position: absolute;
    top: 50%; /* نخليهم في نص الهيدر بالظبط */
    transform: translateY(-50%); /* تظبيط السنتراليزيشن */
    right: 0; /* نخليهم على اليمين خالص جوه التوب بار */
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 101; /* أولوية الكليك */
}

/* ================= ترفيع كلمة Digital Wallet ================= */
.welcome-text {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    margin-top: 10px; /* قللنا المسافة اللي كانت منزلاها تحت */
    padding-top: 0;
}

.welcome-text h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 12px;
    line-height: 1; 
}

.welcome-text h2 .icon-gradient {
    background: linear-gradient(135deg, #00c2b8 0%, #1a6bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    transform: translateY(-2px); 
}

.welcome-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 600;
    max-width: 100%;
    margin: 0;
    line-height: 1.5;
}


/* =====================================================

   الوضع النهاري (Light Mode Integration)

===================================================== */
/* ================= تظبيط الوضع النهاري (Light Mode) ================= */
.light-mode .welcome-text h2 {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-mode .flow-card { background: #ffffff; box-shadow: 0 20px 40px rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.08); }
.light-mode .icon-box-round, .light-mode .info-card, 
.light-mode .selection-item, 
.light-mode .form-control-custom,
.light-mode .btn-back { background: #f8fafc; border-color: rgba(0,0,0,0.08); }

.light-mode .icon-box { background: #ffffff; border-color: rgba(0,0,0,0.08); box-shadow: 0 2px 5px rgba(0,0,0,0.02);}

.light-mode .flow-title, 
.light-mode .info-title, 
.light-mode .item-label, 
.light-mode .item-value { color: #0f172a; }

.light-mode .info-sub, 
.light-mode .section-subtitle, 
.light-mode .input-hint,
.light-mode .view-desc { color: #475569; }

.light-mode .selection-item.selected { border-color: #008c85; background: rgba(0, 140, 133, 0.05); box-shadow: 0 0 0 1px #008c85; }
.light-mode .selection-item.selected .custom-radio { border-color: #008c85; }
.light-mode .selection-item.selected .custom-radio::after { background: #008c85; }
.light-mode .selection-item.selected .item-label { color: #008c85; }

.light-mode .btn-primary-action { background: #008c85; color: white; }
.light-mode .btn-primary-action:hover { box-shadow: 0 8px 24px rgba(0, 140, 133, 0.3); }

.light-mode .slider { background-color: #cbd5e1; }
.light-mode input:checked + .slider { background-color: #008c85; }
@media screen and (max-width: 768px) {
  /* الكود ده هيخلي الصور متخرجش برة شاشة الموبايل */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
}