/* Digital onboarding screens (customer journey and back office) on the Nextro theme. */

.onboarding-page .card { border-radius: 14px; }

/* step indicator */
.onb-steps { display: flex; gap: .5rem; }
.onb-step { flex: 1; display: flex; align-items: center; gap: .5rem; padding: .6rem .75rem; border-radius: 10px; background: #fff; border: 1px solid #e6ebf1; color: #8a96a3; font-weight: 600; font-size: .85rem; }
.onb-step-dot { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; display: grid; place-items: center; background: #eef2f6; color: #8a96a3; font-size: .8rem; }
.onb-step.current { border-color: var(--brand-primary); color: var(--brand-primary); box-shadow: 0 4px 14px -8px rgba(var(--brand-primary-rgb), .7); }
.onb-step.current .onb-step-dot { background: var(--brand-primary); color: #fff; }
.onb-step.done { color: #2c3e50; }
.onb-step.done .onb-step-dot { background: rgba(var(--brand-primary-rgb), .12); color: var(--brand-primary); }
@media (max-width: 767px) { .onb-step-label { display: none; } .onb-step { justify-content: center; } }

.onb-card .card-footer { background: #fafbfc; border-top: 1px solid #eef1f4; padding: 1rem 1.5rem; }
.onb-otp { max-width: 440px; padding: 1rem 1.1rem; border-radius: 10px; background: #f7f9fb; border: 1px dashed #d6dde5; }
.onb-otp-boxes { display: flex; gap: .5rem; }
.onb-otp-box { width: 48px; height: 56px; padding: 0; text-align: center; font-size: 1.4rem; font-weight: 700; border-radius: 10px; caret-color: var(--brand-primary); }
.onb-otp-box:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), .18); }
.onb-otp-boxes.invalid .onb-otp-box { border-color: #dc3545; animation: onb-shake .3s; }
@keyframes onb-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@media (max-width: 400px) { .onb-otp-box { width: 40px; height: 48px; font-size: 1.2rem; } }
.onb-campaign { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 10px; background: rgba(var(--brand-primary-rgb), .07); color: var(--brand-primary); font-size: .9rem; }
.onb-campaign svg { flex: 0 0 18px; }

/* customer shell (landing and application) */
.onb-customer { min-height: 100vh; display: flex; flex-direction: column; background: #f6f8fb; }
.onb-customer-bar { background: #fff; border-bottom: 1px solid #e6ebf1; padding: .75rem 0; }
.onb-customer-bar svg { width: 14px; height: 14px; vertical-align: -2px; }
.onb-customer-main { flex: 1; }
.onb-customer-foot { padding: 1rem 0; border-top: 1px solid #e6ebf1; background: #fff; color: #8a96a3; font-size: .85rem; }
.onb-brand-switch a { color: #8a96a3; margin-left: .6rem; }

/* campaign landing (/onboarding) */
.onb-landing { background: #f6f8fb; }
.onb-hero { background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-active)); color: #fff; padding: 3.5rem 0; }
.onb-hero h1 { color: #fff; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
.onb-hero .lead { color: rgba(255, 255, 255, .88); max-width: 560px; }
.onb-hero-tag { display: inline-block; margin-bottom: .75rem; padding: .25rem .7rem; border-radius: 999px; background: var(--brand-accent); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.onb-hero-cta { color: var(--brand-primary); font-weight: 600; }
.onb-hero .btn-outline-light svg { width: 18px; height: 18px; vertical-align: -3px; }
.onb-track-strip { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; border: 1px solid #e3e8ee; border-radius: 14px; background: #fff; }
.onb-track-strip-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--brand-primary-rgb), .08); color: var(--brand-primary); }
.onb-track-strip-icon svg { width: 20px; height: 20px; }
@media (max-width: 576px) { .onb-track-strip .btn { width: 100%; } }
.onb-hero-cta svg { width: 18px; height: 18px; vertical-align: -3px; }
.onb-hero-note { color: rgba(255, 255, 255, .75); }
.onb-hero-card { background: #fff; color: #2c3e50; border-radius: 14px; padding: 1.25rem 1.4rem; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .45); }
.onb-hero-card h6 { font-weight: 700; margin-bottom: .75rem; }
.onb-hero-card ul { list-style: none; padding: 0; margin: 0; }
.onb-hero-card li { display: flex; gap: .65rem; align-items: flex-start; padding: .45rem 0; font-size: .92rem; }
.onb-hero-card svg { flex: 0 0 18px; width: 18px; color: var(--brand-primary); margin-top: 2px; }
.onb-how { height: 100%; background: #fff; border: 1px solid #e6ebf1; border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; gap: .25rem; }
.onb-how small { color: #6b7c88; }
.onb-how-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--brand-primary-rgb), .1); color: var(--brand-primary); font-weight: 700; margin-bottom: .35rem; }
.onb-landing-product { height: 100%; background: #fff; border: 1.5px solid #e3e8ee; border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.onb-landing-product.featured { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), .12); }

/* product cards */
.onb-product { width: 100%; height: 100%; text-align: left; background: #fff; border: 1.5px solid #e3e8ee; border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; gap: .35rem; transition: border-color .15s, box-shadow .15s; }
.onb-product:hover:not(:disabled) { border-color: rgba(var(--brand-primary-rgb), .5); }
.onb-product.selected { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), .15); }
.onb-product.disabled { opacity: .55; cursor: not-allowed; }
.onb-product-name { font-weight: 700; color: var(--brand-primary); font-size: 1.02rem; }
.onb-product-tag { color: #6b7c88; font-size: .85rem; }
.onb-product ul { padding-left: 1.1rem; margin: .25rem 0 .5rem; font-size: .82rem; color: #3d4f5c; }
.onb-product .badge { align-self: flex-start; }
.onb-product-why { font-size: .78rem; color: #b45309; }
.onb-product-docs { display: flex; gap: .35rem; align-items: flex-start; font-size: .76rem; color: #6b7c88; margin-bottom: .35rem; }
.onb-product-docs svg { width: 13px; height: 13px; flex: 0 0 13px; margin-top: 2px; }
.onb-picked { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 12px; border: 1.5px solid var(--brand-primary); box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), .12); background: #fff; }
.onb-picked.no { border-color: #f0c36d; box-shadow: none; }
.onb-picked-side { display: flex; flex-direction: column; align-items: flex-end; gap: .65rem; flex: 0 0 auto; }
.onb-qualify { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: #e7f6ec; color: #146c43; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.onb-qualify.no { background: #fff4de; color: #8a6100; white-space: normal; text-align: right; max-width: 220px; }
.onb-qualify svg { width: 14px; height: 14px; flex: 0 0 14px; }
.onb-change-btn { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .3rem .85rem; font-weight: 600; white-space: nowrap; }
.onb-change-btn svg { width: 14px; height: 14px; }
@media (max-width: 576px) {
    .onb-picked { flex-direction: column; }
    .onb-picked-side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; padding-top: .6rem; border-top: 1px dashed #e3e8ee; }
    .onb-qualify.no { text-align: left; }
}
a.onb-landing-product { color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.onb-landing-product:hover, a.onb-landing-product:focus-visible { border-color: var(--brand-primary); box-shadow: 0 8px 22px -14px rgba(var(--brand-primary-rgb), .8); transform: translateY(-2px); }
.onb-landing-product-cta { margin-top: auto; padding-top: .4rem; font-size: .85rem; font-weight: 600; color: var(--brand-primary); }
.onb-landing-product-cta svg { width: 15px; height: 15px; vertical-align: -3px; }
.onb-product-questions { border-top: 1px solid #eef1f4; padding-top: 1.25rem; }

/* embedded eKYC */
.onb-kyc-frame { border: 1px solid #e3e8ee; border-radius: 12px; overflow: hidden; height: 760px; background: #f4f6f9; }
.onb-kyc-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.onb-kyc-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: .9rem 1rem; border-radius: 10px; }
.onb-kyc-head.success { background: #eaf7ef; color: #146c43; }
.onb-kyc-head.warning { background: #fff8e6; color: #8a6100; }
.onb-kyc-head.danger { background: #fdeeee; color: #b02a37; }
.onb-stat { border: 1px solid #e6ebf1; border-radius: 10px; padding: .7rem .9rem; }
.onb-kyc-why { padding: .75rem .9rem; border-radius: 10px; background: #fff8e6; color: #5c4400; font-size: .9rem; }
.onb-kyc-why ul { padding-left: 1.1rem; }
.onb-kyc-why summary { cursor: pointer; }
.onb-stat span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #8a96a3; }
.onb-doc-checks th { color: #6b7c88; font-weight: 500; }
.onb-doc-checks thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #8a96a3; border-top: 0; }
.onb-doc-checks tr.differs td { color: #8a6100; }
.onb-from-doc { border: 1px solid #cfe9da; background: #f3faf6; border-radius: 12px; padding: .9rem 1.1rem; }
.onb-from-doc-head { color: #146c43; font-weight: 600; font-size: .9rem; margin-bottom: .6rem; display: flex; align-items: center; gap: .4rem; }
.onb-from-doc-head svg { width: 16px; height: 16px; }
.onb-registry { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-radius: 10px; font-size: .9rem; }
.onb-registry svg { width: 16px; height: 16px; flex: 0 0 16px; }
.onb-registry.passed { background: #eaf7ef; color: #146c43; }
.onb-registry.warning { background: #fff8e6; color: #8a6100; }
.onb-registry.failed { background: #fdeeee; color: #b02a37; }
.onb-registry.muted { background: #f1f3f5; color: #6b7c88; }
.onb-notice svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.onb-approval { border: 1px solid #ffe08a; }
.onb-approval svg { width: 16px; height: 16px; vertical-align: -3px; }
.onb-approval-toggle { margin: 0; white-space: nowrap; }
.onb-status-code { letter-spacing: .5em; font-size: 1.4rem; font-weight: 700; text-align: center; max-width: 220px; }
.onb-status-badge { font-size: .9rem; padding: .45rem .75rem; }
.onb-track { list-style: none; padding: 0; margin: 0; }
.onb-track li { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; color: #8a96a3; border-bottom: 1px dashed #eef1f4; }
.onb-track li.done { color: #2c3e50; }
.onb-track-dot { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; background: #eef2f6; }
.onb-track li.done .onb-track-dot { background: var(--brand-primary); color: #fff; }
.onb-messages { list-style: none; padding: 0; margin: 0; }
.onb-messages li { padding: .55rem .75rem; background: #f7f9fb; border-radius: 10px; margin-bottom: .5rem; font-size: .9rem; }
.onb-docs { display: grid; gap: .6rem; }
.onb-doc { display: flex; align-items: center; gap: .85rem; padding: .75rem .9rem; border: 1px dashed #cfd8e3; border-radius: 12px; background: #fff; }
.onb-doc.done { border-style: solid; border-color: #cfe9da; background: #f6fbf8; }
.onb-doc-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--brand-primary-rgb), .08); color: var(--brand-primary); }
.onb-doc.done .onb-doc-icon { background: #e3f4ea; color: #146c43; }
.onb-doc-icon svg { width: 18px; height: 18px; }
.onb-doc-warning { color: #8a6100; }
.onb-upload-progress { min-width: 140px; color: #495057; }
.onb-upload-progress .progress-bar { background-color: var(--brand-primary); }
.onb-doc .onb-upload-progress { width: 160px; flex: 0 0 160px; }
@media (max-width: 480px) { .onb-doc .onb-upload-progress { width: 110px; flex-basis: 110px; } }
.onb-doc-group { display: grid; gap: .45rem; padding: .75rem; border: 1px solid #e3e8ee; border-radius: 12px; background: #fbfcfd; }
.onb-doc-group-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.onb-doc-group .onb-doc { background: #fff; }
.onb-doc-review { margin-top: .15rem; color: #6b7c88; }
.onb-doc-review.approved { color: #146c43; }
.onb-doc-review.review, .onb-doc-review.declined { color: #8a6100; }
.onb-doc-review .spinner-border { width: .75rem; height: .75rem; border-width: .15em; vertical-align: -1px; }
.onb-staff-review { margin-top: .35rem; }
.onb-review-details { display: grid; grid-template-columns: auto 1fr; gap: .1rem .6rem; margin: .35rem 0 0; font-size: .78rem; }
.onb-review-details dt { color: #6b7c88; font-weight: 500; }
.onb-review-details dd { margin: 0; overflow-wrap: anywhere; }
.min-w-0 { min-width: 0; }
.onb-doc-extra { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.onb-doc-extra .onb-doc-type { width: auto; min-width: 200px; height: 31px; padding: .25rem 2.25rem .25rem .75rem; background-position: right .65rem center; border-radius: .4rem; font-size: .85rem; }
/* Dropdowns in the customer pages: keep room for the arrow even where the template's form-control padding applies. */
.onboarding-page select.form-select { padding-right: 2.25rem; background-position: right .75rem center; }
.onb-doc-extra svg { width: 14px; height: 14px; vertical-align: -2px; }
.onb-signature { position: relative; height: 170px; border: 1.5px solid #d6dde5; border-radius: 12px; background: #fff; overflow: hidden; }
.onb-signature.invalid { border-color: #dc3545; }
.onb-signature canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.onb-signature-line { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 2.1rem; border-top: 1px solid #c3ccd6; padding-top: .2rem; font-size: .75rem; color: #8a96a3; pointer-events: none; }
/* A saved signature (from any pad, e.g. a phone's high-density screen) scales down to fit the box, centred. */
.onb-signature.saved { display: flex; align-items: center; justify-content: center; padding: .75rem; background: #fbfcfd; }
.onb-signature.saved img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(170px - 1.5rem - 3px); object-fit: contain; }
/* How to sign: a segmented control (one track, equal segments, the chosen one raised) */
.onb-sign-modes { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 4px; padding: 4px; margin: .9rem 0 .75rem; background: #eef2f6; border-radius: 12px; }
.onb-sign-mode { position: relative; display: flex; align-items: center; justify-content: center; gap: .45rem; min-width: 0; padding: .6rem .5rem; border: 0; border-radius: 9px; background: transparent; color: #5b6b79; font-size: .88rem; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.onb-sign-mode span { overflow: hidden; text-overflow: ellipsis; }
.onb-sign-mode svg { width: 16px; height: 16px; flex: 0 0 16px; }
.onb-sign-mode:hover { color: var(--brand-primary); }
.onb-sign-mode:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 1px; }
.onb-sign-mode.active { background: #fff; color: var(--brand-primary); box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 2px 6px rgba(16, 24, 40, .06); }
.onb-sign-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: .08rem .5rem; border-radius: 999px; background: var(--brand-primary); color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.5; overflow: visible !important; }
@media (max-width: 480px) {
    .onb-sign-mode { flex-direction: column; gap: .2rem; padding: .55rem .25rem; font-size: .75rem; white-space: normal; text-align: center; }
    .onb-sign-mode span { overflow: visible; }
}
.onb-sign-phone { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1.5px solid #d6dde5; border-radius: 12px; background: #fff; }
.onb-sign-phone img { width: 150px; height: 150px; flex: 0 0 150px; image-rendering: pixelated; }
@media (max-width: 480px) { .onb-sign-phone { flex-direction: column; text-align: center; } }
.onb-sign-upload { display: flex; gap: .85rem; align-items: center; padding: 1.25rem; border: 1.5px dashed #c3ccd6; border-radius: 12px; background: #fbfcfd; cursor: pointer; margin: 0; }
.onb-sign-upload:hover { border-color: var(--brand-primary); }
.onb-sign-upload.invalid { border-color: #dc3545; }
.onb-sign-upload svg { width: 26px; height: 26px; color: var(--brand-primary); flex: 0 0 26px; }
.onb-signature-phone { height: 240px; }
.onb-later { padding: .75rem .9rem .75rem 2.25rem; border-radius: 10px; background: #fff8e6; }
.onb-staff-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.onb-staff-doc { display: flex; gap: .65rem; align-items: flex-start; min-width: 0; }
.onb-staff-doc > .small { min-width: 0; }
.onb-staff-thumb { width: 72px; height: 72px; flex: 0 0 72px; object-fit: cover; border-radius: 8px; border: 1px solid #e6ebf1; display: grid; place-items: center; text-align: center; font-weight: 700; color: #b02a37; background: #fff; text-decoration: none; }
.onb-staff-thumb small { display: block; font-weight: 400; font-size: .7rem; color: #6b7c88; }
.onb-staff-thumb.missing { font-size: .7rem; font-weight: 400; color: #8a96a3; }
.onb-staff-signature { display: block; width: auto; height: auto; max-width: min(260px, 100%); max-height: 90px; object-fit: contain; padding: .25rem; border: 1px solid #e6ebf1; border-radius: 8px; background: #fff; }
.onb-verified { display: block; color: #146c43; font-size: .8rem; margin-top: .25rem; }

/* review, consent, result */
.onb-review th { width: 38%; color: #6b7c88; font-weight: 500; }
.onb-consent { padding: .6rem .75rem .6rem 2rem; border: 1px solid #e6ebf1; border-radius: 10px; margin-bottom: .6rem; }
.onb-done-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; font-size: 2rem; color: #fff; }
.onb-done-icon.success { background: #198754; }
.onb-done-icon.pending { background: #d39e00; }
.onb-account { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; max-width: 720px; margin: 1.5rem auto 0; }
.onb-account div { border: 1px solid #e6ebf1; border-radius: 10px; padding: .75rem; }
.onb-account span { display: block; font-size: .75rem; color: #8a96a3; text-transform: uppercase; letter-spacing: .04em; }

/* back office */
.onb-kpi { width: 100%; text-align: left; border: 1px solid transparent; transition: border-color .15s, box-shadow .15s, transform .15s; }
.onb-kpi:hover, .onb-kpi:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .35); outline: none; }
.onb-kpi.active { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), .12); }
.onb-kpi h4 { font-weight: 700; }
.onb-kpi-note { display: block; margin-top: .6rem; padding-top: .55rem; border-top: 1px dashed #eef1f4; color: #8a96a3; }
.onb-tile .card-body { padding: 1rem 1.25rem; }
.onb-tile-label { font-size: .78rem; color: #8a96a3; text-transform: uppercase; letter-spacing: .04em; }
.onb-table td, .onb-table th { vertical-align: middle; }
.onb-dl { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: .4rem 1rem; margin: 0; }
.onb-dl dt { color: #6b7c88; font-weight: 500; }
.onb-dl dd { margin: 0; }
.onb-timeline { list-style: none; padding-left: 1rem; margin: 0; border-left: 2px solid #e6ebf1; }
.onb-timeline li { position: relative; padding: 0 0 .8rem .75rem; }
.onb-timeline li::before { content: ""; position: absolute; left: -1.38rem; top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-primary); }

/* "How to sign" tips (same look as the scan tips in the eKYC widget) */
.onboarding-page .tutorial-area { margin-bottom: .6rem; }
.onboarding-page .tutorial-toggle { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .4rem .75rem; border: 1px solid #e3e8ee; border-radius: .6rem; background: #f8fafc; color: #495057; font-size: .85rem; font-weight: 600; }
.onboarding-page .tutorial-toggle:hover, .onboarding-page .tutorial-toggle:focus-visible { border-color: var(--brand-primary); color: var(--brand-primary); outline: none; }
.onboarding-page .tutorial-toggle.open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-color: transparent; }
.onboarding-page .tutorial-chevron { transition: transform .2s; }
.onboarding-page .tutorial-toggle.open .tutorial-chevron { transform: rotate(180deg); }
.onboarding-page .scan-tutorial { display: flex; gap: 1rem; align-items: center; padding: .85rem 1rem; border: 1px solid #e3e8ee; border-top: 0; border-radius: 0 0 .6rem .6rem; background: #f8fafc; }
.onboarding-page .scan-tutorial-tips { margin: 0; padding-left: 1.1rem; font-size: .85rem; color: #495057; }
.sign-art { width: 150px; flex: 0 0 150px; }
.sign-paper { fill: #fff; stroke: #d6dde5; }
.sign-line { stroke: #c3ccd6; stroke-width: 1; }
.sign-ink { fill: none; stroke: #1b2a3a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: sign-ink 4.5s ease-in-out infinite; }
.sign-pen { fill: var(--brand-primary); offset-path: path('M22 56 C 30 30, 38 30, 36 50 S 44 70, 52 46 C 56 34, 60 36, 60 50 C 62 62, 70 58, 74 44 C 78 34, 84 40, 82 52 C 86 44, 94 40, 98 50 C 102 58, 110 54, 116 46 C 122 40, 128 44, 136 48'); offset-rotate: 0deg; animation: sign-pen 4.5s ease-in-out infinite; }
.sign-pen-tip { fill: #1b2a3a; }
.sign-art .tut-check, .sign-art .tut-tick { opacity: 0; transform-box: fill-box; transform-origin: center; animation: sign-pop 4.5s infinite; }
.sign-art .tut-check { fill: #198754; }
.sign-art .tut-tick { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes sign-ink { 0%, 8% { stroke-dashoffset: 100; } 62%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes sign-pen { 0%, 8% { offset-distance: 0%; opacity: 1; } 62% { offset-distance: 100%; opacity: 1; } 70%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes sign-pop { 0%, 64% { opacity: 0; transform: scale(.4); } 72% { opacity: 1; transform: scale(1.15); } 78%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .sign-ink, .sign-pen, .sign-art .tut-check, .sign-art .tut-tick { animation: none !important; }
    .sign-ink { stroke-dashoffset: 0; }
    .sign-pen { display: none; }
    .sign-art .tut-check, .sign-art .tut-tick { opacity: 1; }
}
@media (max-width: 480px) { .sign-art { width: 110px; flex-basis: 110px; } .onboarding-page .scan-tutorial-tips { font-size: .8rem; } }

/* audio guidance switch in the customer header */
.onb-audio-toggle { border: 1px solid #e3e8ee; border-radius: 999px; background: #fff; padding: .25rem .7rem; font-size: .8rem; color: #495057; }
.onb-audio-toggle.on { border-color: var(--brand-primary); color: var(--brand-primary); background: rgba(var(--brand-primary-rgb), .06); }

.onb-bar { display: flex; align-items: center; gap: .75rem; margin: .45rem 0; }
.onb-bar-name { flex: 0 0 9.5rem; color: #52616f; font-size: .85rem; }
.onb-bar-track { flex: 1; height: 8px; background: #eef1f4; border-radius: 99px; overflow: hidden; }
.onb-bar-fill { height: 100%; background: var(--brand-primary, #0033a1); border-radius: 99px; }
.onb-bar-value { flex: 0 0 3rem; text-align: right; font-weight: 700; font-size: .85rem; }
.onb-cols { display: flex; align-items: flex-end; gap: 3px; height: 140px; }
.onb-col-wrap { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; min-width: 0; }
.onb-col { width: 100%; background: var(--brand-primary, #0033a1); border-radius: 3px 3px 0 0; min-height: 2px; }
.onb-daylabels { display: flex; justify-content: space-between; color: #8a96a3; font-size: .75rem; margin-top: .35rem; }

.auth-side-brand { background: var(--brand-primary, #0033a1); display: flex; align-items: center; justify-content: center; min-height: 100%; }
.auth-side-brand-inner { text-align: center; padding: 2rem; }
.auth-side-brand-inner img { max-width: 220px; height: auto; }
.auth-side-brand-inner p { color: #fff; margin: 1.25rem 0 0; font-weight: 600; }
