/* التمويل الشخصي — بنفس هوية بنك العرش (--bk-*): سطح تيل داكن، ذهبي رفيع، نعناعي للنجاح، وزر رئيسي بنفسجي. */
body.bkf-open{overflow:hidden}
.bk.bkf{position:fixed!important;inset:0!important;z-index:2147480500!important;overflow-y:auto!important;overscroll-behavior:contain;display:block!important;max-width:none!important;margin:0!important;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px calc(96px + env(safe-area-inset-bottom,0px))!important;background:var(--bk-bg,#10232c)}
.bkf>*{max-width:560px;margin-inline:auto}
.bkf>*+*{margin-top:14px}
.bkf-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}
.bkf-top h1{font-size:21px;font-weight:800;color:var(--bk-gold-soft);text-align:center}
.bkf-back{justify-self:start;display:inline-flex;align-items:center;gap:2px;height:36px;padding:0 12px 0 8px;border:1px solid var(--bk-line);border-radius:12px;background:rgba(255,255,255,.04);color:var(--bk-gold);font-size:13px;font-weight:700}
.bkf-back svg{width:18px;height:18px;transform:scaleX(-1)}
.bkf-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border:1px solid var(--bk-line);border-radius:14px;background:rgba(255,255,255,.03)}
.bkf-tabs button{position:relative;height:38px;border:0;border-radius:10px;background:transparent;color:var(--bk-muted);font-size:14px;font-weight:700}
.bkf-tabs button[aria-selected="true"]{background:rgba(230,207,148,.14);color:var(--bk-gold-soft);box-shadow:inset 0 0 0 1px var(--bk-line-strong)}
.bkf-dot{position:absolute;top:9px;inset-inline-end:14px;width:7px;height:7px;border-radius:50%;background:var(--bk-mint)}

/* المراحل */
.bkf-stepper{display:grid;gap:7px}
.bkf-step-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:12px;color:var(--bk-muted)}
.bkf-step-row b{color:var(--bk-gold)}.bkf-step-row span{font-weight:700;color:var(--bk-text)}
.bkf-step-bar{height:6px;border-radius:99px;background:rgba(255,255,255,.09);overflow:hidden}
.bkf-step-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--bk-mint),var(--bk-gold));transition:width .5s cubic-bezier(.2,.8,.2,1)}

.bkf-card{display:grid;gap:12px;padding:16px;border:1px solid var(--bk-line);border-radius:20px;background:linear-gradient(160deg,rgba(26,54,65,.85),rgba(18,40,49,.9))}
.bkf-card h2{font-size:19px;font-weight:800;color:var(--bk-gold-soft)}.bkf-card h3{font-size:15px;font-weight:800;color:var(--bk-gold)}
.bkf-sub{font-size:12.5px;color:var(--bk-muted)}.bkf-note{font-size:11.5px;line-height:1.6;color:var(--bk-muted)}
.bkf-loading{text-align:center;padding:30px 0}
.bkf-hero{text-align:center;justify-items:center;padding:22px 16px;border-color:var(--bk-line-strong)}
.bkf-hero-ico{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:rgba(230,207,148,.14);color:var(--bk-gold)}
.bkf-hero-ico svg{width:34px;height:34px}
.bkf-hero p{font-size:14px;color:#d4e3dc;line-height:1.7}
.bkf-facts{margin:0;width:100%;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--bk-line);border-radius:14px;overflow:hidden}
.bkf-facts>div{display:grid;gap:3px;padding:10px 6px}.bkf-facts>div+div{border-inline-start:1px solid var(--bk-line)}
.bkf-facts dt{font-size:11px;color:var(--bk-muted)}.bkf-facts dd{margin:0;font-size:13px;font-weight:800;color:var(--bk-gold-soft)}

