:root {
    --bo-blue: #0f62fe;
    --bo-blue-dark: #0052e8;
    --bo-navy: #07164a;
    --bo-bg: #f8fafc;
    --bo-border: #d8e1f0;
    --bo-muted: #5b668a;
    --bo-green: #20b94d;
    --bo-shadow: 0 24px 70px rgba(7, 22, 74, 0.12);
}

* {
    box-sizing: border-box;
}

.ltr,
[dir="ltr"].ltr {
    direction: ltr;
    unicode-bidi: isolate;
}

.bo-auth-body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top, #fff 0, #f8fafc 55%, #eef4ff 100%);
    color: var(--bo-navy);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bo-auth-shell {
    width: min(100%, 460px);
    margin: 0 auto;
    padding: 18px 14px 28px;
}

.bo-auth-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(216, 225, 240, 0.8);
    border-radius: 26px;
    box-shadow: var(--bo-shadow);
}

.bo-auth-header {
    min-height: 92px;
    padding: 24px 22px 38px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(135deg, var(--bo-blue), var(--bo-blue-dark));
    border-radius: 0 0 44% 0;
    color: #fff;
}

.bo-auth-header.bo-auth-header-flat {
    border-radius: 0 0 28px 28px;
}

.bo-auth-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
}

.bo-auth-brand img,
.bo-auth-brand .fc-brand-logo {
    width: 150px;
    max-height: 44px;
    object-fit: contain;
}

.bo-auth-lang {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.bo-auth-lang a {
    color: #dbeafe;
    text-decoration: none;
}

.bo-auth-lang a.active {
    color: #fff;
}

.bo-auth-main {
    padding: 28px 22px max(32px, env(safe-area-inset-bottom));
    text-align: center;
}

.bo-auth-icon-card {
    width: 78px;
    height: 78px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--bo-border);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(7, 22, 74, 0.08);
}

.bo-auth-icon-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.bo-auth-icon-svg {
    width: 44px;
    height: 44px;
    color: #091b85;
}

.bo-auth-title {
    margin: 0;
    color: var(--bo-navy);
    font-size: 1.55rem;
    line-height: 1.18;
    font-weight: 900;
}

.bo-auth-ar {
    display: block;
    margin-top: 4px;
    font-weight: 800;
}

.bo-auth-subtitle {
    max-width: 360px;
    margin: 16px auto 20px;
    color: #27345f;
    line-height: 1.55;
}

.bo-auth-subtitle [lang="ar"],
.bo-auth-info-card [lang="ar"],
.bo-auth-alert [lang="ar"] {
    display: block;
    margin-top: 7px;
}

.bo-auth-form {
    display: grid;
    gap: 16px;
    text-align: start;
}

.bo-auth-field label,
.bo-auth-label {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.86rem;
    font-weight: 800;
}

.bo-auth-input-wrap {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--bo-border);
    border-radius: 14px;
}

.bo-auth-input-wrap svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    color: #59658f;
}

.bo-auth-input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--bo-navy);
    font: inherit;
}

.bo-auth-password-toggle {
    display: grid;
    place-items: center;
    padding: 5px;
    border: 0;
    background: transparent;
    color: #53608a;
    cursor: pointer;
}

.bo-auth-submit {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bo-blue), var(--bo-blue-dark));
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15, 98, 254, 0.24);
}

.bo-auth-alert {
    padding: 13px 14px;
    border: 1px solid #fecaca;
    border-radius: 16px;
    background: #fff3f0;
    color: #991b1b;
    text-align: start;
}

.bo-auth-info-card,
.bo-auth-installed-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #f3f8ff;
    color: #182655;
    text-align: start;
}

.bo-auth-installed-card {
    border-color: #fed7aa;
    background: #fff8ed;
}

.bo-auth-success-card {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.bo-auth-info-icon {
    font-size: 30px;
    line-height: 1;
}

.bo-auth-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: #28345c;
}

.bo-auth-remember {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bo-auth-muted-link {
    color: #7b85a6;
    text-decoration: none;
    cursor: not-allowed;
}

.bo-auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 6px 0;
    color: #667091;
}

.bo-auth-divider::before,
.bo-auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #d8e1f0;
}

