| 1 |
.basalam-onboarding-wrapper { |
| 2 |
position: fixed; |
| 3 |
top: 0; |
| 4 |
left: 0; |
| 5 |
right: 0; |
| 6 |
bottom: 0; |
| 7 |
background: var(--basalam-gray-100, #f8f9fa); |
| 8 |
z-index: 99999; |
| 9 |
margin-left: -20px; |
| 10 |
font-family: "pelakfa"; |
| 11 |
direction: rtl; |
| 12 |
overflow-y: auto; |
| 13 |
} |
| 14 |
|
| 15 |
.basalam-onboarding { |
| 16 |
max-width: 1200px; |
| 17 |
margin: 0 auto; |
| 18 |
padding: 40px 20px; |
| 19 |
min-height: 100%; |
| 20 |
display: flex; |
| 21 |
flex-direction: column; |
| 22 |
position: relative; |
| 23 |
} |
| 24 |
|
| 25 |
.step-indicator { |
| 26 |
display: flex; |
| 27 |
justify-content: space-between; |
| 28 |
margin-bottom: 40px; |
| 29 |
position: relative; |
| 30 |
} |
| 31 |
|
| 32 |
.step-indicator::before { |
| 33 |
content: ''; |
| 34 |
position: absolute; |
| 35 |
top: 20px; |
| 36 |
left: 60px; |
| 37 |
right: 60px; |
| 38 |
height: 2px; |
| 39 |
background: var(--basalam-gray-300, #dee2e6); |
| 40 |
z-index: 1; |
| 41 |
} |
| 42 |
|
| 43 |
.step-indicator .step { |
| 44 |
position: relative; |
| 45 |
z-index: 2; |
| 46 |
background: var(--basalam-gray-100, #f8f9fa); |
| 47 |
padding: 0 10px; |
| 48 |
text-align: center; |
| 49 |
} |
| 50 |
|
| 51 |
.step-indicator .step-number { |
| 52 |
width: 40px; |
| 53 |
height: 40px; |
| 54 |
background: #fff; |
| 55 |
border: 2px solid var(--basalam-gray-300, #dee2e6); |
| 56 |
border-radius: 50%; |
| 57 |
display: flex; |
| 58 |
align-items: center; |
| 59 |
justify-content: center; |
| 60 |
margin: 0 auto 10px; |
| 61 |
font-weight: bold; |
| 62 |
color: var(--basalam-gray-600, #6c757d); |
| 63 |
font-family: PelakFA; |
| 64 |
} |
| 65 |
|
| 66 |
.step-indicator .step.active .step-number { |
| 67 |
background: var(--basalam-primary, #00b67a); |
| 68 |
border-color: var(--basalam-primary, #00b67a); |
| 69 |
color: #fff; |
| 70 |
} |
| 71 |
|
| 72 |
.step-indicator .step.completed .step-number { |
| 73 |
background: var(--basalam-primary, #00b67a); |
| 74 |
border-color: var(--basalam-primary, #00b67a); |
| 75 |
color: #fff; |
| 76 |
} |
| 77 |
|
| 78 |
.step-indicator .step-title { |
| 79 |
font-size: 14px; |
| 80 |
color: var(--basalam-gray-600, #6c757d); |
| 81 |
display: block; |
| 82 |
font-family: PelakFA, IRANSans; |
| 83 |
} |
| 84 |
|
| 85 |
.step-indicator .step.active .step-title { |
| 86 |
color: var(--basalam-primary, #00b67a); |
| 87 |
font-weight: bold; |
| 88 |
} |
| 89 |
|
| 90 |
.step-content-wrapper { |
| 91 |
background: #fff; |
| 92 |
max-height: 450px; |
| 93 |
padding: 11px 40px 11px 40px; |
| 94 |
border-radius: 12px; |
| 95 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); |
| 96 |
flex-grow: 1; |
| 97 |
overflow-y: auto; |
| 98 |
} |
| 99 |
|
| 100 |
/* No scroll for step 3 */ |
| 101 |
.step-content-wrapper:has(.step-complete) { |
| 102 |
overflow: hidden; |
| 103 |
} |
| 104 |
|
| 105 |
.step-content-wrapper h1 { |
| 106 |
text-align: center; |
| 107 |
color: var(--basalam-gray-800, #343a40); |
| 108 |
font-size: 24px; |
| 109 |
margin-bottom: 30px; |
| 110 |
padding-bottom: 20px; |
| 111 |
border-bottom: 1px solid var(--basalam-gray-200, #e9ecef); |
| 112 |
font-family: Morabba, IRANSans; |
| 113 |
} |
| 114 |
|
| 115 |
.welcome-content { |
| 116 |
text-align: center; |
| 117 |
max-width: 800px; |
| 118 |
margin: 0 auto; |
| 119 |
} |
| 120 |
|
| 121 |
.welcome-logo { |
| 122 |
max-width: 70px; |
| 123 |
margin: auto; |
| 124 |
|
| 125 |
} |
| 126 |
|
| 127 |
.welcome-content h2 { |
| 128 |
font-family: Morabba, IRANSans; |
| 129 |
color: var(--basalam-gray-800, #343a40); |
| 130 |
margin-bottom: 20px; |
| 131 |
} |
| 132 |
|
| 133 |
.welcome-content ul { |
| 134 |
text-align: right; |
| 135 |
list-style-type: none; |
| 136 |
margin: 20px 0; |
| 137 |
font-family: PelakFA, IRANSans; |
| 138 |
} |
| 139 |
|
| 140 |
.welcome-content ul li { |
| 141 |
margin: 15px 0; |
| 142 |
padding-right: 30px; |
| 143 |
position: relative; |
| 144 |
font-size: 16px; |
| 145 |
line-height: 1.6; |
| 146 |
} |
| 147 |
|
| 148 |
.welcome-content ul li::before { |
| 149 |
content: '+'; |
| 150 |
position: absolute; |
| 151 |
right: 0; |
| 152 |
color: var(--basalam-primary-color); |
| 153 |
font-weight: bold; |
| 154 |
} |
| 155 |
|
| 156 |
.step-content { |
| 157 |
display: grid; |
| 158 |
grid-template-columns: 1fr 1fr; |
| 159 |
gap: 40px; |
| 160 |
align-items: center; |
| 161 |
} |
| 162 |
|
| 163 |
.step-content a { |
| 164 |
margin: auto; |
| 165 |
width: -webkit-fill-available; |
| 166 |
} |
| 167 |
|
| 168 |
.step-instructions { |
| 169 |
padding: 30px; |
| 170 |
background: var(--basalam-gray-100, #f8f9fa); |
| 171 |
border-radius: 12px; |
| 172 |
border: 1px solid var(--basalam-gray-200, #e9ecef); |
| 173 |
} |
| 174 |
|
| 175 |
.step-instructions h3 { |
| 176 |
font-family: Morabba; |
| 177 |
color: var(--basalam-gray-800, #343a40); |
| 178 |
margin-bottom: 20px; |
| 179 |
} |
| 180 |
|
| 181 |
.step-instructions ol { |
| 182 |
margin: 0; |
| 183 |
padding-right: 20px; |
| 184 |
font-family: PelakFA; |
| 185 |
} |
| 186 |
|
| 187 |
.step-instructions li { |
| 188 |
margin-bottom: 15px; |
| 189 |
line-height: 1.6; |
| 190 |
font-size: 15px; |
| 191 |
font-family: PelakFa; |
| 192 |
color: var(--basalam-gray-700, #495057); |
| 193 |
} |
| 194 |
|
| 195 |
.step-image img { |
| 196 |
max-width: 100%; |
| 197 |
border-radius: 12px; |
| 198 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| 199 |
} |
| 200 |
|
| 201 |
.existing-credentials { |
| 202 |
background: #f8f9fa; |
| 203 |
border-radius: 8px; |
| 204 |
padding: 20px; |
| 205 |
margin-top: 20px; |
| 206 |
} |
| 207 |
|
| 208 |
.existing-credentials p { |
| 209 |
margin: 0 0 10px 0; |
| 210 |
font-size: 14px; |
| 211 |
} |
| 212 |
|
| 213 |
.credential-info { |
| 214 |
background: #fff; |
| 215 |
border-radius: 6px; |
| 216 |
padding: 15px; |
| 217 |
margin: 10px 0; |
| 218 |
} |
| 219 |
|
| 220 |
.credential-info p { |
| 221 |
margin: 5px 0; |
| 222 |
} |
| 223 |
|
| 224 |
.credential-info strong { |
| 225 |
color: #666; |
| 226 |
margin-left: 5px; |
| 227 |
} |
| 228 |
|
| 229 |
.reset-client-credentials { |
| 230 |
margin-top: 10px !important; |
| 231 |
width: 100%; |
| 232 |
justify-content: center; |
| 233 |
display: flex; |
| 234 |
align-items: center; |
| 235 |
gap: 8px; |
| 236 |
} |
| 237 |
|
| 238 |
.finish-content { |
| 239 |
text-align: center; |
| 240 |
max-width: 600px; |
| 241 |
margin: 0 auto !important; |
| 242 |
} |
| 243 |
|
| 244 |
|
| 245 |
.action-buttons { |
| 246 |
display: flex; |
| 247 |
gap: 15px; |
| 248 |
justify-content: center; |
| 249 |
margin-top: 30px; |
| 250 |
flex-wrap: wrap; |
| 251 |
} |
| 252 |
|
| 253 |
.action-buttons .button { |
| 254 |
min-width: 150px; |
| 255 |
text-align: center; |
| 256 |
height: auto; |
| 257 |
padding: 12px 24px; |
| 258 |
font-family: PelakFA, IRANSans; |
| 259 |
font-size: 14px; |
| 260 |
transition: all 0.2s ease; |
| 261 |
} |
| 262 |
|
| 263 |
.step-navigation { |
| 264 |
display: flex; |
| 265 |
justify-content: flex-end; |
| 266 |
padding: 20px 40px; |
| 267 |
border-radius: 0 0 12px 12px; |
| 268 |
margin: 0 -40px -11px -40px; |
| 269 |
background: #f8f9fa; |
| 270 |
gap: 15px; |
| 271 |
} |
| 272 |
|
| 273 |
.nav-buttons { |
| 274 |
display: flex; |
| 275 |
gap: 10px; |
| 276 |
align-items: center; |
| 277 |
} |
| 278 |
|
| 279 |
.nav-buttons .basalam-button, |
| 280 |
.nav-buttons .basalam-primary-button { |
| 281 |
margin: 0 !important; |
| 282 |
min-width: 120px; |
| 283 |
display: flex; |
| 284 |
align-items: center; |
| 285 |
justify-content: center; |
| 286 |
gap: 8px; |
| 287 |
padding: 8px 16px; |
| 288 |
font-size: 14px; |
| 289 |
} |
| 290 |
|
| 291 |
.nav-buttons .basalam-primary-button svg { |
| 292 |
width: 16px; |
| 293 |
height: 16px; |
| 294 |
} |
| 295 |
|
| 296 |
|
| 297 |
|
| 298 |
.step-navigation .basalam-button { |
| 299 |
min-width: 120px; |
| 300 |
display: flex; |
| 301 |
align-items: center; |
| 302 |
justify-content: center; |
| 303 |
padding: 8px 16px; |
| 304 |
font-size: 14px; |
| 305 |
} |
| 306 |
|
| 307 |
.basalam-nav-link { |
| 308 |
text-decoration: none; |
| 309 |
padding: 9px 16px; |
| 310 |
border-radius: 8px; |
| 311 |
color: var(--basalam-primary-color) !important; |
| 312 |
border: 2px solid var(--basalam-primary-color); |
| 313 |
transition: all 0.3s ease; |
| 314 |
display: inline-block; |
| 315 |
} |
| 316 |
|
| 317 |
.basalam-nav-link:hover { |
| 318 |
color: white !important; |
| 319 |
background-color: var(--basalam-primary-color); |
| 320 |
} |
| 321 |
|
| 322 |
.basalam-success-message { |
| 323 |
background-color: #e8f5e9; |
| 324 |
border: 1px solid #4caf50; |
| 325 |
border-radius: 8px; |
| 326 |
padding: 20px; |
| 327 |
margin-bottom: 20px; |
| 328 |
text-align: center; |
| 329 |
} |
| 330 |
|
| 331 |
.basalam-success-message h2 { |
| 332 |
color: #2e7d32; |
| 333 |
margin: 0 0 10px 0; |
| 334 |
} |
| 335 |
|
| 336 |
.basalam-success-message p { |
| 337 |
color: #1b5e20; |
| 338 |
margin: 0; |
| 339 |
} |
| 340 |
|
| 341 |
.basalam--no-token { |
| 342 |
margin-top: 50px; |
| 343 |
} |
| 344 |
|
| 345 |
.basalam-error-message { |
| 346 |
background-color: #ffebee; |
| 347 |
border: 1px solid #ef5350; |
| 348 |
border-radius: 8px; |
| 349 |
display: flex; |
| 350 |
width: fit-content; |
| 351 |
padding: 10px; |
| 352 |
justify-content: center; |
| 353 |
align-items: center; |
| 354 |
gap: 5px; |
| 355 |
margin: auto; |
| 356 |
-webkit-border-radius: 8px; |
| 357 |
-moz-border-radius: 8px; |
| 358 |
-ms-border-radius: 8px; |
| 359 |
-o-border-radius: 8px; |
| 360 |
} |
| 361 |
|
| 362 |
|
| 363 |
.basalam-error-message h2 { |
| 364 |
color: #c62828; |
| 365 |
margin: 0 0 10px 0; |
| 366 |
} |
| 367 |
|
| 368 |
.basalam-error-message p { |
| 369 |
color: #b71c1c; |
| 370 |
margin: 0 0 10px 0; |
| 371 |
|
| 372 |
} |
| 373 |
|
| 374 |
.basalam-error-message ul { |
| 375 |
margin: 0; |
| 376 |
padding-right: 20px; |
| 377 |
color: #b71c1c; |
| 378 |
} |
| 379 |
|
| 380 |
.basalam-error-message li { |
| 381 |
margin-bottom: 5px; |
| 382 |
} |
| 383 |
|
| 384 |
.basalam-error-message li:last-child { |
| 385 |
margin-bottom: 0; |
| 386 |
} |
| 387 |
|
| 388 |
@media screen and (max-width: 1024px) { |
| 389 |
.basalam-onboarding { |
| 390 |
padding: 20px; |
| 391 |
} |
| 392 |
|
| 393 |
.step-content { |
| 394 |
grid-template-columns: 1fr; |
| 395 |
} |
| 396 |
|
| 397 |
.step-image { |
| 398 |
order: -1; |
| 399 |
} |
| 400 |
} |
| 401 |
|
| 402 |
@media screen and (max-width: 768px) { |
| 403 |
.step-indicator { |
| 404 |
padding: 0 20px; |
| 405 |
overflow-x: auto; |
| 406 |
justify-content: start; |
| 407 |
padding-bottom: 10px; |
| 408 |
} |
| 409 |
|
| 410 |
.step-indicator .step { |
| 411 |
min-width: 100px; |
| 412 |
margin-right: 10px; |
| 413 |
} |
| 414 |
|
| 415 |
.step-content-wrapper { |
| 416 |
padding: 20px; |
| 417 |
} |
| 418 |
|
| 419 |
.action-buttons { |
| 420 |
flex-direction: column; |
| 421 |
} |
| 422 |
|
| 423 |
.action-buttons .button { |
| 424 |
width: 100%; |
| 425 |
} |
| 426 |
|
| 427 |
.step-navigation { |
| 428 |
margin: 0 -20px -20px -20px; |
| 429 |
padding: 15px 20px; |
| 430 |
position: sticky; |
| 431 |
bottom: 0; |
| 432 |
} |
| 433 |
} |
| 434 |
|
| 435 |
@media screen and (max-width: 480px) { |
| 436 |
.step-indicator .step-title { |
| 437 |
display: none; |
| 438 |
} |
| 439 |
|
| 440 |
.step-indicator .step { |
| 441 |
min-width: auto; |
| 442 |
} |
| 443 |
|
| 444 |
.welcome-content ul li { |
| 445 |
font-size: 14px; |
| 446 |
} |
| 447 |
|
| 448 |
.step-instructions li { |
| 449 |
font-size: 14px; |
| 450 |
} |
| 451 |
} |
| 452 |
|
| 453 |
/* Step 3 - Celebration/Success Page Styles */ |
| 454 |
.step-complete { |
| 455 |
text-align: center; |
| 456 |
display: flex; |
| 457 |
flex-direction: column; |
| 458 |
align-items: center; |
| 459 |
justify-content: center; |
| 460 |
position: relative; |
| 461 |
} |
| 462 |
|
| 463 |
.success-icon-img { |
| 464 |
width: 90px; |
| 465 |
height: 90px; |
| 466 |
} |
| 467 |
|
| 468 |
.celebration-title { |
| 469 |
font-family: Morabba, IRANSans; |
| 470 |
font-size: 24px; |
| 471 |
margin: 0; |
| 472 |
font-weight: bolder; |
| 473 |
} |
| 474 |
|
| 475 |
.success-subtitle { |
| 476 |
font-family: PelakFA, IRANSans; |
| 477 |
font-size: 24px; |
| 478 |
color: var(--basalam-gray-800, #343a40); |
| 479 |
margin: 0 0 20px 0; |
| 480 |
} |
| 481 |
|
| 482 |
.success-description { |
| 483 |
font-family: PelakFA, IRANSans; |
| 484 |
font-size: 16px; |
| 485 |
color: var(--basalam-gray-600, #6c757d); |
| 486 |
margin: 0 0 40px 0; |
| 487 |
max-width: 400px; |
| 488 |
} |
| 489 |
|
| 490 |
.celebration-button { |
| 491 |
font-weight: bold !important; |
| 492 |
} |
| 493 |
|
| 494 |
.celebration-button::before { |
| 495 |
content: ''; |
| 496 |
position: absolute; |
| 497 |
top: 0; |
| 498 |
left: -100%; |
| 499 |
width: 100%; |
| 500 |
height: 100%; |
| 501 |
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); |
| 502 |
transition: left 0.5s ease; |
| 503 |
} |
| 504 |
|
| 505 |
.celebration-button:hover { |
| 506 |
transform: translateY(-2px); |
| 507 |
box-shadow: 0 6px 20px rgba(0, 182, 122, 0.5); |
| 508 |
} |
| 509 |
|
| 510 |
.celebration-button:hover::before { |
| 511 |
left: 100%; |
| 512 |
} |
| 513 |
|
| 514 |
.celebration-button span { |
| 515 |
color: #fff; |
| 516 |
} |
| 517 |
|
| 518 |
.celebration-button svg { |
| 519 |
transition: transform 0.3s ease; |
| 520 |
} |
| 521 |
|
| 522 |
.celebration-button:hover svg { |
| 523 |
transform: translateX(-3px); |
| 524 |
} |