/* الأهلية */
.bkf-checks{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bkf-checks li{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--bk-line);border-radius:14px;background:rgba(255,255,255,.03);animation:bkfIn .5s calc(var(--i)*.18s) both}
@keyframes bkfIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.bkf-checks i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1.5px solid}
.bkf-checks i svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.bkf-checks .is-ok i{color:var(--bk-mint);background:rgba(126,230,187,.1)}.bkf-checks .is-no i{color:var(--bk-bad);background:rgba(255,143,134,.1)}
.bkf-checks b{display:block;font-size:14px}.bkf-checks small{font-size:12px;color:var(--bk-muted)}
.bkf-verdict{padding:10px 12px;border-radius:12px;font-size:13px;font-weight:700;text-align:center}
.bkf-verdict.is-ok{background:rgba(126,230,187,.1);color:var(--bk-mint)}.bkf-verdict.is-no{background:rgba(255,143,134,.1);color:var(--bk-bad)}

/* المبلغ */
.bkf-amount{display:grid;gap:2px;text-align:center}.bkf-amount small{font-size:12px;color:var(--bk-muted)}
.bkf-amount b{font-size:46px;line-height:1.05;font-weight:900;color:#fff;direction:ltr;font-variant-numeric:tabular-nums}.bkf-amount b i,.bkf-big b i{font-style:normal;font-size:24px;color:var(--bk-gold)}
.bkf-range{-webkit-appearance:none;appearance:none;width:100%;height:30px;background:transparent;direction:rtl;--p:50%}
.bkf-range::-webkit-slider-runnable-track{height:8px;border-radius:99px;background:linear-gradient(to left,var(--bk-gold) var(--p),rgba(255,255,255,.12) var(--p))}
.bkf-range::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;margin-top:-10px;border-radius:50%;background:#fff;border:3px solid var(--bk-gold);box-shadow:0 3px 10px #0008}
.bkf-range::-moz-range-track{height:8px;border-radius:99px;background:rgba(255,255,255,.12)}.bkf-range::-moz-range-progress{height:8px;border-radius:99px;background:var(--bk-gold)}
.bkf-range::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#fff;border:3px solid var(--bk-gold)}
.bkf-range-ends{display:flex;justify-content:space-between;font-size:11.5px;color:var(--bk-muted);direction:rtl}
.bkf-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.bkf-chip{height:38px;border:1px solid var(--bk-line);border-radius:11px;background:rgba(255,255,255,.04);color:var(--bk-text);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.bkf-chip.is-on{border-color:var(--bk-line-strong);background:rgba(230,207,148,.14);color:var(--bk-gold-soft)}

/* أرقام */
.bkf-big{display:grid;gap:3px;text-align:center;padding:6px 0}.bkf-big small{font-size:12px;color:var(--bk-muted)}
.bkf-big b{font-size:40px;line-height:1.05;font-weight:900;color:var(--bk-gold-soft);direction:ltr;font-variant-numeric:tabular-nums}.bkf-big span{font-size:11.5px;color:var(--bk-muted)}
.bkf-grid{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bkf-grid>div{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--bk-line);border-radius:13px;background:rgba(255,255,255,.03)}
.bkf-grid dt{font-size:11px;color:var(--bk-muted)}.bkf-grid dd{margin:0;font-size:14px;font-weight:800;color:var(--bk-text)}.bkf-grid dd small{font-size:10.5px;font-weight:500;color:var(--bk-muted)}
.bkf-sum{display:grid;border:1px solid var(--bk-line);border-radius:14px;overflow:hidden}
.bkf-sum>div{display:flex;align-items:baseline;justify-content:space-between;padding:12px 14px;font-size:14px}.bkf-sum>div+div{border-top:1px solid var(--bk-line)}
.bkf-sum span{color:var(--bk-muted)}.bkf-sum b{font-variant-numeric:tabular-nums;direction:ltr}
.bkf-sum .is-total{background:rgba(230,207,148,.1)}.bkf-sum .is-total b{font-size:22px;color:var(--bk-gold-soft)}.bkf-sum .is-total span{color:var(--bk-gold)}

/* الشروط والعقد */
.bkf-clauses{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.bkf-clauses li{padding:11px 13px;border:1px solid var(--bk-line);border-radius:13px;background:rgba(255,255,255,.03)}
.bkf-clauses b{display:block;font-size:13.5px;color:var(--bk-gold-soft);margin-bottom:4px}.bkf-clauses p{font-size:12.5px;line-height:1.7;color:#cfe0d8}
.bkf-contract{position:relative;padding:16px;border:1px solid var(--bk-line-strong);border-radius:6px;background:repeating-linear-gradient(115deg,rgba(230,207,148,.05) 0 1px,transparent 1px 9px),linear-gradient(160deg,#173a45,#102b34);box-shadow:inset 0 0 0 4px rgba(8,22,28,.6),inset 0 0 0 5px rgba(230,207,148,.16)}
.bkf-contract header{text-align:center;display:grid;gap:3px;padding-bottom:10px;border-bottom:1px dashed rgba(230,207,148,.35);margin-bottom:8px}
.bkf-contract header span{font-size:11px;color:var(--bk-gold);letter-spacing:.06em}.bkf-contract h2{font-size:18px;font-weight:900;color:var(--bk-gold-soft)}
.bkf-contract dl{margin:0;display:grid}
.bkf-contract dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:7px 0;border-bottom:1px dotted rgba(154,210,191,.16);font-size:12.5px}
.bkf-contract dt{color:var(--bk-muted)}.bkf-contract dd{margin:0;font-weight:800;text-align:end}
.bkf-consent{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:13px;border:1px solid var(--bk-line);border-radius:14px;font-size:12.5px;line-height:1.75;color:#d4e3dc;cursor:pointer}
.bkf-consent.is-on{border-color:rgba(126,230,187,.5);background:rgba(126,230,187,.06)}
.bkf-consent input{position:absolute;opacity:0;pointer-events:none}
.bkf-box{display:grid;place-items:center;width:24px;height:24px;margin-top:2px;border:2px solid var(--bk-muted);border-radius:7px;color:transparent}
.bkf-box svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bkf-consent.is-on .bkf-box{border-color:var(--bk-mint);background:var(--bk-mint);color:#06210f}
.bkf-consent input:focus-visible+.bkf-box{outline:2px solid var(--bk-gold);outline-offset:2px}
.bkf-signed{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid rgba(126,230,187,.45);border-radius:14px;background:rgba(126,230,187,.07)}
.bkf-signed i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--bk-mint);color:#06210f}.bkf-signed i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bkf-signed b{display:block;font-size:14px}.bkf-signed small{font-size:12px;color:var(--bk-muted)}
.bkf-done{text-align:center;justify-items:center}
.bkf-okmark svg{width:84px;height:84px;fill:none;stroke:var(--bk-mint);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bkf-okmark circle{stroke-dasharray:190;stroke-dashoffset:190;animation:bkfDraw .7s ease forwards}.bkf-okmark path{stroke-dasharray:50;stroke-dashoffset:50;animation:bkfDraw .5s .55s ease forwards}
@keyframes bkfDraw{to{stroke-dashoffset:0}}
.bkf-done p{font-size:14px}.bkf-done b{color:var(--bk-gold-soft)}

/* أزرار */
.bkf-actions{display:flex;gap:10px}.bkf-actions>*{flex:1}
.bkf-btn{min-height:50px;padding:0 16px;border:1px solid var(--bk-line);border-radius:15px;background:rgba(255,255,255,.05);color:var(--bk-text);font-size:15.5px;font-weight:800}
.bkf-btn.is-main{border:0;background:var(--bk-cta,linear-gradient(135deg,#c2b0f7,#9a85e6));color:#1b1630}
.bkf-btn.is-danger{border-color:rgba(255,143,134,.5);color:var(--bk-bad);background:rgba(255,143,134,.06)}
.bkf-btn:disabled{opacity:.45;cursor:not-allowed}
.bkf-btn:focus-visible,.bkf-chip:focus-visible,.bkf-tabs button:focus-visible{outline:2px solid var(--bk-gold);outline-offset:2px}
.bkf-err{padding:10px 12px;border-radius:12px;background:rgba(255,143,134,.1);color:var(--bk-bad);font-size:13px;text-align:center}
.bkf-block{text-align:center}.bkf-block p{font-size:13px;color:#cfe0d8}

/* تمويلاتي */
.bkf-loan{border-color:var(--bk-line-strong)}
.bkf-loan-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.bkf-loan-head small{display:block;font-size:11px;color:var(--bk-muted)}.bkf-loan-head b{font-size:15px;letter-spacing:.04em}
.bkf-pill{padding:3px 12px;border:1px solid rgba(126,230,187,.45);border-radius:999px;background:rgba(126,230,187,.1);color:var(--bk-mint);font-size:12px;font-weight:800}
.bkf-prog-bar{height:10px;border-radius:99px;background:rgba(255,255,255,.1);overflow:hidden}.bkf-prog-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--bk-mint),var(--bk-gold))}
.bkf-prog-row{display:flex;justify-content:space-between;margin-top:6px;font-size:11.5px;color:var(--bk-muted)}
.bkf-lock-note{padding:9px 12px;border:1px dashed rgba(230,207,148,.45);border-radius:12px;font-size:12px;color:var(--bk-gold)}
.bkf-sched,.bkf-hist{list-style:none;margin:0;padding:0;display:grid}
.bkf-sched li{display:grid;grid-template-columns:42px 1fr auto 22px;align-items:center;gap:8px;padding:9px 2px;border-bottom:1px solid rgba(154,210,191,.1);font-size:12.5px}
.bkf-sched .bkf-n{font-size:11px;color:var(--bk-muted);font-variant-numeric:tabular-nums}.bkf-sched b{direction:ltr;font-variant-numeric:tabular-nums}
.bkf-sched i{display:grid;place-items:center;color:var(--bk-mint)}.bkf-sched i svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bkf-sched .is-paid{opacity:.55}
.bkf-hist li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid rgba(154,210,191,.1)}.bkf-hist b{display:block;font-size:13px}.bkf-hist small{font-size:11px;color:var(--bk-muted)}.bkf-hist strong{font-size:13px;direction:ltr;color:var(--bk-gold)}
.bkf-empty{text-align:center;justify-items:center}.bkf-empty p{font-size:13px;color:var(--bk-muted)}
.bkf-sheet{position:fixed;inset:0;z-index:2147480600;display:grid;align-items:end}
.bkf-sheet-bg{position:absolute;inset:0;background:rgba(3,10,13,.7)}
.bkf-sheet-card{position:relative;display:grid;gap:12px;width:min(520px,100%);margin:0 auto;padding:20px 18px calc(22px + env(safe-area-inset-bottom,0px));border:1px solid var(--bk-line);border-bottom:0;border-radius:24px 24px 0 0;background:#12303a}
.bkf-sheet-card h3{font-size:18px;color:var(--bk-gold-soft)}.bkf-sheet-card p{font-size:13.5px;line-height:1.7}
@media(prefers-reduced-motion:reduce){.bkf-checks li{animation:none}.bkf-okmark circle,.bkf-okmark path{animation:none;stroke-dashoffset:0}.bkf-step-bar i{transition:none}}

/* زر الدخول من صفحة البنك */
.bk-finance{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;width:100%;padding:14px 16px;border:1px solid rgba(126,230,187,.38);border-radius:18px;background:linear-gradient(160deg,rgba(126,230,187,.1),rgba(255,255,255,.03));color:var(--bk-text);text-align:start}
.bk-finance .bk-manager-icon{background:rgba(126,230,187,.14);color:var(--bk-mint)}
.bk-finance .bk-manager-icon svg{width:24px;height:24px}
.bk .bkf-btn.is-main{color:#1b1630!important;background:var(--bk-cta,linear-gradient(135deg,#c2b0f7,#9a85e6))!important;border:0!important}
.bk .bkf-btn.is-main:disabled{opacity:.5}
.bk .bkf-btn.is-danger{color:var(--bk-bad)!important}