.bo-auth-pwa-section {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    text-align: start;
}

.bo-auth-pwa-card {
    display: flex;
    gap: 16px;
    padding: 18px;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    background: #f0fff4;
}

.bo-auth-ios-card {
    border-color: #bfdbfe;
    background: #f3f8ff;
}

.bo-auth-pwa-card h2,
.bo-auth-pwa-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.bo-auth-pwa-card p,
.bo-auth-pwa-card ol {
    margin: 0;
    color: #28345c;
    line-height: 1.48;
}

.bo-auth-pwa-card [lang="ar"] {
    display: block;
    margin-top: 6px;
}

.bo-auth-pwa-icon {
    font-size: 34px;
}

.bo-auth-install-button {
    display: none;
    width: auto;
    min-height: 44px;
    margin-top: 12px;
    padding: 0 18px;
}

.bo-auth-install-button.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bo-auth-open-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 16px;
    padding: 0 18px;
    border-radius: 14px;
    background: #eef5ff;
    color: var(--bo-blue-dark);
    font-weight: 900;
    text-decoration: none;
}

.bo-phone {
    position: relative;
    width: 152px;
    height: 208px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border: 4px solid #9bb9f5;
    border-radius: 28px;
    background: linear-gradient(#fff, #f7fbff);
}

.bo-phone::before {
    content: "";
    position: absolute;
    top: 8px;
    width: 48px;
    height: 8px;
    border-radius: 999px;
    background: #9bb9f5;
}

.bo-phone img {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 98, 254, 0.28);
}

.bo-plus {
    position: absolute;
    right: 18px;
    bottom: 48px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--bo-blue);
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(7, 22, 74, 0.16);
}

.bo-auth-password-rules {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #28345c;
    list-style: none;
}

.bo-auth-password-rules li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.bo-auth-password-rules li::before {
    content: "✓";
    color: var(--bo-green);
    font-weight: 900;
}

.bo-dashboard-install {
    margin: 16px 0;
}

.bo-dashboard-install .bo-auth-pwa-card,
.bo-dashboard-install .bo-auth-installed-card {
    box-shadow: 0 12px 28px rgba(7, 22, 74, 0.08);
}

html[dir="rtl"] .bo-auth-form {
    text-align: right;
}

html[dir="rtl"] .bo-auth-field label {
    flex-direction: row-reverse;
}

@media (min-width: 700px) {
    .bo-auth-shell {
        padding-top: 36px;
    }

    .bo-auth-card {
        border-radius: 28px;
    }
}

@media (max-width: 430px) {
    .bo-auth-shell { padding: 12px 10px max(28px, env(safe-area-inset-bottom)); }
    .bo-auth-main { padding: 24px 16px max(36px, env(safe-area-inset-bottom)); }
    .bo-auth-title { font-size: 1.35rem; }
    .bo-auth-field label, .bo-auth-label, .bo-auth-password-rules li { display: flex; flex-direction: column; align-items: flex-start; }
    .bo-auth-row { align-items: flex-start; flex-direction: column; }
}

