/* صفحات دعم العمليات: أنماط معزولة لا تغيّر بقية الموقع */
.sc-page{--sc-green:#097548;--sc-green-dark:#085a3a;--sc-ink:#18304a;--sc-line:#dce8ef;--sc-soft:#f1f8fa;color:var(--sc-ink)}
.sc-page *, .sc-page *::before, .sc-page *::after{box-sizing:border-box}
.sc-page a:focus-visible,.sc-page button:focus-visible,.sc-page input:focus-visible,.sc-page select:focus-visible{outline:3px solid #36a7c3;outline-offset:3px}
.sc-page .sc-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--sc-green);font-size:13px;font-weight:800}
.sc-page .sc-hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#f3faf9 0%,#fff 54%,#eaf7f4 100%);border:1px solid #dceae9;border-radius:27px;padding:35px 38px;box-shadow:0 12px 34px -29px #22455a}
.sc-page .sc-hero:before{content:"";position:absolute;left:-60px;top:-125px;width:400px;height:350px;border-radius:50%;background:radial-gradient(circle,#b8e8da78,transparent 68%);pointer-events:none}
.sc-page .sc-hero h1{font-size:clamp(27px,3.2vw,42px);line-height:1.42;color:#163448;font-weight:900;margin:9px 0 4px}
.sc-page .sc-hero p{font-size:14px;color:#50677b;line-height:2;max-width:650px}
.sc-page .sc-hero-grid{display:flex;justify-content:space-between;align-items:center;gap:24px;position:relative;z-index:1}
.sc-page .sc-hero-icon{width:118px;height:118px;flex:0 0 118px;display:grid;place-items:center;border-radius:33px;background:linear-gradient(135deg,#e1f6ed,#f7fcfa);border:1px solid #cce8db;transform:rotate(-6deg);color:var(--sc-green)}
.sc-page .sc-hero-icon svg{width:58px;height:58px;transform:rotate(6deg)}
.sc-page .sc-stat-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 28px}
.sc-page .sc-stat{background:white;border:1px solid var(--sc-line);border-radius:19px;padding:17px 20px;display:flex;align-items:center;gap:14px;min-height:93px;box-shadow:0 8px 27px -26px #274052}
.sc-page .sc-stat-icon{width:43px;height:43px;flex:0 0 43px;border-radius:14px;display:grid;place-items:center;background:#e8f7ed;color:var(--sc-green)}
.sc-page .sc-stat-icon.blue{background:#e6f5fb;color:#156d94}
.sc-page .sc-stat-icon.rose{background:#fff0f1;color:#cc5360}
.sc-page .sc-stat-value{font-size:24px;font-weight:900;line-height:1.4;color:#17354b}
.sc-page .sc-stat-label{color:#597084;font-size:12px;line-height:1.8}
.sc-page .sc-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:27px 0 14px}
.sc-page .sc-section-head h2{font-size:22px;font-weight:900;color:#17354b}
.sc-page .sc-section-head p{font-size:13px;color:#718397}
.sc-page .sc-featured{display:grid;grid-template-columns:1.05fr 1.2fr;gap:0;overflow:hidden;border-radius:24px;background:#fff;border:1px solid #d8e8e4;box-shadow:0 17px 48px -39px #173f43}
.sc-page .sc-featured-media{position:relative;min-height:286px;background:#e6f2f0}
.sc-page .sc-featured-media img{height:100%;width:100%;object-fit:cover;position:absolute;inset:0}
.sc-page .sc-image-caption{position:absolute;left:12px;bottom:12px;color:#fff;font-size:11px;padding:4px 9px;border-radius:7px;background:#173848b8}
.sc-page .sc-featured-content{padding:28px 32px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.sc-page .sc-tag{display:inline-flex;align-items:center;gap:6px;border-radius:100px;background:#ecf7f3;color:#086f49;font-size:11px;font-weight:800;padding:5px 11px;width:max-content;max-width:100%}
.sc-page .sc-tag.blue{color:#146c90;background:#eaf6fc}
.sc-page .sc-tag.rose{color:#b94356;background:#fff0f2}
.sc-page .sc-featured-title{font-size:clamp(20px,2.1vw,28px);font-weight:900;line-height:1.5;color:#163449}
.sc-page .sc-muted{color:#6b8090;font-size:12px}
.sc-page .sc-description{color:#516779;font-size:13px;line-height:2}
.sc-page .sc-about-text{white-space:pre-line}
.sc-page .sc-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sc-page .sc-amount{min-width:0;text-align:center;background:#f6fafc;padding:10px 5px;border:1px solid #e6eef2;border-radius:12px}
.sc-page .sc-amount b{display:block;font-size:clamp(12px,1.2vw,16px);line-height:1.65;color:#183c53;white-space:nowrap}
.sc-page .sc-amount.owed b{color:#be384b}
.sc-page .sc-amount.covered b{color:#08754a}
.sc-page .sc-amount span{display:block;color:#728396;font-size:11px}
.sc-page .sc-progress-head{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#627788;font-size:12px;margin-bottom:8px}
.sc-page .sc-progress-head strong{color:#0a744d;font-size:13px}
.sc-page .sc-track{height:9px;overflow:hidden;background:#e5f0f5;border-radius:100px}
.sc-page .sc-fill{height:100%;border-radius:100px;background:linear-gradient(90deg,#15a26c,#087449);transition:width .28s ease}
.sc-page .sc-actions{display:flex;gap:10px;flex-wrap:wrap}
.sc-page .sc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;border-radius:12px;font-weight:800;font-size:13px;padding:9px 19px;transition:background .18s,transform .18s;text-decoration:none;white-space:nowrap}
.sc-page .sc-btn:hover{transform:translateY(-1px)}
.sc-page .sc-btn.primary{background:linear-gradient(115deg,#08784b,#089250);color:#fff;border:1px solid #08784b}
.sc-page .sc-btn.primary:hover{background:var(--sc-green-dark);color:#fff}
.sc-page .sc-btn.secondary{background:#fff;border:1px solid #a2cebb;color:#087148}
.sc-page .sc-btn.secondary:hover{background:#f0faf4}
.sc-page .sc-btn.soft{background:#f4f9fb;border:1px solid #d8e6ec;color:#285c70}
.sc-page .sc-filters{display:grid;grid-template-columns:minmax(200px,1fr) minmax(160px,220px) minmax(150px,180px);gap:10px;padding:16px;background:#fff;border:1px solid var(--sc-line);border-radius:18px;margin:16px 0 18px}
.sc-page .sc-input-wrap{position:relative;min-width:0}
.sc-page .sc-input-wrap svg{position:absolute;top:50%;right:13px;transform:translateY(-50%);color:#7690a0;width:17px;height:17px;pointer-events:none}
.sc-page .sc-filters input,.sc-page .sc-filters select{width:100%;border-radius:11px;border:1px solid #dce6ed;min-height:44px;padding:9px 14px;background:#fafcfe;font-family:inherit;font-size:12px;color:#1b4156;outline:none;min-width:0}
.sc-page .sc-filters input{padding-right:39px}
.sc-page .sc-results-line{font-size:12px;color:#627b8b;margin:8px 1px 14px}
.sc-page .sc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sc-page .sc-card{border:1px solid #deebed;background:#fff;box-shadow:0 9px 30px -27px #285066;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:transform .2s,box-shadow .2s}
.sc-page .sc-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px -30px #204454}
.sc-page .sc-card-media{height:148px;position:relative;background:linear-gradient(125deg,#e6f5f3,#e3f2f9)}
.sc-page .sc-card-media img{width:100%;height:100%;object-fit:cover}
.sc-page .sc-card-media .sc-tag{position:absolute;right:12px;top:12px;box-shadow:0 3px 14px #152d3415}
.sc-page .sc-card-media .sc-image-caption{font-size:10px}
.sc-page .sc-card-body{padding:18px;flex:1;display:flex;flex-direction:column;gap:11px}
.sc-page .sc-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.sc-page .sc-card h3{font-size:16px;line-height:1.65;font-weight:900;color:#15364a;min-height:27px}
.sc-page .sc-card .sc-amounts{gap:6px}
.sc-page .sc-card .sc-amount{padding:9px 4px}
.sc-page .sc-card .sc-amount b{font-size:12px}
.sc-page .sc-card .sc-amount span{font-size:10px}
.sc-page .sc-card .sc-actions{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sc-page .sc-card .sc-btn{padding:9px 7px;font-size:12px}
.sc-page .sc-empty{background:#fff;border:1px dashed #d0dfe6;border-radius:16px;text-align:center;padding:40px 18px;color:#61798b}
.sc-page .sc-demo{display:inline-flex;align-items:center;gap:7px;background:#fff9e7;color:#80611d;font-size:11px;font-weight:700;border:1px solid #f4dfac;border-radius:100px;padding:5px 12px}
/* بطاقة صندوق المريض الفقير */
.sc-page .sc-fund-card{border-color:#cfe6ec}
.sc-page .sc-fund-media{background:linear-gradient(135deg,#0e7490 0%,#0b5563 58%,#08694a 100%);display:grid;place-items:center;overflow:hidden}
.sc-page .sc-fund-media:before{content:"";position:absolute;inset:0;opacity:.12;background-image:radial-gradient(#fff 1.5px,transparent 1.5px);background-size:20px 20px}
.sc-page .sc-fund-media:after{content:"";position:absolute;left:-40px;bottom:-70px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,#67e8f955,transparent 68%)}
.sc-page .sc-fund-icon{position:relative;z-index:1;width:78px;height:78px;display:grid;place-items:center;border-radius:24px;background:#ffffff26;border:1px solid #ffffff44;color:#fff;transform:rotate(-6deg);backdrop-filter:blur(3px)}
.sc-page .sc-fund-icon svg{width:40px;height:40px;transform:rotate(6deg)}
.sc-page .sc-fund-media .sc-tag{z-index:2}
.sc-page .sc-fund-desc{font-size:12.5px;line-height:1.9;margin-top:-4px}
.sc-page .sc-fund-chips{display:flex;flex-wrap:wrap;gap:6px}
.sc-page .sc-fund-chips span{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:#285c70;background:#f4f9fb;border:1px solid #d8e6ec;border-radius:100px;padding:4px 10px}
.sc-page .sc-fund-chips svg{width:13px;height:13px;color:#0e7490}
/* تفاصيل الحالة */
.sc-page .sc-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;color:#718497;font-size:12px;margin-bottom:19px}
.sc-page .sc-breadcrumb a{color:#277b84}
.sc-page .sc-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:18px;align-items:start}
.sc-page .sc-detail-main,.sc-page .sc-detail-side{min-width:0;display:flex;flex-direction:column;gap:16px}
.sc-page .sc-panel{background:#fff;border:1px solid #e0eaef;border-radius:21px;padding:24px;box-shadow:0 10px 34px -30px #2e546b}
.sc-page .sc-detail-cover{height:265px;width:100%;object-fit:cover;border-radius:15px;background:#e6f2f3}
.sc-page .sc-detail-title{font-size:clamp(23px,3vw,35px);line-height:1.5;font-weight:900;color:#153749;margin:8px 0}
.sc-page .sc-detail-intro{color:#567183;line-height:2;font-size:14px;margin:11px 0 19px}
.sc-page .sc-detail-numbers{background:linear-gradient(115deg,#f9fcfc,#fff5f7);border:1px solid #e6eff0;border-radius:16px;padding:16px;margin-top:18px}
.sc-page .sc-detail-numbers .sc-amount b{font-size:clamp(13px,1.6vw,19px)}
.sc-page .sc-side-cta{text-align:center;background:linear-gradient(145deg,#f6fcfa,#fff)}
.sc-page .sc-side-cta .sc-btn{width:100%;margin-top:12px}
.sc-page .sc-side-cta h2{font-size:19px;color:#17374d;font-weight:900}
.sc-page .sc-side-cta p{font-size:12px;color:#718696;margin-top:4px}
.sc-page .sc-panel h2.sc-panel-title{font-size:18px;font-weight:900;color:#17364a;display:flex;align-items:center;gap:8px;margin-bottom:12px}
.sc-page .sc-panel-title svg{color:#13896a;width:20px;height:20px}
.sc-page .sc-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sc-page .sc-fact{background:#f6fafb;padding:12px;border-radius:11px;border:1px solid #e8eef2}
.sc-page .sc-fact span{display:block;color:#788999;font-size:11px}
.sc-page .sc-fact strong{display:block;color:#194059;font-size:13px;margin-top:4px;word-break:break-word}
.sc-page .sc-privacy{display:flex;gap:9px;align-items:flex-start;color:#537385;line-height:1.9;font-size:12px;background:#f2faf8;padding:14px;border-radius:12px}
.sc-page .sc-privacy svg{color:#08774a;width:20px;height:20px;flex:0 0 20px;margin-top:2px}
.sc-page .sc-toast{position:fixed;bottom:24px;left:24px;max-width:calc(100vw - 48px);background:#153e4e;color:white;padding:12px 18px;border-radius:12px;font-size:13px;z-index:300;box-shadow:0 12px 34px #153e4e3b}
@media(max-width:1050px){.sc-page .sc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sc-page .sc-featured{grid-template-columns:1fr 1fr}.sc-page .sc-detail-layout{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:760px){.sc-page .sc-hero{padding:25px 22px}.sc-page .sc-hero-icon{width:70px;height:70px;flex-basis:70px;border-radius:19px}.sc-page .sc-hero-icon svg{width:35px;height:35px}.sc-page .sc-stat-strip{grid-template-columns:1fr 1fr}.sc-page .sc-stat{padding:12px;min-height:74px}.sc-page .sc-stat-value{font-size:20px}.sc-page .sc-featured{grid-template-columns:1fr}.sc-page .sc-featured-media{min-height:205px}.sc-page .sc-featured-content{padding:21px}.sc-page .sc-filters{grid-template-columns:1fr 1fr}.sc-page .sc-filters .sc-input-wrap{grid-column:1/-1}.sc-page .sc-detail-layout{grid-template-columns:1fr}.sc-page .sc-detail-side{display:contents}.sc-page .sc-side-cta{order:-1}.sc-page .sc-detail-cover{height:210px}}
@media(max-width:560px){.sc-page .sc-grid{grid-template-columns:1fr}.sc-page .sc-stat-strip{grid-template-columns:1fr 1fr;gap:8px}.sc-page .sc-stat{gap:8px}.sc-page .sc-stat-icon{width:34px;height:34px;flex-basis:34px}.sc-page .sc-stat-value{font-size:18px}.sc-page .sc-stat-label{font-size:10px}.sc-page .sc-featured-content{padding:17px}.sc-page .sc-amount b{font-size:11px}.sc-page .sc-filters{padding:10px;gap:8px}.sc-page .sc-filters select{font-size:11px}.sc-page .sc-panel{padding:16px}.sc-page .sc-detail-numbers .sc-amounts{grid-template-columns:1fr 1fr}.sc-page .sc-detail-numbers .sc-amount:first-child{grid-column:1/-1}.sc-page .sc-facts{grid-template-columns:1fr 1fr}.sc-page .sc-hero-icon{display:none}}
@media(prefers-reduced-motion:reduce){.sc-page *{transition:none!important}}
