/*
Theme Name: إضاءات التميز والتمكين
Theme URI: https://example.com
Description: قالب منصة إضاءات التميز والتمكين. عربي RTL، يعمل مع إضافة «إضاءات - النواة» وWooCommerce.
Version: 0.23.0
Requires PHP: 7.4
Text Domain: edaaat-theme
*/

html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;overflow-x:clip;font-family:'IBM Plex Sans Arabic',system-ui,sans-serif;color:#2A1F3A;background:#F6F1F9}
*{box-sizing:border-box}
a{color:#773687}a:hover{color:#4073B5}
section[id]{scroll-margin-top:84px}
button{font-family:inherit}
:focus-visible{outline:3px solid #4073B5;outline-offset:2px}
@keyframes fadeIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes drift{0%,100%{transform:translate(0,0)}50%{transform:translate(24px,18px)}}
.fade{animation:fadeIn .5s ease both}
.wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.hdr{position:sticky;top:0;z-index:30;background:rgba(255,255,255,0.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #ECE3F1}
.hin{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding-top:10px;padding-bottom:10px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#773687}
.hnav{display:flex;gap:2px;align-items:center}
.hnav a{padding:11px 14px;font-size:15px;font-weight:500;text-decoration:none;color:#2A1F3A;border-radius:10px;white-space:nowrap}
.hnav a:hover{background:#F6F1F9}
.hnav a.on{color:#773687;font-weight:700;background:#F1E6F5}
.btn-o{display:inline-block;padding:10px 22px;border-radius:12px;border:1.5px solid #CDB8D6;color:#773687;font-size:15px;font-weight:600;text-decoration:none;background:#fff}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 28px;border-radius:12px;border:0;background:#773687;color:#fff;font-size:16px;font-weight:700;cursor:pointer;text-decoration:none;transition:transform .2s,box-shadow .2s}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(119,54,135,0.3);color:#fff}
.btn.blue{background:#4073B5}
.btn.ghost{background:#fff;color:#773687;border:1.5px solid #CDB8D6}
.btn.ghost:hover{color:#773687;box-shadow:0 6px 16px rgba(75,42,107,0.12)}
.btn.white{background:#fff;color:#773687}
.btn.white:hover{color:#773687}
.btn[disabled]{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(135deg,#55276A 0%,#773687 55%,#4073B5 100%)}
.hero .blob{position:absolute;border-radius:50%;animation:drift 12s ease-in-out infinite}
.hero .wrap{position:relative;padding-top:60px;padding-bottom:72px;display:flex;flex-wrap:wrap;align-items:center;gap:36px}
.hero h1{margin:12px 0 14px;font-size:46px;line-height:1.3;font-weight:700}
.hero p{margin:0 0 26px;font-size:19px;line-height:1.9;color:#F1E6F5;max-width:620px}
.eyebrow{display:inline-block;padding:6px 16px;border-radius:999px;background:rgba(255,255,255,0.16);border:1px solid rgba(255,255,255,0.25);font-size:14px;font-weight:600}
.sec{padding-top:64px;padding-bottom:8px}
.sec h2{margin:0 0 8px;font-size:34px;font-weight:700;color:#773687;text-align:center}
.sec .sub{margin:0 auto 32px;max-width:640px;text-align:center;font-size:17px;color:#6B5E7B}
.eb{display:block;text-align:center;font-size:14px;font-weight:600;color:#4073B5;margin-bottom:6px}
.eb::before,.eb::after{content:"✦";margin:0 10px;font-size:12px;color:#773687}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:20px}
.card{background:#fff;border-radius:24px;padding:28px;box-shadow:0 10px 30px rgba(75,42,107,0.07);min-width:0}
.card h3{margin:0 0 8px;font-size:22px;font-weight:700;color:#773687}
.card p{margin:0;font-size:16px;line-height:1.8;color:#4A3E5C}
.num{font-size:44px;font-weight:700;line-height:1.1;color:#773687}
.dot{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#fff;background:linear-gradient(135deg,#773687,#4073B5);margin-bottom:14px}
.tag{display:inline-block;padding:4px 14px;border-radius:999px;background:#F1E6F5;color:#55276A;font-size:13px;font-weight:600}
.lbl{display:block;font-size:14px;font-weight:600;margin-bottom:6px;color:#55276A}
.inp{width:100%;min-height:48px;padding:10px 14px;border:1.5px solid #CDB8D6;border-radius:12px;font-family:inherit;font-size:16px;background:#fff;color:#2A1F3A}
textarea.inp{min-height:96px;resize:vertical}
.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px}
.opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px}
.opt{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:52px;padding:12px 16px;border:1.5px solid #CDB8D6;border-radius:14px;background:#fff;color:#2A1F3A;font-size:16px;font-weight:600;text-align:right;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}
.opt:hover{border-color:#773687;transform:translateY(-2px)}
.opt small{font-size:13px;font-weight:500;color:#6B5E7B}
.opt.on{border-color:#773687;background:#F1E6F5;box-shadow:inset 0 0 0 1px #773687}
.err{padding:10px 14px;border-radius:10px;background:#FDECEA;color:#9B1C14;font-size:14px;font-weight:500}
.okbox{padding:28px;border-radius:20px;background:#E8F4EC;color:#17603A}
.stepper{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px}
.stp{display:flex;align-items:center;gap:10px;padding:8px 14px 8px 18px;border-radius:999px;background:#F6F1F9;color:#6B5E7B;font-size:14px;font-weight:600}
.stp b{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#CDB8D6;color:#fff;font-size:13px}
.stp.on{background:#F1E6F5;color:#773687}.stp.on b{background:#773687}
.stp.done b{background:#2E8B57}
.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.sumrow{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #ECE3F1;font-size:15px}
.hd{margin:22px 0 10px;font-size:18px;font-weight:700;color:#55276A}
.altimg{border-radius:28px;overflow:hidden;aspect-ratio:4/3;box-shadow:0 22px 50px rgba(0,0,0,0.25);min-width:0}
.ft{margin-top:72px;background:#231533;color:#E6DAF1}
.ft .bar{height:4px;background:linear-gradient(90deg,#773687,#4073B5,#998998)}
.ft .wrap{padding-top:44px;padding-bottom:28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:30px}
.ft a.fl{display:block;padding:6px 0;color:#CBB9D8;text-decoration:none;font-size:15px}
.ft a.fl:hover{color:#fff}
.ft h4{margin:0 0 8px;font-size:17px;color:#fff}
.ft .legal{max-width:1200px;margin:0 auto;padding:18px 24px 26px;border-top:1px solid #3A2852;font-size:13px;color:#BFAED2}
@media (max-width:900px){.hnav{order:3;width:100%;overflow-x:auto}.hero h1{font-size:34px}}
@media (max-width:720px){.wrap{padding-left:16px;padding-right:16px}.hero .wrap{padding-top:40px;padding-bottom:48px}.hero p{font-size:17px}.sec h2{font-size:28px}.card{padding:22px}.hin{padding-left:16px;padding-right:16px}}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}

/* ---- WordPress / WooCommerce / plugin forms ---- */
body{background:#F6F1F9;line-height:1.7}
img{max-width:100%;height:auto}
.admin-bar .hdr{top:32px}
@media (max-width:782px){.admin-bar .hdr{top:46px}}
.hdr .custom-logo{width:42px;height:42px}
.page-body{padding:40px 0 8px}
.page-body .card{padding:32px}
.entry > *:first-child{margin-top:0}
.edaaat-form{max-width:640px;margin:0 auto}
.edaaat-form label,.edaaat-teacher label{display:block;font-size:14px;font-weight:600;color:#55276A}
.edaaat-form input[type=text],.edaaat-form input[type=email],.edaaat-form input[type=tel],.edaaat-form input[type=password],.edaaat-form input[type=number],.edaaat-form select,.edaaat-form textarea,
.edaaat-teacher input[type=text],.edaaat-teacher select,.edaaat-teacher textarea,
.woocommerce form .input-text,.woocommerce form select{width:100%;min-height:48px;padding:10px 14px;margin-top:6px;border:1.5px solid #CDB8D6;border-radius:12px;font-family:inherit;font-size:16px;background:#fff;color:#2A1F3A}
.edaaat-form button,.edaaat-teacher button,.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{min-height:48px;padding:12px 28px;border:0;border-radius:12px;background:#773687;color:#fff;font-family:inherit;font-size:16px;font-weight:700;cursor:pointer}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover,.edaaat-form button:hover,.edaaat-teacher button:hover{background:#55276A;color:#fff}
.edaaat-teacher table,.edaaat-parent table{width:100%;border-collapse:collapse;margin:12px 0}
.edaaat-teacher td,.edaaat-teacher th,.edaaat-parent td,.edaaat-parent th{padding:10px 12px;border-bottom:1px solid #ECE3F1;text-align:right}
.woocommerce-message,.woocommerce-info{border-top-color:#773687!important}
.woocommerce-message::before,.woocommerce-info::before{color:#773687!important}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:#773687}
/* ---- Home ---- */
.vhero{position:relative;overflow:hidden;min-height:620px;display:flex;align-items:center;justify-content:center;background:#3F1D4B}
.vhero video,.vhero .vposter{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vhero .shade{position:absolute;inset:0;background:linear-gradient(135deg,rgba(63,29,75,0.78),rgba(64,115,181,0.55))}
.glass{position:relative;max-width:760px;margin:60px 16px;padding:44px 36px;text-align:center;color:#fff;border-radius:32px;background:rgba(255,255,255,0.12);border:1px solid rgba(255,255,255,0.3);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 30px 70px rgba(0,0,0,0.3)}
.glass h1{margin:18px 0 14px;font-size:52px;line-height:1.25;font-weight:700}
.glass p{margin:0 auto 26px;font-size:19px;color:#F1E6F5;max-width:560px}
.chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:26px}
.chips span{padding:6px 16px;border-radius:999px;background:rgba(255,255,255,0.18);border:1px solid rgba(255,255,255,0.28);font-size:14px;font-weight:600}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-radius:24px;box-shadow:0 22px 50px rgba(75,42,107,0.18);margin:-48px auto 0;position:relative;max-width:1000px}
.stat{padding:24px 16px;text-align:center;border-left:1px solid #ECE3F1}
.stat:last-child{border-left:0}
.stat b{display:block;font-size:34px;color:#773687;line-height:1.2}
.stat span{font-size:14px;color:#6B5E7B}
.pcard{display:flex;flex-direction:column;overflow:hidden;padding:0;transition:transform .25s,box-shadow .25s}
.pcard:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(75,42,107,0.16)}
.pcard .cov{height:190px;background-size:cover;background-position:center;position:relative}
.pcard .cov .tg{position:absolute;top:14px;right:14px;padding:4px 14px;border-radius:999px;background:#773687;color:#fff;font-size:13px;font-weight:600}
.pcard .bd{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1}
.pcard .bd .ft2{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.pcard .bd .pr{font-weight:700;color:#773687}
.pathc{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit;transition:transform .25s,box-shadow .25s}
.pathc:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(75,42,107,0.16);color:inherit}
.faqg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.faqg details{background:#fff;border-radius:18px;padding:16px 20px;box-shadow:0 8px 22px rgba(75,42,107,0.06)}
.faqg summary{cursor:pointer;font-weight:700;color:#55276A;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faqg summary::after{content:"+";font-size:22px;color:#773687}
.faqg details[open] summary::after{content:"−"}
.faqg p{margin:10px 0 0;color:#4A3E5C}
.wa{position:fixed;left:20px;bottom:20px;z-index:40;width:58px;height:58px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,0.25);animation:waRing 2.4s infinite}
@keyframes waRing{0%{box-shadow:0 0 0 0 rgba(37,211,102,0.55)}100%{box-shadow:0 0 0 22px rgba(37,211,102,0)}}
.cta{margin-top:64px;padding:48px 28px;border-radius:32px;text-align:center;color:#fff;background:linear-gradient(135deg,#55276A,#773687 55%,#4073B5)}
.cta h2{color:#fff;margin:0 0 10px}
@media (max-width:900px){.stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:-36px 16px 0}.stat:nth-child(2){border-left:0}.faqg{grid-template-columns:1fr}.glass h1{font-size:34px}.glass{padding:32px 20px}}
@media (prefers-reduced-motion: reduce){.vhero video{display:none}}
@keyframes rise{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:none}}
@keyframes arrive{from{opacity:0.35;transform:translateY(18px)}to{opacity:1;transform:none}}
.tslide{animation:tIn 0.7s cubic-bezier(0.2,0.7,0.2,1) both}
.tslide-b{animation:tInB 0.7s cubic-bezier(0.2,0.7,0.2,1) both}
@keyframes tIn{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:none}}
@keyframes tInB{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:none}}
.tgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;overflow:hidden;padding:6px 16px 40px;margin:-6px -16px -40px}
@media (max-width:1000px){.tgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.tgrid>.tslide:nth-child(n+3),.tgrid>.tslide-b:nth-child(n+3){display:none}}
@media (max-width:720px){.tgrid{grid-template-columns:minmax(0,1fr)}.tgrid>.tslide:nth-child(n+2),.tgrid>.tslide-b:nth-child(n+2){display:none}}
.tdot{width:10px;height:10px;border-radius:99px;border:0;padding:0;background:#CDB8D6;cursor:pointer;transition:width .3s,background .3s}
.tdot.on{width:28px;background:#773687}
.tbtn{width:44px;height:44px;border-radius:50%;border:1.5px solid #CDB8D6;background:#fff;color:#773687;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;transition:background .2s,color .2s}
.tbtn:hover{background:#773687;color:#fff}
@keyframes tBar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.marq{overflow:hidden;direction:ltr;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.mtrack{display:flex;width:max-content;animation:marq 45s linear infinite}
.mtrack.rev{animation-direction:reverse}
.mtrack.slow{animation-duration:60s}
.marq:hover .mtrack{animation-play-state:paused}
@keyframes marq{to{transform:translateX(-50%)}}
.mtile{flex:0 0 auto;width:230px;height:300px;margin-right:18px;border-radius:24px;position:relative;overflow:hidden;direction:rtl;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:20px;box-sizing:border-box;box-shadow:0 14px 34px rgba(75,42,107,0.22);transition:transform .35s ease,box-shadow .35s ease}
.mtile:hover{transform:translateY(-8px);box-shadow:0 22px 44px rgba(75,42,107,0.34)}
.mtile{background-size:cover!important;background-position:center!important}
.mtile::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(35,21,51,0.9) 0%,rgba(85,39,106,0.35) 45%,rgba(64,115,181,0.08) 100%)}
.mt-l{position:absolute;top:10px;right:18px;font-size:130px;font-weight:700;line-height:1;opacity:0.2}

.mt-tag{position:relative;align-self:flex-start;padding:4px 14px;border-radius:999px;background:rgba(255,255,255,0.2);backdrop-filter:blur(6px);font-size:13px;font-weight:600;margin-bottom:10px}
.mt-t{position:relative;font-size:21px;font-weight:700;line-height:1.4}
.mpill{flex:0 0 auto;margin-right:14px;padding:14px 26px;border-radius:999px;background:#fff;border:1px solid #E3D6EA;font-weight:600;font-size:16px;color:#55276A;display:flex;align-items:center;gap:10px;direction:rtl;box-shadow:0 6px 16px rgba(75,42,107,0.07)}
.mpill::before{content:"✦";color:#4073B5;font-size:13px}
@media (max-width:1000px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat:nth-child(2){border-left:0}.stat:nth-child(-n+2){border-bottom:1px solid #ECE3F1}}
@media (max-width:720px){.mtile{width:170px;height:230px;padding:14px}.mt-l{font-size:96px}.mt-t{font-size:17px}.mlogo{width:150px;height:88px}.faqg{grid-template-columns:minmax(0,1fr)}.cookie{left:12px;right:12px;bottom:88px;max-width:none}.wa{left:14px;bottom:16px}}
.altrow{display:flex;flex-wrap:wrap;gap:40px;align-items:center;margin-bottom:56px}
.altrow:nth-child(even){flex-direction:row-reverse}
.altimg{flex:1 1 420px;min-width:0;aspect-ratio:4/3;border-radius:28px;overflow:hidden;box-shadow:0 22px 50px rgba(75,42,107,0.22);position:relative}
.altimg img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s ease}
.altimg.im-math,.altimg.im-arabic,.altimg.im-write{background-size:cover}
.altimg{background-color:#F1E6F5}
.alttxt{flex:1 1 360px;min-width:0}
@media (max-width:720px){.altrow{gap:20px;margin-bottom:40px}}
@media (max-width:720px){.glass{padding:32px 20px;border-radius:26px}}
@media (prefers-reduced-motion: reduce){.hero-vid{display:none}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes drift{0%,100%{transform:translate(0,0)}50%{transform:translate(24px,-28px)}}
@keyframes shine{0%{transform:translateX(-160%) skewX(-20deg)}55%,100%{transform:translateX(420%) skewX(-20deg)}}
@keyframes grow{to{transform:scaleX(1)}}
@keyframes twinkle{0%,100%{opacity:0.15;transform:scale(0.8)}50%{opacity:0.9;transform:scale(1.25)}}
.rise{animation:rise 0.9s cubic-bezier(0.2,0.7,0.2,1) both}
.d1{animation-delay:0.1s}.d2{animation-delay:0.3s}.d3{animation-delay:0.5s}.d4{animation-delay:0.7s}.d5{animation-delay:0.9s}
.drift{animation:drift 9s ease-in-out infinite}
.drift2{animation:drift 12s ease-in-out -4s infinite}
.lift{transition:transform 0.3s ease,box-shadow 0.3s ease}
.lift:hover{transform:translateY(-6px);animation:none;box-shadow:0 18px 36px rgba(75,42,107,0.16)!important}
.lift2{transition:transform 0.3s ease,background 0.3s ease}
.lift2:hover{transform:translateY(-6px);animation:none;background:rgba(255,255,255,0.17)!important}
.shine-w,.shine-p{position:relative;overflow:hidden}
.shine-w::after,.shine-p::after{content:"";position:absolute;top:0;bottom:0;left:0;width:34%;animation:shine 3.4s ease-in-out infinite;pointer-events:none}
.shine-w::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,0.5),transparent)}
.shine-p::after{background:linear-gradient(90deg,transparent,rgba(119,54,135,0.22),transparent)}
.pulse-ring{animation:ring 2s ease-out infinite}
.spark{position:absolute;width:10px;height:10px;border-radius:50%;background:#FFFFFF;animation:twinkle 3s ease-in-out infinite}
.sec-c::after,.sec-r::after{content:"";display:block;width:64px;height:4px;border-radius:4px;background:linear-gradient(90deg,#773687,#4073B5);margin-top:14px}
.sec-c::after{margin-inline:auto}
@supports (animation-timeline: view()){
.rv{animation:rise linear both;animation-timeline:view();animation-range:entry calc(var(--i,0) * 7%) entry calc(46% + var(--i,0) * 7%)}
.rv:nth-child(2){--i:1}.rv:nth-child(3){--i:2}.rv:nth-child(4){--i:3}.rv:nth-child(5){--i:4}.rv:nth-child(6){--i:5}.rv:nth-child(7){--i:6}.rv:nth-child(8){--i:7}
}
@media (prefers-reduced-motion: reduce){
*,*::before,*::after{animation:none!important;transition:none!important}
.marq{overflow-x:auto}
}@keyframes ring{0%{box-shadow:0 0 0 0 rgba(255,255,255,0.6)}100%{box-shadow:0 0 0 24px rgba(255,255,255,0)}}
@keyframes gradShift{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
.cta{position:relative;overflow:hidden;background:linear-gradient(120deg,#773687,#4073B5,#6A3A9A,#773687);background-size:300% 300%;animation:gradShift 10s ease infinite}
.cta .btn{box-shadow:0 8px 22px rgba(20,8,30,0.25)}
.pillar{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:20px}
.wcard{background:#fff;border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:8px}
.wcard h3{margin:0;font-size:20px;font-weight:700}
.wcard p{margin:0;font-size:16px;color:#5A4D6B}
.wic{width:50px;height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center}
.scard{background:#fff;border-radius:24px;padding:26px}
.scard span.n{display:inline-flex;width:44px;height:44px;border-radius:50%;color:#fff;align-items:center;justify-content:center;font-weight:700}
.scard h3{margin:14px 0 6px;font-size:20px;font-weight:700}
.scard p{margin:0;font-size:15px;color:#5A4D6B}
.altrow ul{margin:0;padding:0 20px 0 0;color:#2A1F3A;font-size:16px}
.altrow li{margin:6px 0}
.tcard{background:#fff;border-radius:24px;padding:26px;border:1px solid #ECE3F1;box-shadow:0 10px 30px rgba(119,54,135,0.08);display:flex;flex-direction:column;gap:14px;min-height:210px}

/* ---- WooCommerce account / login / notices ---- */
.woocommerce-account .woocommerce{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.woocommerce-account .woocommerce-MyAccount-navigation{flex:0 0 240px;max-width:100%}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:12px 16px;border-radius:12px;text-decoration:none;font-weight:600;color:#2A1F3A;background:#F6F1F9}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#773687;color:#fff}
.woocommerce-account .woocommerce-MyAccount-content{flex:1 1 380px;min-width:0}
.woocommerce-account:not(.logged-in) .woocommerce{display:block}
.woocommerce-account .u-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:24px}
.woocommerce-account .u-columns .col-1,.woocommerce-account .u-columns .col-2{float:none;width:auto;max-width:none}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.woocommerce-ResetPassword{border:1.5px solid #ECE3F1;border-radius:24px;padding:28px;margin:0;background:#fff}
.woocommerce-account h2{color:#773687;font-size:28px;margin:0 0 16px}
.woocommerce form .form-row{margin:0 0 16px;padding:0}
.woocommerce form .form-row label{display:block;font-weight:600;color:#55276A;margin-bottom:6px;line-height:1.6}
.woocommerce form .form-row .required{color:#C2273D}
.woocommerce form .password-input{display:block;position:relative}
.woocommerce form .password-input input{padding-left:44px}
.woocommerce form .show-password-input{left:12px;right:auto}
.woocommerce form .woocommerce-form__label-for-checkbox{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px}
.woocommerce .lost_password a{color:#4073B5}
.woocommerce-message,.woocommerce-info,.woocommerce-error{outline:0!important;border:0!important;border-radius:14px;padding:14px 18px;margin:0 0 18px;list-style:none;background:#F1E6F5;color:#2A1F3A;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.woocommerce-error{background:#FBE9EC;color:#9E1F33}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-message .button,.woocommerce-info .button{order:2}
.woocommerce table.shop_table{border:1.5px solid #ECE3F1;border-radius:16px;border-collapse:separate;overflow:hidden}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px 16px;text-align:right}
.wc-block-components-button:not(.is-link){background:#773687!important;color:#fff!important;border-radius:12px!important;font-family:inherit}
.wc-block-components-checkout-place-order-button{min-height:52px}
.woocommerce-checkout .card,.woocommerce-cart .card{overflow:visible}

/* ===== واجهات المنصة: اللوحات والنماذج والدردشة والدفع ===== */
:root{--p:#773687;--pd:#55276A;--b:#4073B5;--g:#998998;--soft:#F6EEF9;--line:#ECE3F1;--ink:#2A1F3A;--ok:#17603A;--okbg:#E3F3E8;--bad:#9E1F33;--badbg:#FBE9EC}
.edaaat-parent,.edaaat-teacher,.edaaat-student{max-width:980px;margin:0 auto;color:var(--ink);line-height:1.8}
.edaaat-parent h3,.edaaat-teacher h3,.edaaat-student h3{margin:34px 0 12px;padding-right:12px;border-right:5px solid var(--p);font-size:22px;line-height:1.4;color:var(--pd)}
.edaaat-parent h3:first-child,.edaaat-teacher h3:first-child,.edaaat-student h3:first-child{margin-top:8px}
.edaaat-parent h4,.edaaat-teacher h4,.edaaat-student h4{margin:24px 0 8px;font-size:17px;color:var(--p)}
.edaaat-parent>section{background:#fff;border:1px solid var(--line)!important;border-radius:24px!important;padding:26px!important;box-shadow:0 10px 30px rgba(119,54,135,.07)}
.edaaat-parent>section>h3{margin-top:0;border-right-color:var(--b)}
.edaaat-parent>section>p:first-of-type{color:var(--g);font-weight:600}
.edaaat-parent a,.edaaat-teacher a,.edaaat-student a{color:var(--p);font-weight:600}
.edaaat-parent a:hover,.edaaat-teacher a:hover,.edaaat-student a:hover{color:var(--b)}
.edaaat-parent a.btn,.edaaat-teacher a.btn,.edaaat-student a.btn{color:#fff}

/* طيّات (الواجبات، الفصول، الدردشة، الإبلاغ) */
.edaaat-parent details,.edaaat-teacher details,.edaaat-student details{background:#fff;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 2px 8px rgba(119,54,135,.05);transition:box-shadow .2s,border-color .2s}
.edaaat-parent details:hover,.edaaat-teacher details:hover,.edaaat-student details:hover{border-color:#CDB8D6!important}
.edaaat-parent details[open],.edaaat-teacher details[open],.edaaat-student details[open]{box-shadow:0 10px 24px rgba(119,54,135,.12);border-color:#CDB8D6!important}
.edaaat-parent summary,.edaaat-teacher summary,.edaaat-student summary{list-style:none;position:relative;padding-left:28px;cursor:pointer}
.edaaat-parent summary::-webkit-details-marker,.edaaat-teacher summary::-webkit-details-marker,.edaaat-student summary::-webkit-details-marker{display:none}
.edaaat-parent summary::after,.edaaat-teacher summary::after,.edaaat-student summary::after{content:"";position:absolute;left:10px;top:50%;width:9px;height:9px;margin-top:-6px;border-left:2.5px solid var(--p);border-bottom:2.5px solid var(--p);transform:rotate(45deg);transition:transform .2s}
.edaaat-parent details[open]>summary::after,.edaaat-teacher details[open]>summary::after,.edaaat-student details[open]>summary::after{transform:rotate(-45deg);margin-top:-8px}

/* جداول */
.edaaat-parent table,.edaaat-teacher table,.edaaat-student table{width:100%;border-collapse:separate;border-spacing:0;margin:10px 0 18px;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;font-size:15px}
.edaaat-parent th,.edaaat-teacher th,.edaaat-student th{background:var(--soft);color:var(--pd);font-weight:700;padding:12px 14px;text-align:right;border-bottom:1px solid var(--line)}
.edaaat-parent td,.edaaat-teacher td,.edaaat-student td{padding:11px 14px;text-align:right;border-bottom:1px solid #F3EDF7;vertical-align:middle}
.edaaat-parent tbody tr:last-child td,.edaaat-teacher tbody tr:last-child td,.edaaat-student tbody tr:last-child td{border-bottom:0}
.edaaat-parent tbody tr:hover td,.edaaat-teacher tbody tr:hover td,.edaaat-student tbody tr:hover td{background:#FBF8FD}

/* حقول */
.edaaat-parent form p,.edaaat-teacher form p,.edaaat-student form p{margin:0 0 14px}
.edaaat-parent label,.edaaat-teacher label,.edaaat-student label,.edaaat-form label{font-size:14px;font-weight:600;color:var(--pd)}
.edaaat-parent input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.edaaat-teacher input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.edaaat-student input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.edaaat-parent select,.edaaat-teacher select,.edaaat-student select,.edaaat-parent textarea,.edaaat-teacher textarea,.edaaat-student textarea,.edaaat-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.edaaat-form select{width:100%;min-height:46px;padding:9px 14px;margin-top:6px;border:1.5px solid #CDB8D6;border-radius:12px;background:#fff;font:inherit;color:var(--ink)}
.edaaat-parent textarea,.edaaat-teacher textarea,.edaaat-student textarea{min-height:96px;resize:vertical}
.edaaat-parent input:focus,.edaaat-teacher input:focus,.edaaat-student input:focus,.edaaat-parent select:focus,.edaaat-teacher select:focus,.edaaat-student select:focus,.edaaat-parent textarea:focus,.edaaat-teacher textarea:focus,.edaaat-student textarea:focus,.edaaat-form input:focus,.edaaat-form select:focus{outline:0;border-color:var(--p);box-shadow:0 0 0 4px rgba(119,54,135,.14)}
.edaaat-parent input[type=file],.edaaat-teacher input[type=file],.edaaat-student input[type=file],.edaaat-form input[type=file]{display:block;width:100%;margin-top:6px;padding:12px;border:1.5px dashed #CDB8D6;border-radius:12px;background:var(--soft);font:inherit}
.edaaat-parent input[type=checkbox],.edaaat-teacher input[type=checkbox],.edaaat-student input[type=checkbox],.edaaat-form input[type=checkbox],.edaaat-form input[type=radio]{accent-color:var(--p);width:18px;height:18px;margin:0 0 0 8px;vertical-align:middle}
.edaaat-teacher table input,.edaaat-parent table input{margin-top:0}

/* أزرار */
.edaaat-parent button,.edaaat-teacher button,.edaaat-student button,.edaaat-form button{min-height:44px;padding:8px 22px;border:0;border-radius:12px;background:var(--p);color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}
.edaaat-parent button:hover,.edaaat-teacher button:hover,.edaaat-student button:hover,.edaaat-form button:hover{background:var(--pd);transform:translateY(-1px);box-shadow:0 8px 18px rgba(119,54,135,.25)}
.edaaat-parent button[disabled],.edaaat-teacher button[disabled],.edaaat-form button[disabled]{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.edaaat-parent table button,.edaaat-teacher table button,.edaaat-student table button,.edaaat-teacher form[style*="inline"] button,.edaaat-parent form[style*="inline"] button,.edaaat-student form[style*="inline"] button,.edaaat-teacher details form button[style*="font-size"],.edaaat-notif button{min-height:34px;padding:4px 14px;font-size:13px}
.edaaat-parent button[onclick*=confirm],.edaaat-teacher button[onclick*=confirm]{background:#fff;color:var(--bad);border:1.5px solid #E8B4BD}
.edaaat-parent button[onclick*=confirm]:hover,.edaaat-teacher button[onclick*=confirm]:hover{background:var(--badbg);box-shadow:none}
.edaaat-teacher form:has(input[name=status][value=absent]) button{background:#fff;color:var(--bad);border:1.5px solid #E8B4BD}
.edaaat-teacher form:has(input[name=status][value=present]) button{background:var(--okbg);color:var(--ok)}
.edaaat-teacher form:has(input[name=status]) button:hover{box-shadow:none;filter:brightness(.97)}

/* الإشعارات */
.edaaat-notif{background:linear-gradient(135deg,#F6EEF9,#EDF2FA)!important;border:1px solid var(--line);border-radius:20px!important;padding:18px!important}
.edaaat-notif>div:first-child{align-items:center}
.edaaat-notif .n-item{margin-top:10px;padding:10px 14px;border-radius:12px;background:#fff;border-right:4px solid var(--g)}
.edaaat-notif .n-item.n-un{background:#F3F7FD;border-right-color:var(--b)}

/* الدردشة */
.edaaat-chat-log{background:#FAF6FC!important;border:1px solid var(--line)}
.edaaat-chat .edaaat-chat-form{align-items:center}
.edaaat-chat .edaaat-chat-form input{margin:0!important;min-height:44px}
.edaaat-chat .edaaat-chat-form button{flex:0 0 auto}

/* نموذج التسجيل */
.edaaat-form{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 10px 30px rgba(119,54,135,.07)}
.edaaat-form form>p{margin:0 0 16px}
#edaaat-subjects{background:#fff;border:1.5px solid var(--line)!important;border-radius:18px!important;padding:16px 18px!important}
#edaaat-subjects legend{padding:0 8px;font-weight:700;color:var(--pd)}
#edaaat-subjects .edaaat-subj{display:block;padding:10px 14px;margin:8px 0;border:1.5px solid var(--line);border-radius:14px;background:#fff;transition:border-color .2s,background .2s}
#edaaat-subjects .edaaat-subj:hover{border-color:#CDB8D6;background:var(--soft)}
#edaaat-subjects .edaaat-subj:has(input:checked){border-color:var(--p);background:var(--soft)}
#edaaat-subjects .edaaat-pick select{margin-top:8px}
#edaaat-total{font-size:20px;color:var(--p)}

/* بطاقات المواد والدورات والمعلمات */
.edaaat-courses>div,.edaaat-teachers>div,.edaaat-subjects div[style*="padding:18px"]{transition:transform .2s,box-shadow .2s}
.edaaat-courses>div:hover,.edaaat-teachers>div:hover,.edaaat-subjects div[style*="padding:18px"]:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(119,54,135,.14)!important}
.edaaat-courses .btn{width:100%;margin-top:6px}

/* سلة الشراء والدفع */
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{max-width:1040px;margin:0 auto}
.woocommerce table.shop_table th{background:var(--soft);color:var(--pd);font-weight:700}
.woocommerce table.shop_table td.product-name .variation,.woocommerce table.shop_table td.product-name dl{margin:6px 0 0;font-size:13px;color:var(--g)}
.woocommerce table.shop_table td.product-name dl dt,.woocommerce table.shop_table td.product-name dl dd{display:inline;margin:0;float:none}
.woocommerce table.shop_table td.product-name dl dd p{display:inline;margin:0 4px 0 12px}
.woocommerce a.remove{color:var(--bad)!important;background:transparent!important;font-weight:700}
.woocommerce a.remove:hover{background:var(--badbg)!important;color:var(--bad)!important}
.woocommerce .cart_totals,.woocommerce-checkout #order_review{background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:22px}
.woocommerce .cart_totals h2,.woocommerce-checkout h3{color:var(--pd);font-size:21px;margin:0 0 14px}
.woocommerce-checkout #payment{background:var(--soft);border-radius:16px}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--line);padding:14px}
.woocommerce-checkout #payment div.payment_box{background:#fff;color:var(--ink);border-radius:12px}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment div.form-row{padding:14px}
.woocommerce #payment #place_order,.woocommerce .wc-proceed-to-checkout a.checkout-button{float:none;width:100%;min-height:54px;font-size:17px;border-radius:14px}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row select:focus,.woocommerce form .form-row textarea:focus{outline:0;border-color:var(--p);box-shadow:0 0 0 4px rgba(119,54,135,.14)}
.woocommerce .quantity input.qty{min-height:44px;border:1.5px solid #CDB8D6;border-radius:10px}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none;width:100%}
.select2-container--default .select2-selection--single{min-height:48px;border:1.5px solid #CDB8D6;border-radius:12px;display:flex;align-items:center}
.select2-container--default .select2-selection--single .select2-selection__arrow{top:10px;left:8px;right:auto}
.woocommerce-order-received .woocommerce-thankyou-order-received{background:var(--okbg);color:var(--ok);padding:14px 18px;border-radius:14px;font-weight:700}
.woocommerce ul.order_details{display:flex;flex-wrap:wrap;gap:12px;padding:0;margin:0 0 20px}
.woocommerce ul.order_details li{float:none;border:1.5px solid var(--line);border-radius:14px;padding:12px 16px;background:#fff;margin:0}

/* شاشات صغيرة */
@media (max-width:640px){
.edaaat-form{padding:20px 16px}
.edaaat-parent>section{padding:18px!important}
.edaaat-parent table,.edaaat-teacher table,.edaaat-student table{display:block;overflow-x:auto;white-space:nowrap}
.edaaat-parent h3,.edaaat-teacher h3,.edaaat-student h3{font-size:19px}
.edaaat-parent button,.edaaat-teacher button,.edaaat-student button{min-height:44px}
}
#edaaat-subjects p label{display:inline-flex;align-items:center;gap:4px;margin-left:14px}

/* ===== لوحة ولي الأمر: تبويبات وبطاقات ===== */
.edaaat-tabs{display:flex;gap:6px;overflow-x:auto;margin:0 0 16px;padding:6px;background:#F6F0F9;border-radius:16px;-webkit-overflow-scrolling:touch}
.edaaat-tabs a{flex:0 0 auto;padding:10px 16px;border-radius:12px;color:#773687;font-weight:600;text-decoration:none;white-space:nowrap}
.edaaat-tabs a.on{background:#773687;color:#fff}
.edaaat-badge{display:inline-block;min-width:20px;padding:0 6px;border-radius:10px;background:#C0392B;color:#fff;font-size:12px;text-align:center}
.edaaat-pills{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.edaaat-pills a{padding:8px 16px;border:1.5px solid #4073B5;border-radius:999px;color:#4073B5;text-decoration:none;font-weight:600}
.edaaat-pills a.on{background:#4073B5;color:#fff}
.edaaat-card{border:1px solid #ECE3F1;border-radius:20px;padding:18px 20px;margin-bottom:16px;background:#fff}
.edaaat-card h3{margin-top:0;color:#773687}
.edaaat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
.edaaat-grid .edaaat-card{margin-bottom:0}
.edaaat-list{list-style:none;margin:0;padding:0}
.edaaat-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #F0E8F4}
.edaaat-list li:last-child{border-bottom:0}
.edaaat-muted{color:#6B5E7B}
.edaaat-late{color:#9E1F33;font-weight:700}
.edaaat-soon{color:#7A5B00;font-weight:700}
.edaaat-alert{background:#FFF6DD;border:1px solid #F0DA9A;color:#6B5200;border-radius:14px;padding:12px 16px;margin-bottom:16px}
.edaaat-chip{display:inline-block;padding:2px 10px;border-radius:999px;background:#EEE;font-size:13px}
.edaaat-chip.active{background:#E3F3E8;color:#17603A}
.edaaat-chip.pending{background:#FFF6DD;color:#7A5B00}
.edaaat-chip.inactive{background:#FBE9EC;color:#9E1F33}
.edaaat-add{margin:12px 0;border:1.5px dashed #998998;border-radius:14px;padding:10px 14px}
.edaaat-add summary{cursor:pointer;color:#4073B5;font-weight:700}
.edaaat-scroll{overflow-x:auto}
@media (max-width:640px){.edaaat-grid{grid-template-columns:1fr}.edaaat-list li{flex-direction:column;align-items:flex-start}}

/* ===== لوحة المدير ===== */
.edaaat-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:16px}
.edaaat-stat{background:#F6F0F9;border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.edaaat-stat span{color:#6B5E7B;font-size:13px}
.edaaat-stat strong{color:#773687;font-size:24px}
.edaaat-filter{display:flex;gap:8px;flex-wrap:wrap}
.edaaat-filter input[type=search]{flex:1;min-width:180px}
.edaaat-enr{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #F0E8F4}
.edaaat-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.edaaat-inline{display:inline-block;margin:0}
.edaaat-manage details form p{margin:8px 0}

/* show/hide password */
.edaaat-pw{position:relative;display:block;width:100%}
.edaaat-pw input{width:100%;padding-left:46px!important}
.edaaat-pw button.edaaat-eye{position:absolute;left:6px;top:50%;transform:translateY(-50%);min-height:0!important;width:36px;height:34px;padding:0!important;border:0;background:transparent;color:#773687;cursor:pointer;border-radius:8px;font-size:18px;line-height:1;box-shadow:none}
.edaaat-pw button.edaaat-eye:hover{background:#F2EAF5}
.edaaat-pw button.edaaat-eye svg{width:20px;height:20px;display:block;margin:auto}
.edaaat-chips{margin-bottom:14px}
.edaaat-chips a{padding:7px 14px;font-size:14px;background:#fff;border:1px solid #E2D4E8}
.edaaat-teacher .edaaat-scroll table{min-width:520px}