.bo-auth-modern { background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f7fbff 44%, #eef6ff 100%); color: #07164a; }
.bo-auth-modern .bo-auth-shell { width: min(100%, 750px); padding: 58px 24px 42px; }
.bo-auth-topbrand { display: grid; justify-items: center; gap: 10px; margin-bottom: 34px; text-align: center; }
.bo-auth-topbrand-small { margin-bottom: 28px; }
.bo-auth-logo-mark { width: 146px; height: 120px; display: grid; place-items: center; }
.bo-auth-topbrand-small .bo-auth-logo-mark { width: 82px; height: 70px; }
.bo-auth-logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.bo-auth-topbrand > img, .bo-auth-topbrand .fc-brand-logo { max-width: 300px; max-height: 76px; object-fit: contain; }
.bo-auth-topbrand-small > img, .bo-auth-topbrand-small .fc-brand-logo { max-width: 190px; max-height: 54px; }
.bo-auth-topbrand p { margin: 0; color: #64709d; font-size: clamp(1.05rem, 4vw, 1.65rem); font-weight: 500; }
.bo-auth-modern .bo-auth-card { border-color: #dce5f5; border-radius: 24px; box-shadow: 0 20px 60px rgba(7, 22, 74, .06); }
.bo-auth-login-card, .bo-auth-forgot-card { padding: clamp(28px, 5vw, 38px); }
.bo-auth-card-heading { display: flex; align-items: center; gap: 26px; margin-bottom: 30px; text-align: start; }
.bo-auth-modern .bo-auth-icon-card, .bo-auth-mini-logo { flex: 0 0 auto; width: 104px; height: 104px; margin: 0; border: 0; border-radius: 28px; background: linear-gradient(135deg, #edf4ff, #f8fbff); box-shadow: none; }
.bo-auth-modern .bo-auth-icon-svg { width: 52px; height: 52px; color: #0f62fe; }
.bo-auth-modern .bo-auth-title { font-size: clamp(2rem, 6vw, 2.55rem); letter-spacing: -.03em; }
.bo-auth-modern .bo-auth-subtitle { margin: 14px 0 0; color: #5d6b9c; font-size: clamp(1.12rem, 4vw, 1.55rem); line-height: 1.35; }
.bo-auth-modern .bo-auth-form { gap: 24px; }
.bo-auth-modern .bo-auth-field label { color: #293967; font-size: clamp(1rem, 3vw, 1.28rem); font-weight: 500; }
.bo-auth-modern .bo-auth-input-wrap { height: 76px; border-color: #c9d6ee; border-radius: 13px; padding: 0 26px; box-shadow: inset 0 1px 2px rgba(7,22,74,.03); }
.bo-auth-modern .bo-auth-input-wrap input { font-size: clamp(1.1rem, 4vw, 1.55rem); font-weight: 500; }
.bo-auth-modern .bo-auth-row { justify-content: space-between; margin: 8px 0 18px; font-size: clamp(1rem, 3.5vw, 1.28rem); }
.bo-auth-modern .bo-auth-remember input { width: 28px; height: 28px; accent-color: #0f62fe; }
.bo-auth-modern .bo-auth-muted-link { color: #0057ff; cursor: pointer; text-decoration: none; }
.bo-auth-modern .bo-auth-submit { min-height: 88px; border-radius: 13px; font-size: clamp(1.2rem, 4vw, 1.65rem); }
.bo-auth-install { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-top: 38px; padding: 30px; text-align: start; }
.bo-auth-mini-logo img { width: 72px; height: 72px; object-fit: contain; }
.bo-auth-install h2 { margin: 0 0 10px; font-size: 1.55rem; }
.bo-auth-install p { margin: 0; color: #64709d; font-size: 1.25rem; line-height: 1.35; }
.bo-auth-install-button { min-width: 150px; min-height: 70px; border: 2px solid #0f62fe; border-radius: 14px; background: #fff; color: #0f62fe; font: inherit; font-size: 1.35rem; font-weight: 700; }
.bo-auth-language { display: grid; grid-template-columns: auto 1fr 1px 1fr; align-items: center; gap: 24px; margin-top: 30px; padding: 28px 34px; }
.bo-auth-language a { color: #07164a; text-align: center; text-decoration: none; font-size: 1.35rem; font-weight: 700; }
.bo-auth-language a.active { color: #0f62fe; }
.bo-auth-language > span:nth-child(3) { height: 48px; background: #d3dceb; }
.bo-auth-globe { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: #eef4ff; color: #33446f; font-size: 2rem; }
.bo-auth-footer { display: grid; justify-items: center; gap: 22px; margin-top: 42px; color: #60709f; text-align: center; font-size: 1.18rem; }
.bo-auth-footer nav { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; }
.bo-auth-footer a { color: #0057ff; text-decoration: none; }
.bo-auth-secure { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 12px 22px; border-radius: 14px; background: rgba(233,240,252,.8); text-align: start; }
.bo-auth-secure span { grid-row: span 2; color: #0f62fe; font-size: 1.7rem; }
.bo-auth-secure small { color: #64709d; font-size: .95rem; }
.bo-auth-back { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 34px; color: #0057ff; text-decoration: none; font-size: 1.35rem; }
.bo-auth-forgot-card { text-align: center; }
.bo-auth-envelope { width: 178px; margin: 0 auto 26px; }
.bo-auth-envelope svg { width: 100%; height: auto; }
.bo-auth-forgot-card .bo-auth-subtitle { max-width: 430px; margin: 18px auto 32px; }
.bo-auth-forgot-card .bo-auth-info-card { font-size: 1.25rem; line-height: 1.35; }
.bo-auth-sent { margin-top: 22px; overflow: hidden; border-color: #b8f2d2 !important; }
.bo-auth-sent-head { display: flex; gap: 24px; align-items: center; padding: 26px; background: linear-gradient(90deg,#eafff3,#f4fff8); color: #087a43; text-align: start; }
.bo-auth-sent-head span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #18a957; color: #fff; font-size: 2rem; }
.bo-auth-sent-head p { margin: 0; font-size: 1.3rem; line-height: 1.35; }
.bo-auth-sent-head strong { display: block; }
.bo-auth-sent-actions { display: grid; gap: 22px; padding: 22px 30px 26px; text-align: center; }
.bo-auth-sent-actions button { min-height: 68px; border: 2px solid #0f62fe; border-radius: 12px; background: #fff; color: #0f62fe; font: inherit; font-weight: 800; font-size: 1.2rem; }
.bo-auth-sent-actions a { color: #0057ff; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
[dir="rtl"] .bo-auth-card-heading, [dir="rtl"] .bo-auth-install, [dir="rtl"] .bo-auth-secure, [dir="rtl"] .bo-auth-sent-head { text-align: right; }
@media (max-width: 560px) { .bo-auth-modern .bo-auth-shell { padding: 36px 14px 28px; } .bo-auth-card-heading, .bo-auth-install { grid-template-columns: 1fr; display: grid; justify-items: start; } .bo-auth-card-heading { gap: 18px; } .bo-auth-install-button { width: 100%; } .bo-auth-modern .bo-auth-row { align-items: flex-start; flex-direction: column; } .bo-auth-language { grid-template-columns: auto 1fr 1px 1fr; gap: 12px; padding: 20px 16px; } }

.bo-auth-password-page .bo-auth-shell { width: min(100%, 720px); }
.bo-auth-change-title { margin: 22px 0 24px; text-align: center; color: #07164a; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.1; }
.bo-auth-valid { width: fit-content; max-width: 100%; display: flex; align-items: center; gap: 14px; margin: 0 auto 30px; padding: 14px 24px; border-radius: 14px; background: #e9faee; color: #0b9f39; font-size: clamp(1.05rem, 4vw, 1.35rem); font-weight: 700; }
.bo-auth-valid span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #19b657; color: #fff; }
.bo-auth-password-card { display: grid; gap: 26px; padding: clamp(28px, 5vw, 38px); }
.bo-auth-strength p { display: flex; justify-content: space-between; margin: 0 0 16px; color: #536292; font-size: 1.25rem; }
.bo-auth-strength strong { color: #12a23e; }
.bo-auth-strength div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.bo-auth-strength span, .bo-auth-strength i { height: 10px; border-radius: 999px; background: #dce3ef; }
.bo-auth-strength span { background: #11a947; }
.bo-auth-modern-rules { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; color: #415381; font-size: 1.25rem; }
.bo-auth-modern-rules li { display: flex; align-items: center; gap: 18px; }
.bo-auth-modern-rules li::before { content: ""; width: 26px; height: 26px; border: 2px solid #cfd8e8; border-radius: 50%; }
.bo-auth-modern-rules li.ok::before { content: "✓"; display: grid; place-items: center; border-color: #19b657; background: #19b657; color: #fff; font-weight: 900; }
.bo-auth-password-card hr { width: 100%; border: 0; border-top: 1px solid #dce5f5; }
.bo-auth-device { display: flex; align-items: center; gap: 24px; color: #07164a; }
.bo-auth-device input { width: 64px; height: 64px; flex: 0 0 auto; accent-color: #0f62fe; }
.bo-auth-device strong, .bo-auth-device small { display: block; }
.bo-auth-device strong { font-size: 1.35rem; }
.bo-auth-device small { margin-top: 8px; color: #63729e; font-size: 1.05rem; line-height: 1.45; }
.bo-auth-password-page .bo-auth-submit { margin-top: 30px; }
.bo-auth-password-info { font-size: 1.3rem; line-height: 1.45; }
.bo-auth-cancel { display: block; margin: 34px auto 0; color: #0057ff; text-align: center; text-decoration: none; font-size: 1.25rem; font-weight: 700; }
.merchant-onboarding-app { min-height: 100vh; padding-bottom: 112px; background: #fff; color: #06122b; }
.onboarding-top { height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(20px,5vw,54px); border-bottom: 1px solid #dce3ef; background: rgba(255,255,255,.96); }
.onboarding-brand { display: flex; align-items: center; gap: 16px; }
.onboarding-brand div { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 10px; background: #0f62fe; }
.onboarding-brand img { width: 42px; height: 42px; object-fit: contain; }
.onboarding-brand p { margin: 0; line-height: 1.1; }
.onboarding-brand strong, .onboarding-brand span { display: block; }
.onboarding-brand strong { font-size: 1.55rem; }
.onboarding-brand span { color: #5c6889; font-size: 1.15rem; }
.onboarding-top nav { display: flex; align-items: center; gap: 28px; }
.onboarding-top nav a { color: #07164a; text-decoration: none; font-size: 1.4rem; }
.onboarding-avatar { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #07164a; color: #fff !important; font-weight: 800; }
.onboarding-shell { width: min(100%, 1220px); margin: 0 auto; padding: clamp(28px,5vw,46px); }
.onboarding-hero h1 { margin: 0; font-size: clamp(2rem,5vw,3.25rem); letter-spacing: -.04em; }
.onboarding-hero p { margin: 14px 0 32px; color: #5f6b8c; font-size: 1.5rem; }
.onboarding-progress { display: grid; grid-template-columns: 1fr auto; gap: 20px 48px; align-items: center; padding: 46px 36px 28px; border: 1px solid #dce3ef; border-radius: 18px; }
.onboarding-progress div { height: 58px; overflow: hidden; border-radius: 999px; background: #edf1f7; }
.onboarding-progress div span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(135deg,#0f62fe,#0052e8); }
.onboarding-progress strong { color: #0f62fe; font-size: 2.8rem; }
.onboarding-progress p { grid-column: 1/-1; margin: 0; font-size: 1.35rem; }
.onboarding-grid { display: grid; grid-template-columns: minmax(340px, 1fr) 480px; gap: 44px; margin-top: 46px; }
.onboarding-steps { display: grid; gap: 24px; }
.onboarding-step { position: relative; min-height: 132px; display: grid; grid-template-columns: 72px 42px 1fr auto; align-items: center; gap: 18px; padding: 24px 28px; border: 1px solid #dce3ef; border-radius: 16px; background: #fff; }
.onboarding-step.active { border: 2px solid #0f62fe; }
.onboarding-step span { color: #0f62fe; font-size: 1.65rem; font-weight: 800; }
.onboarding-step i { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: #eef8ee; color: #078d27; font-style: normal; font-size: 2rem; }
.onboarding-step.active i { background: #eef4ff; color: #0f62fe; }
.onboarding-step.locked i, .onboarding-step.todo i { background: #f2f5fa; color: #536174; }
.onboarding-step h2 { margin: 0; font-size: 1.45rem; line-height: 1.25; }
.onboarding-step a { align-self: end; padding: 16px 34px; border-radius: 9px; background: #0f62fe; color: #fff; text-decoration: none; font-size: 1.25rem; }
.onboarding-step b { color: #078d27; font-size: 2rem; }
.onboarding-step small { color: #65718f; }
.onboarding-side { display: grid; align-content: start; gap: 36px; }
.onboarding-side > h2, .onboarding-plan h2 { margin: 0 0 18px; font-size: 1.35rem; }
.onboarding-card-preview { overflow: hidden; border-radius: 18px; background: linear-gradient(135deg,#1268ff,#0044a8); color: #fff; box-shadow: 0 16px 40px rgba(7,22,74,.12); }
.onboarding-card-preview > div { display: flex; justify-content: space-between; padding: 28px; font-size: 1.25rem; }
.onboarding-card-preview span { display: block; opacity: .9; }
.onboarding-card-preview section { margin: 0 22px 22px; padding: 20px; border-radius: 14px; background: #fff; color: #07164a; text-align: center; }
.onboarding-card-preview p { display: flex; justify-content: space-between; margin: 0 0 14px; font-size: 1.25rem; }
.onboarding-card-preview p b { color: #7429ea; }
.onboarding-card-preview section div:not(.onboarding-fake-qr) { height: 12px; border-radius: 999px; background: #e5e9f1; }
.onboarding-card-preview section div span { width: 70%; height: 100%; border-radius: inherit; background: #8b39ef; }
.onboarding-fake-qr { width: 126px; height: 126px; margin: 18px auto; background: repeating-linear-gradient(45deg,#111 0 6px,#fff 6px 12px); }
.onboarding-card-preview em { color: #5a6682; font-style: normal; }
.onboarding-plan { padding: 28px; border: 1px solid #dce3ef; border-radius: 16px; }
.onboarding-plan strong { color: #782ff0; font-size: 1.65rem; }
.onboarding-tip { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 54px; padding: 36px; border: 1px solid #9ec1ff; border-radius: 16px; background: #f8fbff; }
.onboarding-tip span { float: left; width: 70px; height: 70px; display: grid; place-items: center; margin-right: 24px; border-radius: 50%; background: #0f62fe; color: #fff; font-size: 2rem; }
.onboarding-tip h2 { margin: 0 0 12px; color: #0f62fe; }
.onboarding-tip p { margin: 10px 0; font-size: 1.25rem; }
.onboarding-tip strong { color: #0f62fe; }
.onboarding-tip small { color: #66728f; }
.onboarding-gift { color: #8d45f4; font-size: 7rem; }
.onboarding-explore { display: block; margin-top: 38px; padding: 18px; border: 2px solid #0f62fe; border-radius: 10px; color: #0f62fe; text-align: center; text-decoration: none; font-size: 1.3rem; font-weight: 700; }
.onboarding-resume { color: #65718f; text-align: center; font-size: 1.1rem; }
.onboarding-bottom { position: fixed; right: 0; bottom: 0; left: 0; height: 104px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border-top: 1px solid #dce3ef; background: #fff; }
.onboarding-bottom a { color: #07164a; text-align: center; text-decoration: none; font-size: 1.05rem; }
.onboarding-bottom a.active { color: #0f62fe; font-weight: 800; }
.onboarding-bottom .scan { width: 90px; height: 90px; display: grid; place-items: center; justify-self: center; margin-top: -48px; border-radius: 50%; background: #0f62fe; color: #fff; box-shadow: 0 8px 24px rgba(15,98,254,.35); font-size: 2rem; }
[dir="rtl"] .onboarding-tip span { float: right; margin-right: 0; margin-left: 24px; }
@media (max-width: 900px) { .onboarding-grid { grid-template-columns: 1fr; } .onboarding-side { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .onboarding-top { padding: 12px 16px; } .onboarding-top nav { gap: 14px; } .onboarding-shell { padding: 28px 16px; } .onboarding-progress { padding: 24px 18px; gap: 14px; } .onboarding-progress div { height: 36px; } .onboarding-progress strong { font-size: 2rem; } .onboarding-step { grid-template-columns: 50px 1fr auto; gap: 12px; padding: 18px; } .onboarding-step i { display: none; } .onboarding-step a { grid-column: 2/-1; text-align: center; } .onboarding-side { grid-template-columns: 1fr; } .onboarding-tip { grid-template-columns: 1fr; padding: 24px; } .onboarding-gift { display: none; } }
/* Connexion commune Merchant / Staff — cible REF_001 */
.bo-auth-login-page {
    min-height: 100vh;
    min-height: 100svh;
}

.bo-auth-login-page .bo-auth-shell {
    width: min(100%, 500px);
    padding:
        max(18px, env(safe-area-inset-top, 0px))
        16px
        max(24px, env(safe-area-inset-bottom, 0px));
}

.bo-auth-login-page .bo-auth-topbrand {
    gap: 5px;
    margin-bottom: 20px;
}

.bo-auth-login-page .bo-auth-login-brand {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.bo-auth-login-page .bo-auth-login-brand .fc-brand-logo {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.bo-auth-login-page .bo-auth-login-brand strong {
    color: var(--bo-navy);
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
}

.bo-auth-login-page .bo-auth-login-brand .fc-brand-fallback {
    color: var(--bo-navy);
    font-size: 0;
    font-weight: 900;
}

.bo-auth-login-page .bo-auth-topbrand p {
    font-size: 0.98rem;
}

.bo-auth-login-page .bo-auth-card {
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(7, 22, 74, 0.07);
}

.bo-auth-login-page .bo-auth-login-card {
    padding: 24px;
}

.bo-auth-login-page .bo-auth-card-heading {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.bo-auth-login-page .bo-auth-icon-card {
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 18px;
}

.bo-auth-login-page .bo-auth-icon-svg {
    width: 34px;
    height: 34px;
}

.bo-auth-login-page .bo-auth-title {
    font-size: 1.52rem;
    line-height: 1.15;
}

.bo-auth-login-page .bo-auth-subtitle {
    margin: 7px 0 0;
    font-size: 0.96rem;
    line-height: 1.4;
}

.bo-auth-login-page .bo-auth-form {
    gap: 16px;
}

.bo-auth-login-page .bo-auth-field label {
    margin-bottom: 7px;
    font-size: 0.9rem;
    font-weight: 700;
}

.bo-auth-login-page .bo-auth-input-wrap {
    height: 54px;
    padding: 0 14px;
    border-radius: 13px;
}

.bo-auth-login-page .bo-auth-input-wrap input {
    font-size: 1rem;
}

.bo-auth-login-page .bo-auth-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 2px 0 4px;
    font-size: 0.91rem;
}

.bo-auth-login-page .bo-auth-remember input {
    width: 20px;
    height: 20px;
}

.bo-auth-login-page .bo-auth-submit {
    min-height: 56px;
    border-radius: 13px;
    font-size: 1rem;
}

.bo-auth-login-page .bo-auth-install {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
}

.bo-auth-login-page .bo-auth-install[hidden] {
    display: none !important;
}

.bo-auth-login-page .bo-auth-mini-logo {
    width: 54px;
    height: 54px;
    border-radius: 15px;
}

.bo-auth-login-page .bo-auth-mini-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.bo-auth-login-page .bo-auth-install h2 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.bo-auth-login-page .bo-auth-install p {
    font-size: 0.83rem;
    line-height: 1.35;
}

.bo-auth-login-page .bo-auth-install-button {
    min-width: 84px;
    min-height: 44px;
    margin: 0;
    padding: 0 12px;
    border-width: 1px;
    font-size: 0.88rem;
}

.bo-auth-login-page .bo-auth-language {
    grid-template-columns: 42px 1fr 1px 1fr;
    gap: 12px;
    margin-top: 16px;
    padding: 13px 16px;
}

.bo-auth-login-page .bo-auth-language a {
    font-size: 0.96rem;
}

.bo-auth-login-page .bo-auth-language > span:nth-child(3) {
    height: 34px;
}

.bo-auth-login-page .bo-auth-globe {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.45rem;
}

.bo-auth-login-page .bo-auth-footer {
    gap: 12px;
    margin-top: 22px;
    font-size: 0.83rem;
}

.bo-auth-login-page .bo-auth-footer p {
    margin: 0;
}

.bo-auth-login-page .bo-auth-secure {
    padding: 9px 14px;
    border-radius: 12px;
}

.bo-auth-login-page .bo-auth-secure span {
    font-size: 1.25rem;
}

.bo-auth-login-page .bo-auth-secure small {
    font-size: 0.76rem;
}

@media (max-width: 380px) {
    .bo-auth-login-page .bo-auth-shell {
        padding-right: 12px;
        padding-left: 12px;
    }

    .bo-auth-login-page .bo-auth-login-card {
        padding: 20px;
    }

    .bo-auth-login-page .bo-auth-card-heading {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 13px;
    }

    .bo-auth-login-page .bo-auth-icon-card {
        width: 56px;
        height: 56px;
    }

    .bo-auth-login-page .bo-auth-title {
        font-size: 1.35rem;
    }

    .bo-auth-login-page .bo-auth-install {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .bo-auth-login-page .bo-auth-install-button {
        grid-column: 2;
        justify-self: start;
    }
}
