/*
Theme Name: Ahmed Ezzat Academy
Theme URI: https://dr-ahmedezzat.com/
Author: Custom Theme
Description: Arabic RTL educational theme for Dr. Ahmed Ezzat, designed for Tutor LMS with custom course, dashboard, login and registration styling.
Version: 1.0.102
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ahmed-ezzat-academy
*/

:root{--aez-orange:#ff6b00;--aez-orange-dark:#e95f00;--aez-ink:#111827;--aez-muted:#667085;--aez-border:#ece8e3;--aez-soft:#fff7f0;--aez-green:#2e7d32;--aez-radius:22px;--aez-shadow:0 16px 45px rgba(17,24,39,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--aez-ink);font-family:"Tajawal","Cairo",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.75;direction:rtl}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1180px,92%);margin-inline:auto}.site-main{min-height:60vh}.aez-btn,.wp-element-button,.tutor-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:.55rem;border-radius:14px!important;padding:.82rem 1.25rem!important;font-weight:800!important;border:1px solid transparent!important;transition:.2s ease}.aez-btn-primary,.tutor-btn-primary{background:var(--aez-orange)!important;color:#fff!important}.aez-btn-primary:hover,.tutor-btn-primary:hover{background:var(--aez-orange-dark)!important;transform:translateY(-1px)}.aez-btn-outline{background:#fff;border-color:var(--aez-orange)!important;color:var(--aez-orange)!important}.aez-section{padding:74px 0}.aez-section-title{font-size:clamp(1.7rem,3vw,2.6rem);margin:0 0 10px;font-weight:900;letter-spacing:-.03em}.aez-section-sub{color:var(--aez-muted);margin:0 auto 28px;max-width:740px}.aez-kicker{display:inline-flex;background:var(--aez-soft);color:var(--aez-orange);border:1px solid #ffd8bd;border-radius:999px;padding:6px 12px;font-size:.88rem;font-weight:800}

/* Header */
.aez-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(236,232,227,.85)}.aez-nav{height:78px;display:flex;align-items:center;gap:26px}.aez-brand{display:flex;align-items:center;gap:10px;min-width:max-content}.aez-brand img{width:54px;height:54px}.aez-brand-text strong{display:block;font-size:1.02rem;line-height:1.2}.aez-brand-text span{font-size:.72rem;color:var(--aez-muted)}.aez-menu{display:flex;gap:24px;align-items:center;margin-right:auto;margin-left:auto}.aez-menu a{font-weight:800;font-size:.95rem;position:relative}.aez-menu a:hover,.aez-menu .current-menu-item>a{color:var(--aez-orange)}.aez-menu a:after{content:"";height:2px;width:0;background:var(--aez-orange);position:absolute;right:0;bottom:-8px;transition:.2s}.aez-menu a:hover:after{width:100%}.aez-actions{display:flex;align-items:center;gap:10px}.aez-menu-toggle{display:none;border:0;background:var(--aez-soft);border-radius:12px;padding:10px;font-size:1.25rem}


/* Header hardening: protects the custom theme header from legacy page-builder/custom CSS that hides generic header elements. */
#aez-site-header.aez-header{display:block!important;visibility:visible!important;opacity:1!important;position:sticky!important;top:0!important;width:100%!important;height:auto!important;min-height:78px!important;overflow:visible!important;transform:none!important;clip:auto!important;clip-path:none!important;z-index:999999!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid rgba(236,232,227,.95)!important}
#aez-site-header .aez-nav{display:flex!important;visibility:visible!important;opacity:1!important}
#aez-site-header .aez-brand{display:flex!important;visibility:visible!important;opacity:1!important}
#aez-site-header .aez-brand img{display:block!important;visibility:visible!important;opacity:1!important;width:54px!important;height:54px!important}
#aez-site-header .aez-brand-text{display:block!important;visibility:visible!important;opacity:1!important}
#aez-site-header .aez-brand-text strong{display:block!important}
body.admin-bar #aez-site-header.aez-header{top:32px!important}
@media(max-width:782px){body.admin-bar #aez-site-header.aez-header{top:46px!important}}

/* Hero */
.aez-hero{overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fffaf6 100%);border-bottom:1px solid var(--aez-border)}.aez-hero-grid{min-height:620px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:42px}.aez-hero-copy h1{font-size:clamp(2.4rem,5vw,4.8rem);line-height:1.07;margin:16px 0 18px;font-weight:950;letter-spacing:-.055em}.aez-hero-copy h1 span{color:var(--aez-orange)}.aez-hero-copy p{font-size:1.15rem;color:var(--aez-muted);max-width:650px}.aez-hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.aez-hero-points{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:30px}.aez-mini{border:1px solid var(--aez-border);background:#fff;border-radius:18px;padding:16px;box-shadow:0 10px 25px rgba(17,24,39,.04)}.aez-mini b{display:block;color:var(--aez-orange);font-size:1.05rem}.aez-mini span{color:var(--aez-muted);font-size:.86rem}.aez-hero-visual{position:relative;min-height:560px;display:flex;align-items:flex-end;justify-content:center}.aez-blob{position:absolute;inset:70px 10px 30px;border-radius:42% 58% 48% 52% / 44% 45% 55% 56%;background:radial-gradient(circle at 55% 30%,#ffb678 0,#ff8a35 38%,#ff6b00 100%);opacity:.18}.aez-hero-visual img{position:relative;z-index:2;max-height:580px;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(17,24,39,.15))}.aez-quote{position:absolute;z-index:3;left:0;top:90px;background:#fff;border:1px solid #ffd0af;border-radius:18px;padding:16px 18px;box-shadow:var(--aez-shadow);font-weight:900;max-width:180px}.aez-quote:before{content:'“';color:var(--aez-orange);font-size:2rem;line-height:.5}

/* Cards */
.aez-features{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.aez-feature{border:1px solid var(--aez-border);border-radius:18px;padding:20px 16px;background:#fff;box-shadow:0 10px 26px rgba(17,24,39,.035);transition:.2s}.aez-feature:hover{transform:translateY(-4px);border-color:#ffc79e}.aez-feature .icon{width:44px;height:44px;border-radius:14px;background:var(--aez-soft);display:grid;place-items:center;color:var(--aez-orange);font-size:1.35rem;margin-bottom:10px}.aez-feature h3{font-size:1rem;margin:0 0 5px}.aez-feature p{font-size:.86rem;color:var(--aez-muted);margin:0}.aez-about{background:#fffaf6}.aez-about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;align-items:center}.aez-about-image{position:relative;min-height:420px}.aez-about-image img{height:440px;object-fit:contain}.aez-about-copy p{color:var(--aez-muted)}.aez-badges{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:22px}.aez-badge{border:1px solid var(--aez-border);border-radius:14px;background:#fff;padding:13px 14px;font-weight:800}.aez-grades{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.aez-grade{border:1px solid var(--aez-border);border-radius:20px;padding:24px;background:#fff;box-shadow:0 10px 28px rgba(17,24,39,.045);position:relative;overflow:hidden}.aez-grade:before{content:"";position:absolute;left:-20px;top:-20px;width:90px;height:90px;border-radius:50%;background:var(--aez-soft)}.aez-grade h3{margin:0;font-size:1.2rem}.aez-grade p{color:var(--aez-muted);margin:5px 0 0}.aez-courses-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.aez-course-card{border:1px solid var(--aez-border);border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 12px 32px rgba(17,24,39,.05)}.aez-course-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.aez-course-card-body{padding:18px}.aez-course-card h3{margin:6px 0 4px;font-size:1.16rem}.aez-course-card p{color:var(--aez-muted);font-size:.9rem;margin:0 0 14px}.aez-course-meta{display:flex;gap:12px;color:var(--aez-muted);font-size:.85rem;margin:10px 0 14px}.aez-cta{background:linear-gradient(135deg,#ff6b00,#ff8c37);color:#fff;border-radius:28px;padding:42px;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative}.aez-cta h2{margin:0 0 8px;font-size:2rem}.aez-cta p{margin:0;opacity:.9}.aez-cta img{height:210px;position:absolute;left:20px;bottom:-15px}

/* Generic pages */
.aez-page-hero{padding:50px 0 28px;background:#fffaf6;border-bottom:1px solid var(--aez-border)}.aez-page-hero h1{margin:0;font-size:2.4rem}.aez-content{padding:50px 0}.aez-content article{background:#fff;border:1px solid var(--aez-border);border-radius:20px;padding:30px}

/* Auth */
.aez-auth{padding:46px 0;background:linear-gradient(180deg,#fff,#fffaf6)}.aez-auth-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:34px;align-items:stretch}.aez-auth-brand,.aez-auth-card{border:1px solid var(--aez-border);border-radius:26px;background:#fff;box-shadow:var(--aez-shadow)}.aez-auth-brand{padding:34px;position:relative;overflow:hidden}.aez-auth-brand img{max-height:460px;display:block;margin:20px auto 0}.aez-auth-card{padding:34px}.aez-auth-card h1{margin-top:0}.aez-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.aez-field{display:flex;flex-direction:column;gap:7px}.aez-field.full{grid-column:1/-1}.aez-field label{font-weight:800}.aez-field input,.aez-field select{width:100%;border:1px solid #d9dde3;border-radius:13px;padding:13px 14px;font:inherit;background:#fff;outline:none}.aez-field input:focus,.aez-field select:focus{border-color:var(--aez-orange);box-shadow:0 0 0 3px rgba(255,107,0,.1)}.aez-radio-row{display:flex;gap:8px;flex-wrap:wrap}.aez-radio{flex:1;min-width:100px;border:1px solid #d9dde3;border-radius:12px;padding:11px 12px;text-align:center}.aez-notice{border-radius:14px;padding:12px 14px;margin-bottom:16px}.aez-notice.error{background:#fff1f1;color:#b42318}.aez-notice.success{background:#ecfdf3;color:#027a48}

/* Footer */
.aez-footer{border-top:1px solid var(--aez-border);padding:46px 0 20px;background:#fff}.aez-footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:32px}.aez-footer h4{margin:0 0 12px}.aez-footer ul{list-style:none;padding:0;margin:0}.aez-footer li{margin:7px 0;color:var(--aez-muted)}.aez-copy{text-align:center;color:var(--aez-muted);font-size:.82rem;border-top:1px solid var(--aez-border);margin-top:28px;padding-top:18px}

/* Tutor LMS compatibility */
.tutor-wrap,.tutor-container{max-width:1180px!important;margin-inline:auto!important}.tutor-dashboard,.tutor-course-single-content-wrapper,.tutor-course-details-page{font-family:inherit!important}.tutor-card,.tutor-dashboard .tutor-dashboard-content,.tutor-course-card,.tutor-course-details-tab,.tutor-course-single-sidebar-wrapper{border-radius:18px!important;border-color:var(--aez-border)!important;box-shadow:0 10px 28px rgba(17,24,39,.045)!important}.tutor-color-primary,.tutor-link{color:var(--aez-orange)!important}.tutor-bg-primary{background:var(--aez-orange)!important}.tutor-form-control{border-radius:12px!important}.tutor-form-control:focus{border-color:var(--aez-orange)!important;box-shadow:0 0 0 3px rgba(255,107,0,.1)!important}.tutor-dashboard-left-menu .tutor-dashboard-menu-item-link{border-radius:12px!important;margin-bottom:4px!important}.tutor-dashboard-left-menu .active .tutor-dashboard-menu-item-link,.tutor-dashboard-menu-item-link:hover{background:var(--aez-soft)!important;color:var(--aez-orange)!important}.tutor-course-card .tutor-card-image-top{border-radius:18px 18px 0 0!important}.tutor-ratings-stars{color:#ff9f43!important}.tutor-pagination-wrapper .page-numbers.current{background:var(--aez-orange)!important;color:#fff!important}.tutor-login-wrap,.tutor-registration-wrap{border-radius:22px!important;box-shadow:var(--aez-shadow)!important;border:1px solid var(--aez-border)!important;padding:28px!important}.tutor-course-single-content-wrapper{background:#fff!important}.tutor-course-single-sidebar-wrapper{background:#fff!important}.tutor-accordion-item-header.is-active{color:var(--aez-orange)!important}.tutor-course-topic-item.is-active a{color:var(--aez-orange)!important;background:var(--aez-soft)!important}.tutor-course-details-widget-col-2 .tutor-course-details-widget{border-radius:18px!important}.tutor-progress-bar .tutor-progress-value{background:var(--aez-orange)!important}.tutor-iconic-btn{border-radius:12px!important}

@media(max-width:980px){.aez-menu{display:none;position:absolute;top:78px;right:4%;left:4%;background:#fff;border:1px solid var(--aez-border);border-radius:18px;padding:18px;box-shadow:var(--aez-shadow);flex-direction:column;align-items:stretch}.aez-menu.open{display:flex}.aez-menu-toggle{display:block}.aez-actions .aez-btn{display:none!important}.aez-hero-grid,.aez-about-grid,.aez-auth-grid{grid-template-columns:1fr}.aez-hero-visual{min-height:440px}.aez-features{grid-template-columns:repeat(2,1fr)}.aez-grades,.aez-courses-grid{grid-template-columns:1fr 1fr}.aez-footer-grid{grid-template-columns:1fr 1fr}.aez-cta img{opacity:.22}}
@media(max-width:640px){.aez-nav{height:68px}.aez-brand img{width:46px;height:46px}.aez-brand-text strong{font-size:.87rem}.aez-brand-text span{display:none}.aez-hero-grid{min-height:auto;padding:34px 0}.aez-hero-copy h1{font-size:2.45rem}.aez-hero-points{grid-template-columns:1fr}.aez-hero-visual{min-height:360px}.aez-quote{left:8px;top:25px}.aez-features,.aez-grades,.aez-courses-grid,.aez-badges,.aez-footer-grid,.aez-form-grid{grid-template-columns:1fr}.aez-section{padding:52px 0}.aez-cta{padding:30px 24px}.aez-cta img{display:none}.aez-auth-card,.aez-auth-brand{padding:22px}.tutor-wrap{padding-inline:12px!important}}

/* =========================================================
   WooCommerce integration — AEZ Academy v1.0.2
   ========================================================= */
.aez-woo-main{padding:42px 0 70px;background:#fffaf6;min-height:65vh}
.aez-woo-container{direction:rtl}
.aez-woocommerce .woocommerce{font-family:inherit;color:#222}
.aez-woocommerce .woocommerce .woocommerce-breadcrumb{margin:0 0 24px;color:#777;font-size:14px}
.aez-woocommerce .woocommerce .woocommerce-breadcrumb a{color:#f36b21;text-decoration:none}
.aez-woocommerce .woocommerce h1,.aez-woocommerce .woocommerce h2,.aez-woocommerce .woocommerce h3{color:#1d1d1f}
.aez-woocommerce .woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:0}
.aez-woocommerce .woocommerce ul.products::before,.aez-woocommerce .woocommerce ul.products::after{display:none}
.aez-woocommerce .woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:#fff;border:1px solid #f1e7df;border-radius:22px;padding:14px;box-shadow:0 10px 35px rgba(45,35,27,.06);overflow:hidden;transition:.2s ease}
.aez-woocommerce .woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(45,35,27,.10)}
.aez-woocommerce .woocommerce ul.products li.product a img{border-radius:16px;margin-bottom:14px}
.aez-woocommerce .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:19px;font-weight:800;padding:4px 3px}
.aez-woocommerce .woocommerce ul.products li.product .price{color:#f36b21;font-size:18px;font-weight:800}
.aez-woocommerce .woocommerce a.button,.aez-woocommerce .woocommerce button.button,.aez-woocommerce .woocommerce input.button,.aez-woocommerce .woocommerce #respond input#submit{background:#f36b21;color:#fff;border-radius:12px;padding:12px 18px;font-weight:800;border:0;line-height:1.35}
.aez-woocommerce .woocommerce a.button:hover,.aez-woocommerce .woocommerce button.button:hover,.aez-woocommerce .woocommerce input.button:hover{background:#d95716;color:#fff}
.aez-woocommerce .woocommerce span.onsale{background:#f36b21;min-height:auto;min-width:auto;line-height:1;border-radius:999px;padding:9px 12px;right:12px;left:auto;top:12px}
.aez-woocommerce .woocommerce div.product{background:#fff;border:1px solid #f1e7df;border-radius:26px;padding:26px;box-shadow:0 12px 40px rgba(45,35,27,.06)}
.aez-woocommerce .woocommerce div.product div.images img{border-radius:20px}
.aez-woocommerce .woocommerce div.product .product_title{font-weight:900;font-size:34px;line-height:1.3}
.aez-woocommerce .woocommerce div.product p.price,.aez-woocommerce .woocommerce div.product span.price{color:#f36b21;font-size:24px;font-weight:900}
.aez-woocommerce .woocommerce div.product form.cart{display:flex;gap:10px;align-items:center}
.aez-woocommerce .woocommerce .quantity .qty{height:44px;border:1px solid #e7ddd5;border-radius:10px;padding:0 8px}
.aez-woocommerce .woocommerce div.product .woocommerce-tabs{margin-top:38px}
.aez-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;display:flex;gap:10px;border:0}
.aez-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.aez-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid #eee0d7;background:#fff8f3;border-radius:12px;margin:0;padding:0 18px}
.aez-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#f36b21;border-color:#f36b21}
.aez-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff}
.aez-woocommerce .woocommerce-message,.aez-woocommerce .woocommerce-info,.aez-woocommerce .woocommerce-error{background:#fff;border:1px solid #f0e4da;border-top:4px solid #f36b21;border-radius:14px;box-shadow:none}
.aez-woocommerce .woocommerce-message::before,.aez-woocommerce .woocommerce-info::before{color:#f36b21}
.aez-woocommerce .woocommerce table.shop_table{border:1px solid #eee2d8;border-radius:16px;background:#fff;overflow:hidden}
.aez-woocommerce .woocommerce table.shop_table th{font-weight:800;background:#fff8f3}
.aez-woocommerce .woocommerce-cart-form,.aez-woocommerce .cart_totals,.aez-woocommerce .woocommerce-checkout-review-order,.aez-woocommerce form.checkout,.aez-woocommerce .woocommerce-MyAccount-content,.aez-woocommerce .woocommerce-MyAccount-navigation{background:#fff;border:1px solid #eee2d8;border-radius:18px;padding:20px;box-shadow:0 8px 30px rgba(45,35,27,.05)}
.aez-woocommerce .woocommerce form .form-row input.input-text,.aez-woocommerce .woocommerce form .form-row textarea,.aez-woocommerce .select2-container .select2-selection--single{border:1px solid #e6ddd5;border-radius:11px;min-height:46px;padding:10px;background:#fff}
.aez-woocommerce .woocommerce-checkout #payment{background:#fff8f3;border-radius:16px}
.aez-woocommerce .woocommerce-checkout #payment div.payment_box{background:#fff}
.aez-woocommerce .woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fff}
.aez-woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.aez-woocommerce .woocommerce-MyAccount-navigation li a{display:block;padding:11px 13px;border-radius:10px;text-decoration:none;color:#333;font-weight:700}
.aez-woocommerce .woocommerce-MyAccount-navigation li.is-active a,.aez-woocommerce .woocommerce-MyAccount-navigation li a:hover{background:#fff1e8;color:#f36b21}
.aez-woocommerce .woocommerce-account .woocommerce-MyAccount-navigation{float:right;width:25%}
.aez-woocommerce .woocommerce-account .woocommerce-MyAccount-content{float:left;width:72%}
@media(max-width:900px){
  .aez-woocommerce .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .aez-woocommerce .woocommerce-account .woocommerce-MyAccount-navigation,.aez-woocommerce .woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%;margin-bottom:18px}
  .aez-woocommerce .woocommerce div.product{padding:18px}
}
@media(max-width:580px){
  .aez-woo-main{padding:24px 0 50px}
  .aez-woocommerce .woocommerce ul.products{grid-template-columns:1fr}
  .aez-woocommerce .woocommerce div.product .product_title{font-size:28px}
  .aez-woocommerce .woocommerce div.product form.cart{align-items:stretch;flex-wrap:wrap}
}

/* =========================================================
   Screenshot-matched homepage + header — v1.0.6
   ========================================================= */
:root{--aez-orange:#ff6600;--aez-orange-dark:#e85b00;--aez-ink:#101827;--aez-cream:#fff8f2}
#aez-site-header.aez-header{position:relative!important;top:auto!important;min-height:64px!important;background:#fff!important;border-top:3px solid var(--aez-orange)!important;border-bottom:1px solid #f2eee9!important;box-shadow:none!important;z-index:99999!important}
body.admin-bar #aez-site-header.aez-header{top:auto!important}
#aez-site-header .aez-nav{height:62px!important;display:grid!important;grid-template-columns:260px 1fr 230px;align-items:center;gap:16px;direction:rtl}
#aez-site-header .aez-brand{gap:8px!important;justify-self:start;min-width:0}.aez-brand img{width:48px!important;height:48px!important}.aez-brand-text{line-height:1.05;text-align:right}.aez-brand-text>span{display:block!important;color:#111827!important;font-size:13px!important;font-weight:900!important}.aez-brand-text strong{font-size:18px!important;font-weight:900!important;white-space:nowrap}.aez-brand-text small{display:block;font-size:10px;color:#6d7280;margin-top:4px}
#aez-site-header .aez-menu{margin:0!important;justify-content:center;gap:34px}.aez-menu a{font-size:13px;font-weight:900;color:#252b35;padding:19px 0 18px}.aez-menu a:after{height:3px;bottom:8px;border-radius:10px}.aez-menu a[href$="/"]{color:var(--aez-orange)}.aez-menu a[href$="/"]:after{width:100%}
#aez-site-header .aez-actions{justify-self:end;direction:ltr;gap:13px}.aez-header-cta{min-width:126px;border-radius:18px!important;padding:10px 17px!important;box-shadow:0 7px 15px rgba(255,102,0,.18);font-size:14px}.aez-user-glyph{font-size:17px}.aez-search-round{width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid #eadfd6;position:relative;cursor:pointer}.aez-search-round span{position:absolute;width:13px;height:13px;border:2px solid #1f2937;border-radius:50%;left:12px;top:9px}.aez-search-round span:after{content:"";width:7px;height:2px;background:#1f2937;position:absolute;right:-6px;bottom:-3px;transform:rotate(45deg);border-radius:3px}.aez-search-panel{display:none;background:#fff;border-bottom:1px solid #eee;padding:12px 0}.aez-search-open .aez-search-panel{display:block}.aez-search-panel form{display:flex;gap:8px}.aez-search-panel input{flex:1;border:1px solid #ddd;border-radius:12px;padding:10px 14px;font:inherit}.aez-search-panel button{border:0;border-radius:12px;background:var(--aez-orange);color:#fff;padding:0 22px;font-weight:800}

.aez-home-hero{position:relative;overflow:hidden;background:linear-gradient(105deg,#fff7ef 0%,#fff 49%,#fffaf6 100%);border-bottom:1px solid #eee5dd}.aez-home-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 17% 50%,rgba(255,136,57,.12),transparent 23%),radial-gradient(circle at 84% 35%,rgba(255,136,57,.07),transparent 21%);pointer-events:none}.aez-home-hero-grid{min-height:360px;display:grid;grid-template-columns:50% 50%;align-items:stretch;position:relative;z-index:2}.aez-home-hero-copy{grid-column:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:right;padding:30px 32px 22px 0;position:relative}.aez-home-kicker{font-size:11px;color:var(--aez-orange);border:1px solid #ffd1b2;border-radius:999px;background:#fff7f1;padding:5px 10px;font-weight:800}.aez-home-hero-copy h1{font-size:clamp(31px,3.1vw,47px);line-height:1.13;margin:14px 0 8px;font-weight:950;letter-spacing:-1.5px}.aez-home-hero-copy h1 em{display:block;font-style:normal;color:var(--aez-orange)}.aez-home-hero-copy h3{margin:4px 0 5px;font-size:17px}.aez-home-hero-copy p{font-size:13px;line-height:1.85;color:#6a7280;margin:0}.aez-home-hero-actions{display:flex;gap:12px;margin-top:14px;flex-wrap:wrap}.aez-big-cta{padding:9px 18px!important;border-radius:13px!important;font-size:13px}.aez-big-cta b{font-size:12px}.aez-student-stat{position:absolute;left:8px;bottom:18px;display:flex;align-items:center;gap:8px;border:1px solid #eadfd6;border-radius:14px;background:rgba(255,255,255,.9);padding:8px 10px;box-shadow:0 8px 22px rgba(40,31,22,.05)}.aez-student-stat span{font-size:20px}.aez-student-stat b,.aez-student-stat small{display:block}.aez-student-stat b{font-size:11px}.aez-student-stat small{font-size:9px;color:#777}
.aez-home-hero-visual{grid-column:2;position:relative;display:flex;align-items:flex-end;justify-content:center;min-height:360px}.aez-hero-orb{position:absolute;width:330px;height:330px;border-radius:50%;left:50%;top:49%;transform:translate(-50%,-50%);background:linear-gradient(145deg,#ffb06f,#ff7a16);opacity:.48;box-shadow:0 0 70px rgba(255,102,0,.09)}.aez-home-hero-visual>img{position:relative;z-index:3;height:350px;width:auto;max-width:72%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 18px 22px rgba(24,22,19,.18))}.aez-hero-quote{position:absolute;z-index:4;right:48px;top:60px;background:rgba(255,255,255,.94);border:1px solid #ff9c59;border-radius:9px;padding:12px 18px 12px 30px;text-align:center;line-height:1.35;box-shadow:0 8px 20px rgba(30,24,20,.04)}.aez-hero-quote i{position:absolute;right:-4px;top:-10px;color:var(--aez-orange);font-size:26px;font-style:normal}.aez-hero-quote strong{font-size:16px}.aez-hand-note{font-family:"Aref Ruqaa",serif;position:absolute;z-index:5;color:#101827}.aez-hand-name{left:24px;top:95px;font-size:25px;transform:rotate(-6deg);text-align:center}.aez-hand-name small{font-family:"Tajawal",sans-serif;display:block;font-size:11px;font-weight:700;line-height:1.55;transform:rotate(6deg);margin-top:8px}.aez-hand-bottom{left:18px;bottom:16px;font-size:20px;line-height:1.3;transform:rotate(-8deg)}.aez-science-doodle{position:absolute;color:#ff8b3a;opacity:.18;font-weight:900;z-index:1}.aez-doodle-1{font-size:80px;left:4%;top:10%}.aez-doodle-2{font-size:74px;right:39%;bottom:10%}.aez-doodle-3{font-size:64px;right:4%;top:18%;transform:rotate(90deg);letter-spacing:5px}

.aez-home-section{padding:27px 0;background:#fff}.aez-section-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin-bottom:17px;color:#8a8f98;font-size:10px}.aez-section-head h2,.aez-home-title{margin:0;color:#101827;font-size:22px;font-weight:950;text-align:center;position:relative}.aez-section-head h2:after,.aez-home-title:after{content:"";position:absolute;width:62px;height:2px;background:var(--aez-orange);left:50%;transform:translateX(-50%);bottom:-7px;border-radius:2px}.aez-section-head span:last-child{text-align:left}.aez-section-head.compact{margin-bottom:20px}.aez-section-head.compact a{text-align:left;color:var(--aez-orange);border:1px solid #ffb27b;border-radius:999px;padding:5px 10px;font-weight:800;font-size:10px}
.aez-features-ten{grid-template-columns:repeat(11,1fr)!important;gap:6px!important}.aez-feature{padding:12px 7px!important;border-radius:11px!important;text-align:center;min-height:120px}.aez-feature .icon{margin:0 auto 7px!important;width:30px!important;height:30px!important;font-size:17px!important;background:transparent!important}.aez-feature h3{font-size:11px!important;line-height:1.35;min-height:30px}.aez-feature p{font-size:9px!important;line-height:1.45}.aez-features-section{padding-top:16px}
.aez-about-home{background:#fffaf6;padding-top:23px}.aez-about-home-grid{display:grid;grid-template-columns:250px 1fr 250px;gap:22px;align-items:center;margin-top:22px}.aez-about-photo{height:165px;position:relative;overflow:hidden;display:flex;align-items:flex-end}.aez-about-circle{position:absolute;width:155px;height:155px;border-radius:50%;background:#ffd9bc;right:0;bottom:-15px}.aez-about-photo img{height:172px;position:relative;z-index:2;object-fit:contain}.aez-about-photo strong{position:absolute;left:5px;top:35px;z-index:3;font-family:"Aref Ruqaa",serif;color:var(--aez-orange);font-size:20px;transform:rotate(-8deg);line-height:1.25}.aez-about-text{text-align:center;color:#5f6772;font-size:12px;line-height:1.7}.aez-about-text p{margin:0 0 8px}.aez-about-badges{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:10px}.aez-about-badges span{border:1px solid #eee3db;border-radius:8px;background:#fff;padding:6px 5px;color:#303640;font-size:9px;font-weight:800}.aez-mission-card{border:1px solid #ffad73;border-radius:10px;background:#fff;padding:18px;text-align:center;position:relative}.aez-mission-card i{position:absolute;right:12px;top:4px;color:var(--aez-orange);font-size:24px;font-style:normal}.aez-mission-card p{font-size:17px;margin:6px 0;line-height:1.5}.aez-mission-card p b{color:var(--aez-orange)}.aez-mission-card strong{font-family:"Aref Ruqaa",serif;font-size:18px}
.aez-grades-home{padding-top:15px}.aez-grades-polished{gap:20px}.aez-grades-polished .aez-grade{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;border-radius:12px}.aez-grades-polished .aez-grade>span{font-size:28px;color:var(--aez-orange)}.aez-grades-polished .aez-grade>div{flex:1;padding-right:13px}.aez-grades-polished .aez-grade h3{font-size:15px}.aez-grades-polished .aez-grade p{font-size:10px}.aez-grades-polished .aez-grade>b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff0e4;color:var(--aez-orange)}
.aez-courses-home{background:#fff;padding-top:17px}.aez-four-courses{grid-template-columns:repeat(4,1fr)!important;gap:18px}.aez-course-card{border-radius:11px!important}.aez-course-card img{aspect-ratio:16/7!important}.aez-course-card-body{padding:9px 10px 10px!important;position:relative}.aez-course-tag{position:absolute;right:12px;top:-20px;background:#fff;color:var(--aez-orange);border:1px solid #ffb27b;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800}.aez-course-card h3{font-size:14px!important;margin:2px 0 5px!important}.aez-course-meta{font-size:9px!important;margin:5px 0!important;justify-content:center}.aez-course-go{display:block;background:var(--aez-orange);color:#fff;text-align:center;border-radius:7px;padding:6px;font-size:10px;font-weight:900}
.aez-testimonials-home{padding-top:8px}.aez-bottom-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:16px;align-items:stretch;margin-top:20px}.aez-testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.aez-testimonials article{border:1px solid #eee3db;border-radius:11px;padding:12px;background:#fff;box-shadow:0 8px 20px rgba(20,20,20,.04)}.aez-testimonials p{font-size:10px;line-height:1.55;min-height:47px;margin:0 0 6px}.aez-testimonials b,.aez-testimonials small{display:block}.aez-testimonials b{font-size:10px}.aez-testimonials small{font-size:8px;color:#7a8088}.stars{color:#ff8b37;letter-spacing:1px;font-size:10px}.aez-final-cta{min-height:145px;border-radius:13px;background:linear-gradient(120deg,#ff6b00,#ff9a52);color:#fff;position:relative;overflow:hidden;padding:20px 24px}.aez-final-cta h2{font-size:24px;line-height:1.2;margin:0}.aez-final-cta p{font-size:11px;margin:3px 0 10px}.aez-final-cta a{display:inline-block;background:#fff;color:var(--aez-orange);border-radius:999px;padding:6px 14px;font-size:10px;font-weight:900}.aez-final-cta img{position:absolute;left:15px;bottom:-5px;height:145px;filter:drop-shadow(0 10px 15px rgba(0,0,0,.15))}

@media(max-width:980px){#aez-site-header .aez-nav{display:flex!important}.aez-menu{top:62px!important}.aez-home-hero-grid{grid-template-columns:1fr}.aez-home-hero-copy{grid-column:1;padding:36px 0 15px;align-items:center;text-align:center}.aez-home-hero-visual{grid-column:1;min-height:360px}.aez-student-stat{position:static;margin-top:15px}.aez-features-ten{grid-template-columns:repeat(4,1fr)!important}.aez-about-home-grid{grid-template-columns:1fr}.aez-about-photo{justify-content:center}.aez-about-badges{grid-template-columns:repeat(2,1fr)}.aez-four-courses{grid-template-columns:repeat(2,1fr)!important}.aez-bottom-grid{grid-template-columns:1fr}.aez-actions .aez-header-cta{display:inline-flex!important}.aez-brand-text small{display:none}}
@media(max-width:640px){#aez-site-header.aez-header{min-height:60px!important}#aez-site-header .aez-nav{height:58px!important}.aez-brand img{width:42px!important;height:42px!important}.aez-brand-text strong{font-size:14px!important}.aez-brand-text>span{font-size:10px!important}.aez-search-round{display:none}.aez-header-cta{min-width:auto!important;padding:8px 11px!important;font-size:11px}.aez-home-hero-copy h1{font-size:34px}.aez-home-hero-visual>img{height:315px;max-width:90%}.aez-hero-orb{width:280px;height:280px}.aez-hand-name{left:0}.aez-hand-bottom{display:none}.aez-hero-quote{right:6px;top:45px}.aez-features-ten{grid-template-columns:repeat(2,1fr)!important}.aez-section-head{grid-template-columns:1fr;text-align:center}.aez-section-head span,.aez-section-head span:last-child,.aez-section-head.compact a{text-align:center}.aez-four-courses{grid-template-columns:1fr!important}.aez-testimonials{grid-template-columns:1fr}.aez-about-badges{grid-template-columns:1fr 1fr}.aez-final-cta img{opacity:.32}}


/* v1.0.7 courses section fixes */
.aez-courses-home .aez-section-head.compact{grid-template-columns:auto 1fr auto;align-items:center;gap:12px}
.aez-courses-home .aez-section-head.compact h2{justify-self:center}
.aez-courses-home .aez-section-head.compact span:first-child{justify-self:end;white-space:nowrap}
.aez-courses-home .aez-section-head.compact a{justify-self:start;display:inline-flex;align-items:center;width:auto;white-space:nowrap;padding:7px 18px;font-size:12px}
.aez-four-courses{align-items:stretch}
.aez-course-card{display:flex;flex-direction:column;height:100%}
.aez-course-thumb{display:block}
.aez-course-card img{display:block}
.aez-course-card-body{display:flex;flex-direction:column;gap:8px;min-height:168px;padding:14px 14px 14px!important}
.aez-course-tag{top:-14px;font-size:10px;padding:4px 10px}
.aez-course-card h3{font-size:17px!important;line-height:1.5;min-height:3em;margin:2px 0 0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.aez-course-card h3 a{color:inherit;text-decoration:none}
.aez-course-excerpt{font-size:12px;color:#6b7280;line-height:1.7;margin:0;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.aez-course-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px!important;margin-top:auto!important;padding-top:2px}
.aez-course-meta span{white-space:nowrap}
.aez-course-go{margin-top:2px;padding:10px 12px;font-size:12px;border-radius:10px}
@media(max-width:980px){.aez-courses-home .aez-section-head.compact{grid-template-columns:1fr}.aez-courses-home .aez-section-head.compact a,.aez-courses-home .aez-section-head.compact span:first-child{justify-self:center}}


/* =========================================================
   v1.0.8 — Hero portrait corrected to match approved mockup
   ========================================================= */
.aez-home-hero{background:#fffaf6!important;min-height:370px}
.aez-home-hero:before{background:
  radial-gradient(circle at 18% 52%,rgba(255,132,54,.10),transparent 27%),
  linear-gradient(90deg,rgba(255,245,236,.65),rgba(255,255,255,.9))!important}
.aez-home-hero-grid{min-height:370px!important}
.aez-home-hero-visual{min-height:370px!important;overflow:visible!important}
.aez-hero-orb{
  width:342px!important;height:342px!important;
  left:50%!important;top:52%!important;
  background:linear-gradient(145deg,#ffbb82 0%,#ff8a35 100%)!important;
  opacity:.56!important;box-shadow:none!important
}
.aez-home-hero-visual>img{
  height:365px!important;max-width:78%!important;
  object-fit:contain!important;object-position:center bottom!important;
  filter:drop-shadow(0 16px 18px rgba(35,24,16,.14))!important;
  transform:translateX(8px)!important
}
.aez-hand-name{
  left:4px!important;top:104px!important;font-size:26px!important;
  transform:rotate(-6deg)!important;z-index:7!important
}
.aez-hand-name small{font-size:11px!important;line-height:1.55!important;margin-top:7px!important}
.aez-hand-bottom{
  left:0!important;bottom:17px!important;font-size:21px!important;
  line-height:1.25!important;transform:rotate(-8deg)!important;z-index:7!important
}
.aez-hero-quote{
  right:18px!important;top:52px!important;z-index:8!important;
  min-width:116px!important;padding:14px 17px!important;
  border-radius:10px!important;background:rgba(255,255,255,.96)!important
}
.aez-hero-quote strong{font-size:16px!important;line-height:1.42!important}
.aez-hero-quote i{font-size:28px!important;right:-6px!important;top:-12px!important}
/* Never show the old electricity/purple portrait as a CSS background. */
.aez-home-hero-visual,.aez-about-photo,.aez-auth-brand{background-image:none!important}

@media(max-width:980px){
  .aez-home-hero-visual>img{height:350px!important;max-width:78%!important;transform:none!important}
  .aez-hero-orb{width:330px!important;height:330px!important}
}
@media(max-width:640px){
  .aez-home-hero-visual{min-height:335px!important}
  .aez-home-hero-visual>img{height:325px!important;max-width:88%!important}
  .aez-hero-orb{width:286px!important;height:286px!important;top:53%!important}
  .aez-hero-quote{right:4px!important;top:42px!important;min-width:98px!important;padding:10px 12px!important}
  .aez-hand-name{left:2px!important;top:96px!important;font-size:21px!important}
}


/* v1.0.9 hero portrait centering fix */
.aez-home-hero-visual{display:flex!important;align-items:center!important;justify-content:center!important;min-height:390px!important;padding-top:8px!important;overflow:visible!important}
.aez-home-hero-grid{min-height:390px!important}
.aez-hero-orb{width:350px!important;height:350px!important;left:50%!important;top:54%!important;transform:translate(-50%,-50%)!important}
.aez-home-hero-visual>img{position:relative!important;z-index:3!important;height:330px!important;max-width:80%!important;width:auto!important;object-fit:contain!important;object-position:center center!important;transform:none!important;margin:0 auto!important;display:block!important}
@media(max-width:980px){.aez-home-hero-grid{min-height:370px!important}.aez-home-hero-visual{min-height:370px!important;padding-top:0!important}.aez-home-hero-visual>img{height:315px!important;max-width:82%!important}}
@media(max-width:640px){.aez-home-hero-grid{min-height:330px!important}.aez-home-hero-visual{min-height:320px!important}.aez-home-hero-visual>img{height:270px!important;max-width:84%!important}.aez-hero-orb{width:270px!important;height:270px!important;top:55%!important}}


/* v1.0.10 course badge visibility fix */
.aez-course-card{overflow:visible!important}
.aez-course-card-body{padding-top:28px!important}
.aez-course-tag{top:8px!important;right:12px!important;z-index:6!important;display:inline-flex!important;align-items:center;line-height:1.2;white-space:nowrap;box-shadow:0 4px 10px rgba(255,102,0,.08)}
.aez-course-card h3{margin-top:4px!important}


/* v1.0.11 — hero rebuilt to closely match the approved reference */
.aez-home-hero{position:relative!important;min-height:330px!important;background:#fffaf6!important;overflow:hidden!important;border-bottom:1px solid #eee7e0!important}
.aez-home-hero:before{content:""!important;position:absolute!important;inset:0!important;background:
 radial-gradient(circle at 18% 22%,rgba(255,145,78,.10),transparent 26%),
 radial-gradient(circle at 84% 58%,rgba(255,145,78,.08),transparent 23%),
 linear-gradient(90deg,#fff8f2 0%,#fffdfb 50%,#fff8f2 100%)!important;pointer-events:none!important}
.aez-home-hero-grid{min-height:330px!important;display:grid!important;grid-template-columns:52% 48%!important;align-items:stretch!important;position:relative!important;z-index:2!important;max-width:1180px!important}
.aez-home-hero-copy{grid-column:1!important;grid-row:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;text-align:right!important;padding:26px 0 22px 48px!important;position:relative!important;z-index:5!important}
.aez-home-kicker{font-size:10px!important;padding:4px 10px!important;margin-bottom:4px!important}
.aez-home-hero-copy h1{font-size:42px!important;line-height:1.08!important;margin:10px 0 7px!important;letter-spacing:-1.4px!important;max-width:520px!important}
.aez-home-hero-copy h1 em{display:block!important;color:var(--aez-orange)!important}
.aez-home-hero-copy h3{font-size:16px!important;margin:5px 0 5px!important}
.aez-home-hero-copy p{font-size:12px!important;line-height:1.7!important;margin:0!important;color:#707782!important}
.aez-home-hero-actions{margin-top:12px!important;gap:10px!important}.aez-big-cta{font-size:12px!important;padding:9px 17px!important;border-radius:12px!important}
.aez-student-stat{left:0!important;bottom:17px!important;padding:8px 11px!important;border-radius:13px!important}
.aez-home-hero-visual{grid-column:2!important;grid-row:1!important;position:relative!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;min-height:330px!important;padding:0!important;overflow:visible!important;z-index:4!important}
.aez-hero-orb{position:absolute!important;width:326px!important;height:326px!important;left:50%!important;top:52%!important;transform:translate(-50%,-50%)!important;background:linear-gradient(145deg,#ffb477 0%,#ff7a16 100%)!important;opacity:.72!important;border-radius:50%!important;box-shadow:none!important}
.aez-home-hero-visual>.aez-teacher-hero{position:absolute!important;z-index:4!important;height:338px!important;width:auto!important;max-width:none!important;left:50%!important;bottom:-1px!important;transform:translateX(-50%)!important;object-fit:contain!important;filter:drop-shadow(0 12px 18px rgba(35,24,16,.15))!important;margin:0!important}
.aez-hero-dna{position:absolute!important;z-index:1!important;width:145px!important;height:auto!important;left:-18px!important;top:7px!important;opacity:.62!important}
.aez-hero-quote{right:16px!important;top:25px!important;z-index:8!important;min-width:108px!important;padding:13px 16px!important;border-radius:9px!important;background:rgba(255,255,255,.94)!important;border:1px solid #ff9c59!important}
.aez-hero-quote strong{font-size:15px!important;line-height:1.45!important}.aez-hero-quote i{font-size:27px!important;right:-6px!important;top:-12px!important}
.aez-hand-name{left:-8px!important;top:80px!important;font-size:24px!important;line-height:1.2!important;z-index:7!important;transform:rotate(-7deg)!important}
.aez-hand-name small{font-size:10px!important;line-height:1.5!important;margin-top:7px!important}
.aez-hand-bottom{left:-20px!important;bottom:18px!important;font-size:19px!important;line-height:1.22!important;z-index:7!important;transform:rotate(-8deg)!important}
.aez-hero-microscope{position:absolute!important;right:-6px!important;bottom:-5px!important;width:130px!important;height:auto!important;z-index:1!important;opacity:.72!important}
.aez-side-note{position:absolute!important;right:72px!important;top:48px!important;z-index:3!important;font-family:"Aref Ruqaa",serif!important;color:var(--aez-orange)!important;font-size:21px!important;line-height:1.2!important;transform:rotate(9deg)!important;text-align:center!important}
/* Hide old placeholder doodles completely */
.aez-science-doodle{display:none!important}
@media(max-width:980px){
 .aez-home-hero{min-height:auto!important}.aez-home-hero-grid{grid-template-columns:1fr!important;min-height:auto!important}
 .aez-home-hero-copy{grid-column:1!important;grid-row:1!important;align-items:center!important;text-align:center!important;padding:30px 16px 16px!important}
 .aez-home-hero-copy h1{font-size:38px!important}.aez-home-hero-visual{grid-column:1!important;grid-row:2!important;min-height:330px!important}
 .aez-home-hero-visual>.aez-teacher-hero{height:318px!important}.aez-hero-orb{width:306px!important;height:306px!important}
 .aez-hero-microscope,.aez-side-note{display:none!important}.aez-student-stat{position:static!important;margin-top:13px!important}
}
@media(max-width:640px){
 .aez-home-hero-copy h1{font-size:32px!important;line-height:1.12!important}.aez-home-hero-copy h3{font-size:14px!important}
 .aez-home-hero-visual{min-height:300px!important}.aez-home-hero-visual>.aez-teacher-hero{height:285px!important}.aez-hero-orb{width:270px!important;height:270px!important}
 .aez-hand-name{left:4px!important;top:72px!important;font-size:19px!important}.aez-hand-bottom{display:none!important}.aez-hero-quote{right:5px!important;top:28px!important}
}


/* =========================================================
   v1.0.12 — stable hero rebuild, fixed height and portrait scale
   ========================================================= */
.aez-home-hero{
  position:relative!important;
  min-height:360px!important;
  height:auto!important;
  overflow:hidden!important;
  background:linear-gradient(90deg,#fff8f2 0%,#fffdfb 50%,#fff8f2 100%)!important;
  border-bottom:1px solid #eee7e0!important;
}
.aez-home-hero:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:
    radial-gradient(circle at 18% 36%,rgba(255,128,48,.10),transparent 28%),
    radial-gradient(circle at 82% 50%,rgba(255,150,85,.07),transparent 24%)!important;
  pointer-events:none!important;
}
.aez-home-hero-grid{
  width:min(1180px,92%)!important;
  max-width:1180px!important;
  min-height:360px!important;
  height:360px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:52% 48%!important;
  align-items:stretch!important;
  position:relative!important;
  z-index:2!important;
  overflow:hidden!important;
}
.aez-home-hero-copy{
  grid-column:1!important;
  grid-row:1!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  text-align:right!important;
  padding:22px 0 22px 42px!important;
  position:relative!important;
  z-index:6!important;
  min-width:0!important;
}
.aez-home-kicker{font-size:10px!important;padding:4px 10px!important;margin:0 0 6px!important}
.aez-home-hero-copy h1{
  font-size:42px!important;
  line-height:1.08!important;
  margin:8px 0 7px!important;
  letter-spacing:-1.3px!important;
  max-width:520px!important;
}
.aez-home-hero-copy h3{font-size:16px!important;margin:4px 0 5px!important}
.aez-home-hero-copy p{font-size:12px!important;line-height:1.7!important;margin:0!important}
.aez-home-hero-actions{margin-top:12px!important;gap:10px!important}
.aez-big-cta{font-size:12px!important;padding:9px 17px!important;border-radius:12px!important}
.aez-student-stat{left:4px!important;bottom:16px!important;padding:8px 10px!important;border-radius:13px!important}

.aez-home-hero-visual{
  grid-column:2!important;
  grid-row:1!important;
  position:relative!important;
  min-height:360px!important;
  height:360px!important;
  padding:0!important;
  display:block!important;
  overflow:hidden!important;
  z-index:4!important;
}
.aez-home-hero-visual:before{
  content:""!important;
  position:absolute!important;
  left:18px!important;
  top:28px!important;
  width:180px!important;
  height:180px!important;
  opacity:.13!important;
  background:url("assets/images/hero-dna.svg") center/contain no-repeat!important;
  z-index:1!important;
  transform:rotate(-12deg)!important;
}
.aez-hero-orb{
  position:absolute!important;
  width:335px!important;
  height:335px!important;
  left:52%!important;
  top:53%!important;
  transform:translate(-50%,-50%)!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#ffb77c 0%,#ff7d22 100%)!important;
  opacity:.64!important;
  box-shadow:none!important;
  z-index:2!important;
}
.aez-home-hero-visual>.aez-teacher-hero{
  position:absolute!important;
  z-index:4!important;
  height:352px!important;
  width:auto!important;
  max-width:none!important;
  left:52%!important;
  bottom:-5px!important;
  transform:translateX(-50%)!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  margin:0!important;
  filter:drop-shadow(0 12px 18px rgba(35,24,16,.14))!important;
}
.aez-hero-quote{
  position:absolute!important;
  right:10px!important;
  top:45px!important;
  z-index:8!important;
  min-width:112px!important;
  padding:13px 16px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid #ff9c59!important;
}
.aez-hero-quote strong{font-size:15px!important;line-height:1.42!important}
.aez-hero-quote i{font-size:27px!important;right:-6px!important;top:-12px!important}
.aez-hand-name{
  left:6px!important;
  top:92px!important;
  font-size:24px!important;
  line-height:1.2!important;
  transform:rotate(-7deg)!important;
  z-index:7!important;
}
.aez-hand-name small{font-size:10px!important;line-height:1.5!important;margin-top:7px!important}
.aez-hand-bottom{
  left:4px!important;
  bottom:24px!important;
  font-size:19px!important;
  line-height:1.22!important;
  transform:rotate(-8deg)!important;
  z-index:7!important;
}
/* hard-disable problematic v1.0.11 hero decorations */
.aez-hero-dna,.aez-hero-microscope,.aez-side-note,.aez-science-doodle{display:none!important}

@media(max-width:980px){
  .aez-home-hero-grid{height:auto!important;min-height:auto!important;grid-template-columns:1fr!important;overflow:hidden!important}
  .aez-home-hero-copy{grid-column:1!important;grid-row:1!important;align-items:center!important;text-align:center!important;padding:30px 16px 16px!important}
  .aez-home-hero-copy h1{font-size:38px!important}
  .aez-home-hero-visual{grid-column:1!important;grid-row:2!important;height:345px!important;min-height:345px!important}
  .aez-home-hero-visual>.aez-teacher-hero{height:335px!important;left:50%!important}
  .aez-hero-orb{width:315px!important;height:315px!important;left:50%!important}
  .aez-student-stat{position:static!important;margin-top:13px!important}
}
@media(max-width:640px){
  .aez-home-hero-copy h1{font-size:32px!important;line-height:1.12!important}
  .aez-home-hero-copy h3{font-size:14px!important}
  .aez-home-hero-visual{height:310px!important;min-height:310px!important}
  .aez-home-hero-visual>.aez-teacher-hero{height:300px!important}
  .aez-hero-orb{width:280px!important;height:280px!important;top:54%!important}
  .aez-hand-name{left:2px!important;top:84px!important;font-size:19px!important}
  .aez-hand-bottom{display:none!important}
  .aez-hero-quote{right:4px!important;top:36px!important;min-width:98px!important;padding:10px 12px!important}
}


/* =========================================================
   v1.0.13 — Hero matched closely to approved reference
   ========================================================= */
.aez-home-hero{
  position:relative!important;
  height:328px!important;
  min-height:328px!important;
  overflow:hidden!important;
  background:linear-gradient(90deg,#fff8f2 0%,#fffdfb 46%,#fffaf6 100%)!important;
  border-bottom:1px solid #eee5dd!important;
}
.aez-home-hero:before{
  content:""!important;position:absolute!important;inset:0!important;
  background:
    radial-gradient(circle at 17% 37%,rgba(255,132,54,.11),transparent 22%),
    radial-gradient(circle at 80% 35%,rgba(255,132,54,.065),transparent 22%)!important;
  pointer-events:none!important;
}
.aez-home-hero-grid{
  position:relative!important;
  height:328px!important;min-height:328px!important;
  display:grid!important;
  grid-template-columns:48% 52%!important;
  grid-template-areas:"visual copy"!important;
  align-items:stretch!important;
  direction:ltr!important;
  overflow:visible!important;
}
.aez-home-hero-copy{
  grid-area:copy!important;
  direction:rtl!important;
  position:relative!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  text-align:center!important;
  padding:18px 30px 17px 45px!important;
  z-index:5!important;
}
.aez-home-kicker{
  font-size:10px!important;line-height:1!important;
  padding:5px 10px!important;margin:0 0 9px!important;
  border-radius:999px!important;background:#fff8f3!important;
}
.aez-home-hero-copy h1{
  max-width:520px!important;
  margin:0 0 8px!important;
  font-size:38px!important;line-height:1.05!important;
  letter-spacing:-1px!important;font-weight:950!important;
}
.aez-home-hero-copy h1 em{display:block!important;color:#ff6600!important;font-style:normal!important;margin-top:3px!important}
.aez-home-hero-copy h3{font-size:15px!important;margin:3px 0 6px!important;font-weight:900!important}
.aez-home-hero-copy p{font-size:11px!important;line-height:1.55!important;margin:0!important;color:#767d87!important}
.aez-home-hero-actions{display:flex!important;justify-content:center!important;gap:11px!important;margin-top:11px!important}
.aez-big-cta{font-size:11px!important;padding:9px 17px!important;border-radius:12px!important;min-width:142px!important;justify-content:center!important}
.aez-student-stat{
  position:absolute!important;right:10px!important;left:auto!important;bottom:16px!important;
  padding:7px 9px!important;border-radius:12px!important;z-index:8!important;
  background:rgba(255,255,255,.95)!important;
}
.aez-student-stat span{font-size:20px!important}.aez-student-stat b{font-size:10px!important}.aez-student-stat small{font-size:8px!important}

.aez-home-hero-visual{
  grid-area:visual!important;
  direction:rtl!important;
  position:relative!important;
  height:328px!important;min-height:328px!important;
  display:block!important;padding:0!important;margin:0!important;
  overflow:visible!important;z-index:4!important;
}
.aez-hero-orb{
  position:absolute!important;
  width:305px!important;height:305px!important;
  left:47%!important;top:52%!important;
  transform:translate(-50%,-50%)!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#ffb36f 0%,#ff7c17 100%)!important;
  opacity:.68!important;box-shadow:none!important;z-index:2!important;
}
.aez-home-hero-visual>.aez-teacher-hero{
  position:absolute!important;
  z-index:5!important;
  height:326px!important;width:auto!important;max-width:none!important;
  left:48%!important;bottom:-1px!important;
  transform:translateX(-50%)!important;
  object-fit:contain!important;object-position:center bottom!important;
  margin:0!important;filter:drop-shadow(0 13px 18px rgba(34,24,18,.12))!important;
}
.aez-home-hero-visual:after{
  content:""!important;position:absolute!important;z-index:1!important;
  left:-32px!important;top:16px!important;width:155px!important;height:260px!important;
  background:url("assets/images/hero-dna.svg") center/contain no-repeat!important;
  opacity:.24!important;transform:rotate(-17deg)!important;
}
.aez-hero-quote{
  position:absolute!important;z-index:9!important;
  right:11px!important;top:34px!important;min-width:108px!important;
  padding:12px 15px!important;border-radius:9px!important;
  background:rgba(255,255,255,.96)!important;border:1px solid #ff9b58!important;
  text-align:center!important;box-shadow:0 7px 18px rgba(50,35,24,.035)!important;
}
.aez-hero-quote strong{font-size:15px!important;line-height:1.35!important}.aez-hero-quote i{font-size:27px!important;right:-6px!important;top:-11px!important}
.aez-hand-name{
  left:8px!important;top:82px!important;z-index:8!important;
  font-size:24px!important;line-height:1.1!important;text-align:center!important;
  transform:rotate(-7deg)!important;
}
.aez-hand-name small{font-size:10px!important;line-height:1.45!important;margin-top:6px!important;transform:rotate(7deg)!important}
.aez-hand-bottom{
  left:6px!important;bottom:12px!important;z-index:8!important;
  font-size:18px!important;line-height:1.18!important;transform:rotate(-8deg)!important;
}
/* right-side microscope + handwritten note from the approved reference */
.aez-hero-microscope{
  display:block!important;position:absolute!important;right:-18px!important;bottom:-25px!important;
  width:115px!important;height:155px!important;object-fit:contain!important;opacity:.46!important;z-index:2!important;
}
.aez-side-note{
  display:block!important;position:absolute!important;right:58px!important;top:40px!important;z-index:7!important;
  color:#ff6b00!important;font-family:"Aref Ruqaa",serif!important;font-size:19px!important;line-height:1.15!important;
  transform:rotate(-7deg)!important;text-align:center!important;
}
.aez-hero-dna,.aez-science-doodle{display:none!important}

@media(max-width:980px){
  .aez-home-hero{height:auto!important;min-height:0!important}
  .aez-home-hero-grid{height:auto!important;min-height:0!important;grid-template-columns:1fr!important;grid-template-areas:"copy" "visual"!important;direction:ltr!important}
  .aez-home-hero-copy{padding:30px 18px 18px!important}
  .aez-home-hero-copy h1{font-size:36px!important}
  .aez-home-hero-visual{height:330px!important;min-height:330px!important}
  .aez-home-hero-visual>.aez-teacher-hero{height:320px!important;left:50%!important}
  .aez-hero-orb{width:295px!important;height:295px!important;left:50%!important}
  .aez-student-stat{position:static!important;margin-top:12px!important}
  .aez-hero-microscope,.aez-side-note{display:none!important}
}
@media(max-width:640px){
  .aez-home-hero-copy h1{font-size:31px!important;line-height:1.08!important}
  .aez-home-hero-copy h3{font-size:13px!important}
  .aez-home-hero-visual{height:300px!important;min-height:300px!important}
  .aez-home-hero-visual>.aez-teacher-hero{height:285px!important}
  .aez-hero-orb{width:265px!important;height:265px!important}
  .aez-hand-name{left:2px!important;top:74px!important;font-size:19px!important}
  .aez-hand-bottom{display:none!important}.aez-hero-quote{right:3px!important;top:32px!important;min-width:94px!important;padding:9px 11px!important}
}


/* =========================================================
   v1.0.14 — clean hero rebuild from approved reference
   ========================================================= */
.aez-ref-hero{
  position:relative;overflow:hidden;background:#fffaf5;border-bottom:1px solid #eee4dc;
  min-height:348px;isolation:isolate
}
.aez-ref-hero:before{
  content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
  background:radial-gradient(circle at 20% 48%,rgba(255,126,34,.13),transparent 24%),radial-gradient(circle at 75% 45%,rgba(255,126,34,.06),transparent 22%)
}
.aez-ref-hero-inner{
  min-height:348px;display:grid;grid-template-columns:51% 49%;align-items:stretch;position:relative;direction:ltr
}
.aez-ref-hero-visual{position:relative;min-height:348px;overflow:visible;direction:rtl}
.aez-ref-orb{position:absolute;width:315px;height:315px;border-radius:50%;left:51%;top:52%;transform:translate(-50%,-50%);background:linear-gradient(145deg,#ffb170,#ff7b19);opacity:.57}
.aez-ref-teacher{position:absolute;z-index:4;height:350px;width:auto;max-width:76%;left:51%;bottom:-2px;transform:translateX(-50%);object-fit:contain;object-position:center bottom;filter:drop-shadow(0 14px 18px rgba(33,24,18,.12))}
.aez-ref-dna{position:absolute;z-index:1;width:135px;height:250px;left:6px;top:35px;opacity:.18;transform:rotate(-7deg)}
.aez-ref-name{position:absolute;z-index:6;left:8px;top:98px;font-family:"Aref Ruqaa",serif;font-size:27px;line-height:1.05;transform:rotate(-7deg);text-align:center;color:#111827}
.aez-ref-name small{display:block;font-family:"Tajawal",sans-serif;font-size:10px;line-height:1.55;font-weight:800;transform:rotate(7deg);margin-top:8px}
.aez-ref-bottom-note{position:absolute;z-index:6;left:0;bottom:16px;font-family:"Aref Ruqaa",serif;font-size:20px;line-height:1.22;transform:rotate(-8deg);color:#111827}
.aez-ref-bottom-note:after{content:"";display:block;width:80px;height:3px;background:#ff6b00;border-radius:10px;transform:rotate(-4deg);margin:3px auto 0}
.aez-ref-quote{position:absolute;z-index:7;right:17px;top:49px;min-width:112px;background:rgba(255,255,255,.94);border:1px solid #ff9c59;border-radius:9px;padding:12px 16px;text-align:center;line-height:1.35;box-shadow:0 8px 18px rgba(31,25,21,.035)}
.aez-ref-quote i{position:absolute;right:-5px;top:-12px;color:#ff6b00;font-size:28px;font-style:normal}.aez-ref-quote strong{font-size:16px}
.aez-ref-hero-copy{position:relative;direction:rtl;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:right;padding:24px 28px 19px 0;min-width:0}
.aez-ref-kicker{font-size:10px;color:#ff6b00;border:1px solid #ffd0b0;border-radius:999px;background:#fff7f0;padding:5px 10px;font-weight:800}
.aez-ref-hero-copy h1{font-size:clamp(31px,3.05vw,45px);line-height:1.12;margin:12px 0 7px;font-weight:950;letter-spacing:-1.2px;color:#101827}.aez-ref-hero-copy h1 em{font-style:normal;display:block;color:#ff6400}.aez-ref-hero-copy h3{font-size:16px;margin:4px 0 4px;color:#111827}.aez-ref-hero-copy p{font-size:12px;line-height:1.75;color:#6d7480;margin:0}
.aez-ref-actions{display:flex;gap:11px;margin-top:13px;flex-wrap:wrap}.aez-ref-primary,.aez-ref-secondary{padding:9px 18px!important;border-radius:13px!important;font-size:12px!important}.aez-ref-actions b{font-size:11px}
.aez-ref-student-stat{position:absolute;left:15px;bottom:16px;display:flex;align-items:center;gap:7px;border:1px solid #eadfd6;border-radius:13px;background:rgba(255,255,255,.94);padding:7px 9px;box-shadow:0 8px 20px rgba(40,31,22,.04)}.aez-ref-student-stat span{font-size:19px}.aez-ref-student-stat b,.aez-ref-student-stat small{display:block}.aez-ref-student-stat b{font-size:10px}.aez-ref-student-stat small{font-size:8px;color:#777}
.aez-ref-side-note{position:absolute;right:-42px;top:78px;font-family:"Aref Ruqaa",serif;color:#ff6b00;font-size:18px;line-height:1.2;transform:rotate(9deg);text-align:center;z-index:3}.aez-ref-microscope{position:absolute;right:-95px;bottom:-5px;width:150px;height:195px;opacity:.35;z-index:1}.aez-ref-hero-bg-mark{position:absolute;color:#ff8c42;opacity:.12;font-weight:900;z-index:-1;pointer-events:none}.aez-ref-mark-dna{font-size:0}.aez-ref-mark-atom{font-size:65px;left:47%;bottom:45px}
@media(max-width:1100px){.aez-ref-side-note{display:none}.aez-ref-microscope{right:-55px;width:125px}.aez-ref-hero-copy{padding-right:12px}.aez-ref-name{left:0}.aez-ref-bottom-note{left:0}}
@media(max-width:980px){.aez-ref-hero-inner{grid-template-columns:1fr;direction:rtl}.aez-ref-hero-copy{order:1;align-items:center;text-align:center;padding:32px 12px 16px}.aez-ref-hero-visual{order:2;min-height:345px}.aez-ref-student-stat{position:static;margin-top:13px}.aez-ref-orb{width:310px;height:310px}.aez-ref-teacher{height:335px;max-width:80%}.aez-ref-microscope,.aez-ref-side-note{display:none}}
@media(max-width:640px){.aez-ref-hero-copy h1{font-size:33px}.aez-ref-hero-visual{min-height:310px}.aez-ref-orb{width:265px;height:265px}.aez-ref-teacher{height:285px;max-width:84%}.aez-ref-name{font-size:21px;top:88px}.aez-ref-name small{font-size:9px}.aez-ref-bottom-note{font-size:17px;bottom:8px}.aez-ref-quote{right:5px;top:42px;min-width:92px;padding:9px 11px}.aez-ref-quote strong{font-size:14px}.aez-ref-dna{width:100px;height:190px}}


/* v1.0.18 registration visual from latest version */
.aez-register-page{padding:36px 0 50px!important;background:linear-gradient(180deg,#fff 0%,#fff9f4 100%)!important}
.aez-register-page .aez-auth-grid{grid-template-columns:1.08fr .92fr!important;gap:28px!important;align-items:stretch!important}
.aez-register-brand{position:relative!important;overflow:hidden!important;min-height:720px!important;padding:34px 34px 0!important;background:linear-gradient(180deg,#fff 0%,#fffaf6 100%)!important;display:flex!important;flex-direction:column!important}
.aez-register-copy{position:relative;z-index:5;text-align:right}
.aez-register-copy .aez-kicker{display:inline-block}
.aez-register-copy .aez-section-title{font-size:42px!important;margin:16px 0 12px!important;line-height:1.15!important}
.aez-register-copy p{font-size:16px!important;line-height:1.85!important;color:#5f6672!important;max-width:520px!important;margin:0!important}
.aez-register-visual{position:relative!important;flex:1!important;min-height:510px!important;margin-top:8px!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;overflow:hidden!important}
.aez-register-glow{position:absolute!important;width:430px!important;height:430px!important;border-radius:50%!important;left:50%!important;bottom:20px!important;transform:translateX(-50%)!important;background:radial-gradient(circle at 50% 50%,rgba(255,153,72,.42) 0%,rgba(255,121,24,.22) 47%,rgba(255,121,24,0) 72%)!important;filter:blur(3px)!important;z-index:1!important}
.aez-register-visual:before{content:"";position:absolute;inset:70px 0 0;background:radial-gradient(circle at 50% 70%,rgba(255,107,0,.10),transparent 44%);z-index:0}
.aez-register-visual img{position:relative!important;z-index:3!important;width:auto!important;height:520px!important;max-height:none!important;max-width:106%!important;object-fit:contain!important;object-position:center bottom!important;margin:0 auto -24px!important;display:block!important;filter:drop-shadow(0 22px 28px rgba(63,36,14,.15))!important}
.aez-register-page .aez-auth-card{padding:34px!important;border-radius:24px!important}
@media(max-width:980px){
  .aez-register-page .aez-auth-grid{grid-template-columns:1fr!important}
  .aez-register-brand{min-height:610px!important}
  .aez-register-visual{min-height:425px!important}
  .aez-register-visual img{height:445px!important;margin-bottom:-18px!important}
  .aez-register-copy .aez-section-title{font-size:36px!important}
}
@media(max-width:640px){
  .aez-register-page{padding-top:18px!important}
  .aez-register-brand{min-height:500px!important;padding:22px 20px 0!important}
  .aez-register-copy .aez-section-title{font-size:30px!important}
  .aez-register-copy p{font-size:14px!important}
  .aez-register-visual{min-height:330px!important}
  .aez-register-visual img{height:350px!important;max-width:118%!important;margin-bottom:-14px!important}
  .aez-register-glow{width:300px!important;height:300px!important;bottom:8px!important}
}


/* v1.0.19 — make teacher portrait fill the orange circle */
.aez-ref-teacher{
  height:402px!important;
  max-width:none!important;
  left:51%!important;
  bottom:-18px!important;
  transform:translateX(-50%)!important;
}
@media(max-width:980px){
  .aez-ref-teacher{height:365px!important;bottom:-12px!important;left:50%!important}
}
@media(max-width:640px){
  .aez-ref-teacher{height:318px!important;bottom:-10px!important;left:50%!important;max-width:none!important}
}


/* =========================================================
   v1.0.20 — registration + final CTA image framing fixes
   ========================================================= */
/* Registration: make the teacher fill the empty vertical space cleanly without looking cropped. */
.aez-register-brand{min-height:720px!important}
.aez-register-copy{flex:0 0 auto!important}
.aez-register-visual{
  flex:1 1 auto!important;
  min-height:540px!important;
  margin-top:0!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.aez-register-visual img{
  height:570px!important;
  width:auto!important;
  max-width:112%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  margin:0 auto -12px!important;
  transform:none!important;
  filter:drop-shadow(0 22px 28px rgba(63,36,14,.14))!important;
}
.aez-register-glow{
  width:470px!important;
  height:470px!important;
  bottom:4px!important;
}

/* Home CTA: use a dedicated padded portrait and keep the whole visible upper body inside the banner. */
.aez-final-cta{
  min-height:160px!important;
  padding:22px 24px!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
}
.aez-final-cta>div{
  position:relative!important;
  z-index:3!important;
  max-width:58%!important;
}
.aez-final-cta .aez-final-cta-teacher{
  position:absolute!important;
  left:14px!important;
  bottom:-24px!important;
  height:190px!important;
  width:auto!important;
  max-width:44%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  opacity:1!important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.14))!important;
}

@media(max-width:980px){
  .aez-register-brand{min-height:650px!important}
  .aez-register-visual{min-height:460px!important}
  .aez-register-visual img{height:485px!important;max-width:116%!important;margin-bottom:-10px!important}
  .aez-final-cta .aez-final-cta-teacher{height:176px!important;left:6px!important;bottom:-20px!important}
}
@media(max-width:640px){
  .aez-register-brand{min-height:540px!important}
  .aez-register-visual{min-height:360px!important}
  .aez-register-visual img{height:385px!important;max-width:124%!important;margin-bottom:-8px!important}
  .aez-register-glow{width:320px!important;height:320px!important;bottom:0!important}
  .aez-final-cta{min-height:154px!important;padding:18px 18px!important}
  .aez-final-cta>div{max-width:72%!important}
  .aez-final-cta .aez-final-cta-teacher{height:154px!important;max-width:40%!important;left:-4px!important;bottom:-18px!important;opacity:.95!important}
}


/* =========================================================
   v1.0.21 — fill teacher portraits inside the orange circles
   ========================================================= */
/* Hero circle portrait */
.aez-ref-hero-visual{overflow:hidden!important}
.aez-ref-orb{
  width:338px!important;
  height:338px!important;
  left:49.5%!important;
  top:54%!important;
  transform:translate(-50%,-50%)!important;
}
.aez-ref-teacher{
  height:392px!important;
  width:auto!important;
  max-width:none!important;
  left:49.5%!important;
  bottom:-14px!important;
  transform:translateX(-50%)!important;
  object-fit:contain!important;
  object-position:center bottom!important;
}
/* About circle portrait */
.aez-about-home-grid{grid-template-columns:280px 1fr 250px!important;align-items:center!important}
.aez-about-photo{
  height:190px!important;
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  padding-right:10px!important;
}
.aez-about-circle{
  width:180px!important;
  height:180px!important;
  right:14px!important;
  bottom:-10px!important;
  border-radius:50%!important;
  background:#ffd9bc!important;
}
.aez-about-photo img{
  position:absolute!important;
  right:18px!important;
  bottom:-4px!important;
  height:204px!important;
  width:auto!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  z-index:2!important;
  filter:drop-shadow(0 10px 14px rgba(39,26,15,.10))!important;
}
.aez-about-photo strong{
  left:0!important;
  top:30px!important;
  z-index:3!important;
}
@media(max-width:980px){
  .aez-ref-orb{width:315px!important;height:315px!important;left:50%!important}
  .aez-ref-teacher{height:366px!important;left:50%!important;bottom:-10px!important}
  .aez-about-home-grid{grid-template-columns:1fr!important}
  .aez-about-photo{height:205px!important;justify-content:center!important;padding-right:0!important}
  .aez-about-circle{right:50%!important;transform:translateX(50%)!important}
  .aez-about-photo img{right:50%!important;transform:translateX(50%)!important;height:212px!important}
}
@media(max-width:640px){
  .aez-ref-orb{width:280px!important;height:280px!important}
  .aez-ref-teacher{height:326px!important;bottom:-8px!important}
  .aez-about-photo{height:180px!important}
  .aez-about-circle{width:160px!important;height:160px!important;bottom:-6px!important}
  .aez-about-photo img{height:182px!important;bottom:-2px!important}
}


/* =========================================================
   v1.0.22 — balanced section spacing & desktop rhythm
   ========================================================= */
/* Global homepage rhythm */
.aez-home-section{
  padding:64px 0!important;
}
.aez-section-head{
  margin-bottom:32px!important;
}
.aez-section-head h2,.aez-home-title{
  font-size:30px!important;
  line-height:1.25!important;
}
.aez-section-head h2:after,.aez-home-title:after{
  width:72px!important;
  height:3px!important;
  bottom:-11px!important;
}

/* Features: give the section real presence and allow two rows */
.aez-features-section{
  padding-top:58px!important;
  padding-bottom:68px!important;
}
.aez-features-ten{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:16px!important;
}
.aez-feature{
  min-height:168px!important;
  padding:22px 16px!important;
  border-radius:16px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
}
.aez-feature .icon{
  width:44px!important;
  height:44px!important;
  font-size:24px!important;
  margin:0 auto 12px!important;
}
.aez-feature h3{
  font-size:15px!important;
  min-height:auto!important;
  line-height:1.45!important;
  margin-bottom:7px!important;
}
.aez-feature p{
  font-size:12px!important;
  line-height:1.65!important;
}

/* About section */
.aez-about-home{
  padding-top:68px!important;
  padding-bottom:68px!important;
}
.aez-about-home-grid{
  margin-top:34px!important;
  gap:34px!important;
  min-height:260px!important;
}
.aez-about-text{
  font-size:14px!important;
  line-height:1.9!important;
}
.aez-about-text p{margin-bottom:12px!important}
.aez-about-badges{
  gap:10px!important;
  margin-top:18px!important;
}
.aez-about-badges span{
  padding:10px 8px!important;
  font-size:11px!important;
  border-radius:10px!important;
}
.aez-mission-card{
  padding:26px 20px!important;
  min-height:175px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.aez-mission-card p{font-size:20px!important}

/* Grades section */
.aez-grades-home{
  padding-top:54px!important;
  padding-bottom:62px!important;
}
.aez-grades-polished{
  gap:22px!important;
}
.aez-grades-polished .aez-grade{
  min-height:110px!important;
  padding:20px 24px!important;
}
.aez-grades-polished .aez-grade h3{font-size:18px!important}
.aez-grades-polished .aez-grade p{font-size:12px!important}

/* Courses section */
.aez-courses-home{
  padding-top:58px!important;
  padding-bottom:70px!important;
}
.aez-courses-home .aez-section-head.compact{
  margin-bottom:30px!important;
}
.aez-course-card{
  box-shadow:0 12px 30px rgba(17,24,39,.07)!important;
}
.aez-course-card-body{
  min-height:190px!important;
}

/* Testimonials + CTA */
.aez-testimonials-home{
  padding-top:58px!important;
  padding-bottom:72px!important;
}
.aez-bottom-grid{
  margin-top:32px!important;
  gap:22px!important;
}
.aez-testimonials article{
  padding:18px!important;
  min-height:150px!important;
}
.aez-testimonials p{
  font-size:12px!important;
  line-height:1.7!important;
  min-height:62px!important;
}
.aez-testimonials b{font-size:12px!important}
.aez-testimonials small{font-size:10px!important}
.aez-final-cta{
  min-height:190px!important;
  padding:28px 30px!important;
}
.aez-final-cta h2{font-size:30px!important}
.aez-final-cta p{font-size:13px!important}
.aez-final-cta a{font-size:12px!important;padding:8px 18px!important}
.aez-final-cta .aez-final-cta-teacher{
  height:218px!important;
  bottom:-28px!important;
}

/* Keep hero intentionally compact but not cramped */
.aez-ref-hero,.aez-ref-hero-inner{
  min-height:380px!important;
}
.aez-ref-hero-visual{
  min-height:380px!important;
  height:380px!important;
}

@media(max-width:1100px){
  .aez-features-ten{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:980px){
  .aez-home-section{padding:48px 0!important}
  .aez-features-ten{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .aez-feature{min-height:155px!important}
  .aez-about-home-grid{min-height:0!important}
  .aez-grades-polished{grid-template-columns:1fr!important}
  .aez-ref-hero,.aez-ref-hero-inner{min-height:auto!important}
  .aez-ref-hero-visual{min-height:345px!important;height:345px!important}
  .aez-final-cta{min-height:175px!important}
}
@media(max-width:640px){
  .aez-home-section{padding:38px 0!important}
  .aez-section-head{margin-bottom:24px!important}
  .aez-section-head h2,.aez-home-title{font-size:25px!important}
  .aez-features-section{padding-top:38px!important;padding-bottom:44px!important}
  .aez-features-ten{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .aez-feature{min-height:145px!important;padding:16px 10px!important}
  .aez-feature h3{font-size:13px!important}
  .aez-feature p{font-size:11px!important}
  .aez-about-home,.aez-grades-home,.aez-courses-home,.aez-testimonials-home{padding-top:40px!important;padding-bottom:44px!important}
  .aez-final-cta{min-height:160px!important;padding:22px 18px!important}
  .aez-final-cta h2{font-size:24px!important}
}


/* =========================================================
   v1.0.23 — cleaner portrait framing inside About orange circle
   ========================================================= */
.aez-about-home-grid{grid-template-columns:300px 1fr 250px!important;gap:28px!important}
.aez-about-photo{
  height:220px!important;
  min-height:220px!important;
  position:relative!important;
  overflow:visible!important;
  display:block!important;
  padding:0!important;
}
.aez-about-circle{
  position:absolute!important;
  width:196px!important;
  height:196px!important;
  right:18px!important;
  bottom:8px!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#ffd9bc 0%,#ffc999 100%)!important;
  box-shadow:0 12px 30px rgba(255,107,0,.08)!important;
}
.aez-about-photo img{
  position:absolute!important;
  z-index:2!important;
  width:196px!important;
  height:196px!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  right:18px!important;
  bottom:8px!important;
  transform:none!important;
  filter:drop-shadow(0 8px 12px rgba(25,20,16,.08))!important;
}
.aez-about-photo strong{
  left:0!important;
  top:48px!important;
  max-width:110px!important;
  text-align:center!important;
}
@media(max-width:980px){
  .aez-about-home-grid{grid-template-columns:1fr!important}
  .aez-about-photo{height:225px!important}
  .aez-about-circle,.aez-about-photo img{
    right:50%!important;
    transform:translateX(50%)!important;
  }
  .aez-about-photo strong{left:12px!important;top:58px!important}
}
@media(max-width:640px){
  .aez-about-photo{height:200px!important}
  .aez-about-circle,.aez-about-photo img{width:176px!important;height:176px!important;bottom:10px!important}
  .aez-about-photo strong{font-size:17px!important;max-width:95px!important;top:54px!important}
}


/* =========================================================
   v1.0.24 — new about portrait + functional grade pages
   ========================================================= */
.aez-about-photo{height:210px!important;overflow:hidden!important;border-radius:22px!important}
.aez-about-circle{width:188px!important;height:188px!important;right:18px!important;bottom:2px!important;background:linear-gradient(145deg,#ffe0c6,#ffc594)!important;box-shadow:inset 0 0 0 1px rgba(255,107,0,.08)!important}
.aez-about-photo img{height:205px!important;width:auto!important;right:4px!important;bottom:-2px!important;object-fit:contain!important;object-position:center bottom!important;filter:drop-shadow(0 9px 12px rgba(35,24,18,.09))!important}
.aez-about-photo strong{left:3px!important;top:45px!important}
.aez-grades-polished .aez-grade{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;cursor:pointer!important}
.aez-grades-polished .aez-grade:hover{transform:translateY(-4px)!important;border-color:#ffb37d!important;box-shadow:0 14px 30px rgba(255,107,0,.10)!important}
.aez-grade-page{background:#fffaf6;min-height:60vh}
.aez-grade-page-hero{padding:48px 0 34px;background:linear-gradient(135deg,#fff8f2,#fff);border-bottom:1px solid #eee4dc}
.aez-grade-page-hero .container{display:flex;align-items:center;gap:22px;direction:rtl}
.aez-grade-page-icon{width:74px;height:74px;border-radius:22px;background:#fff0e3;color:var(--aez-orange);display:grid;place-items:center;font-size:34px;flex:0 0 auto}
.aez-grade-page-hero h1{margin:8px 0 5px;font-size:38px;color:var(--aez-ink)}
.aez-grade-page-hero p{margin:0;color:var(--aez-muted)}
.aez-grade-course-section{padding:48px 0 70px;background:#fff}
.aez-grade-courses-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
.aez-grade-course-card{overflow:visible!important;height:100%!important}
.aez-grade-course-card .aez-course-thumb img{aspect-ratio:16/9!important;border-radius:11px 11px 0 0!important}
.aez-grade-course-card .aez-course-card-body{min-height:210px!important}
.aez-grade-pagination{display:flex;justify-content:center;gap:8px;margin-top:30px}
.aez-grade-pagination .page-numbers{min-width:38px;height:38px;padding:0 10px;border-radius:10px;border:1px solid #eee0d6;display:inline-grid;place-items:center;color:#343a44;background:#fff;font-weight:800}
.aez-grade-pagination .current{background:var(--aez-orange);border-color:var(--aez-orange);color:#fff}
.aez-empty-state{max-width:720px;margin:20px auto;padding:50px 28px;border:1px dashed #ffc89f;border-radius:22px;background:#fffaf6;text-align:center}
.aez-empty-state>span{font-size:42px}.aez-empty-state h2{margin:10px 0 8px}.aez-empty-state p{color:var(--aez-muted)}
@media(max-width:980px){.aez-grade-courses-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.aez-about-photo img{right:50%!important;transform:translateX(50%)!important}}
@media(max-width:640px){.aez-grade-page-hero{padding:34px 0 24px}.aez-grade-page-hero .container{align-items:flex-start}.aez-grade-page-icon{width:58px;height:58px;border-radius:16px;font-size:26px}.aez-grade-page-hero h1{font-size:28px}.aez-grade-page-hero p{font-size:13px}.aez-grade-course-section{padding:30px 0 50px}.aez-grade-courses-grid{grid-template-columns:1fr!important}.aez-about-photo{height:190px!important}.aez-about-circle{width:170px!important;height:170px!important}.aez-about-photo img{height:185px!important}}


/* =========================================================
   v1.0.25 — use the approved circle portrait in About section
   ========================================================= */
.aez-about-photo{
  width:260px!important;
  height:205px!important;
  position:relative!important;
  overflow:visible!important;
  margin-inline:auto!important;
  display:block!important;
}
.aez-about-circle{
  position:absolute!important;
  width:190px!important;
  height:190px!important;
  border-radius:50%!important;
  background:#ffd7b8!important;
  right:14px!important;
  bottom:0!important;
  overflow:hidden!important;
  z-index:1!important;
}
.aez-about-photo img{
  position:absolute!important;
  z-index:2!important;
  width:188px!important;
  height:188px!important;
  max-width:none!important;
  right:15px!important;
  bottom:0!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  margin:0!important;
  transform:none!important;
  filter:drop-shadow(0 8px 12px rgba(35,24,16,.08))!important;
}
.aez-about-photo strong{
  position:absolute!important;
  z-index:3!important;
  left:-2px!important;
  top:38px!important;
}
@media(max-width:980px){
  .aez-about-photo{width:270px!important;height:215px!important}
  .aez-about-circle{width:200px!important;height:200px!important;right:35px!important}
  .aez-about-photo img{width:198px!important;height:198px!important;right:36px!important}
  .aez-about-photo strong{left:-8px!important;top:45px!important}
}
@media(max-width:640px){
  .aez-about-photo{width:235px!important;height:190px!important}
  .aez-about-circle{width:175px!important;height:175px!important;right:30px!important}
  .aez-about-photo img{width:174px!important;height:174px!important;right:30px!important}
  .aez-about-photo strong{font-size:17px!important;left:-4px!important;top:44px!important}
}


/* =========================================================
   v1.0.27 — custom Tutor LMS single course page
   ========================================================= */
.aez-course-page{background:#fffaf6;color:#101827;padding-bottom:70px}
.aez-course-hero{position:relative;overflow:hidden;background:linear-gradient(105deg,#fff 0%,#fff8f1 58%,#fff2e7 100%);border-bottom:1px solid #f0e5dc;padding:42px 0 38px}
.aez-course-hero:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:rgba(255,107,0,.065);left:-110px;top:-160px}
.aez-course-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:42px;align-items:center;direction:rtl}
.aez-course-hero-copy{min-width:0}
.aez-course-breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#8a9099;font-size:12px;margin-bottom:16px}
.aez-course-breadcrumbs a{color:#737a84;text-decoration:none}.aez-course-breadcrumbs a:hover{color:var(--aez-orange)}
.aez-course-category{display:inline-flex;align-items:center;background:#fff2e7;border:1px solid #ffd3b4;color:var(--aez-orange);border-radius:999px;padding:7px 13px;font-size:12px;font-weight:900}
.aez-course-hero h1{font-size:clamp(34px,4vw,58px);line-height:1.12;margin:14px 0 12px;letter-spacing:-1.2px;font-weight:950;color:#101827}
.aez-course-hero-copy>p{font-size:16px;line-height:1.9;color:#656d78;max-width:760px;margin:0}
.aez-course-hero-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.aez-course-hero-meta span{background:#fff;border:1px solid #eee2d8;border-radius:12px;padding:9px 12px;font-size:12px;font-weight:800;color:#555e69;box-shadow:0 6px 18px rgba(33,24,17,.035)}
.aez-course-hero-thumb{position:relative;border-radius:24px;padding:7px;background:#fff;border:1px solid #eaded5;box-shadow:0 18px 45px rgba(54,34,20,.09);overflow:hidden;min-height:245px}.aez-course-hero-thumb img{display:block;width:100%;height:100%;min-height:245px;max-height:310px;object-fit:cover;border-radius:18px}.aez-course-hero-placeholder{min-height:245px;border-radius:18px;background:linear-gradient(135deg,#ff6b00,#ff9d59);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;padding:30px}.aez-course-hero-placeholder span{font-size:58px}.aez-course-hero-placeholder strong{font-size:22px;margin-top:10px}
.aez-course-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start;padding-top:34px;direction:rtl}.aez-course-main{min-width:0}.aez-course-sidebar{min-width:0}
.aez-course-video-card,.aez-course-tabs-shell,.aez-entry-card,.aez-course-more-card{background:#fff;border:1px solid #eee2d8;border-radius:22px;box-shadow:0 12px 34px rgba(36,28,22,.045)}
.aez-course-video-card{padding:20px;margin-bottom:24px}.aez-course-card-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.aez-card-eyebrow{color:var(--aez-orange);font-size:11px;font-weight:900}.aez-course-card-heading h2{font-size:22px;margin:2px 0 0}.aez-video-source-badge{background:#fff3e8;color:var(--aez-orange);border-radius:999px;padding:7px 11px;font-size:10px;font-weight:900;white-space:nowrap}
.aez-course-video-wrap{overflow:hidden;border-radius:17px;background:#10151c}.aez-course-video-wrap iframe,.aez-course-video-wrap video,.aez-course-video-wrap .tutor-video-player,.aez-course-video-wrap .tutor-course-video-wrapper{width:100%!important;max-width:100%!important;border-radius:17px!important}.aez-course-video-wrap img{display:block;width:100%;height:auto}
.aez-course-tabs-shell{padding:0!important;overflow:hidden}.aez-course-tabs-nav{background:#fff;border-bottom:1px solid #eee7e0;padding:0 18px}.aez-course-tabs-content{padding:26px!important}.aez-course-tabs-shell .tutor-nav{gap:5px!important}.aez-course-tabs-shell .tutor-nav-link{font-weight:800!important;border-radius:10px!important}.aez-course-tabs-shell .tutor-nav-link.is-active{color:var(--aez-orange)!important;background:#fff2e7!important}
.aez-course-sidebar-sticky{position:sticky;top:88px}.aez-entry-card{padding:16px;overflow:hidden}.aez-entry-card .tutor-card{border:0!important;box-shadow:none!important}.aez-entry-card .tutor-btn,.aez-course-page .tutor-btn-primary{background:var(--aez-orange)!important;border-color:var(--aez-orange)!important;color:#fff!important;border-radius:13px!important;font-weight:900!important}.aez-entry-card .tutor-btn:hover,.aez-course-page .tutor-btn-primary:hover{background:#e85b00!important;border-color:#e85b00!important}.aez-entry-card .tutor-course-price{color:#101827!important;font-weight:950!important}
.aez-course-more-card{margin-top:18px;padding:18px}.aez-course-more-card>*{margin-bottom:18px}.aez-course-more-card>*:last-child{margin-bottom:0}
.aez-course-page .tutor-accordion-item{border:1px solid #eee4dc!important;border-radius:14px!important;margin-bottom:10px!important;overflow:hidden!important}.aez-course-page .tutor-accordion-item-header{background:#fffaf6!important;padding:16px 18px!important;font-weight:900!important}.aez-course-page .tutor-accordion-item-header.is-active{background:#fff2e7!important;color:var(--aez-orange)!important}.aez-course-page .tutor-course-content-list-item{padding:13px 16px!important;border-top:1px solid #f1ebe6!important}.aez-course-page .tutor-course-content-list-item:hover{background:#fffaf6!important}
.aez-course-page .tutor-progress-value{background:var(--aez-orange)!important}.aez-course-page .tutor-ratings-stars{color:#ff8b37!important}
.aez-mobile-entry-box{margin:0 0 24px}
@media(max-width:1024px){.aez-course-hero-grid{grid-template-columns:1fr 330px;gap:26px}.aez-course-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}}
@media(max-width:880px){.aez-course-hero{padding:30px 0}.aez-course-hero-grid{grid-template-columns:1fr;gap:22px}.aez-course-hero-thumb{max-width:620px;width:100%;margin:0 auto}.aez-course-layout{grid-template-columns:1fr}.aez-course-sidebar-sticky{position:static}.aez-course-sidebar{order:2}.aez-course-main{order:1}}
@media(max-width:640px){.aez-course-page{padding-bottom:45px}.aez-course-hero h1{font-size:34px}.aez-course-hero-copy>p{font-size:14px}.aez-course-hero-meta{gap:7px}.aez-course-hero-meta span{font-size:10px;padding:7px 9px}.aez-course-hero-thumb{min-height:190px;border-radius:18px}.aez-course-hero-thumb img{min-height:190px;max-height:230px;border-radius:13px}.aez-course-layout{padding-top:20px}.aez-course-video-card{padding:12px;border-radius:17px}.aez-course-card-heading h2{font-size:18px}.aez-video-source-badge{display:none}.aez-course-tabs-content{padding:18px!important}.aez-entry-card,.aez-course-more-card{border-radius:17px}}


/* =========================================================
   v1.0.28 — streamlined Tutor LMS course page
   ========================================================= */
.aez-course-page .tutor-course-details-ratings,
.aez-course-page .tutor-ratings,
.aez-course-page .tutor-ratings-stars,
.aez-course-page .tutor-course-review,
.aez-course-page .tutor-course-reviews-wrap,
.aez-course-page [id*="review"],
.aez-course-page [class*="review"]{
  display:none!important;
}
/* The custom header no longer has a Tutor LMS source badge. */
.aez-course-page .aez-video-source-badge{display:none!important}


/* v1.0.29 — Tutor course cards: hide ratings and instructor presentation */
.tutor-courses-wrap .tutor-ratings,
.tutor-courses-wrap .tutor-ratings-stars,
.tutor-courses-wrap .tutor-course-rating,
.tutor-dashboard .tutor-ratings,
.tutor-dashboard .tutor-ratings-stars,
.tutor-dashboard .tutor-course-rating,
.tutor-dashboard .tutor-star-rating-container,
.tutor-dashboard .tutor-icon-star-bold,
.tutor-dashboard .tutor-icon-star-line{display:none!important}
.aez-course-category-only{font-size:13px!important;color:var(--aez-muted)!important}
.aez-course-category-only a{color:var(--aez-orange)!important;font-weight:800!important}


/* v1.0.30 — hide Tutor last-update / enrollment-validity metadata block */
.aez-course-page .tutor-course-details-widget-list-item:has(.tutor-icon-calendar),
.aez-course-page .tutor-course-details-widget-row:has(.tutor-icon-calendar){display:none!important}


/* v1.0.31 default course cover support */
.aez-course-thumb img, .tutor-course-thumbnail img, .aez-course-hero-thumb img{object-fit:cover;}


/* v1.0.33 latest courses phrase + nicer thumbnail edges */
.aez-course-thumb,.tutor-course-thumbnail{display:block;overflow:hidden;border-radius:14px 14px 0 0;}
.aez-course-thumb img,.tutor-course-thumbnail img{border-radius:14px 14px 0 0!important;}
.aez-course-card img{border-radius:14px 14px 0 0!important;}
.aez-four-courses .aez-course-thumb,.aez-four-courses .tutor-course-thumbnail{border-radius:12px 12px 0 0;}
.aez-four-courses .aez-course-thumb img,.aez-four-courses .tutor-course-thumbnail img{border-radius:12px 12px 0 0!important;}

/* =========================================================
   v1.0.35 — mobile polish for About section portrait
   ========================================================= */
@media(max-width:640px){
  .aez-about-home{
    padding-top:36px!important;
    padding-bottom:42px!important;
  }
  .aez-about-home .aez-home-title{
    font-size:25px!important;
    line-height:1.35!important;
    margin-bottom:22px!important;
  }
  .aez-about-home-grid{
    gap:20px!important;
    margin-top:18px!important;
  }
  .aez-about-photo{
    width:100%!important;
    max-width:320px!important;
    height:245px!important;
    margin:0 auto!important;
    overflow:visible!important;
  }
  .aez-about-circle{
    width:190px!important;
    height:190px!important;
    right:50%!important;
    bottom:35px!important;
    transform:translateX(50%)!important;
    border-radius:50%!important;
  }
  .aez-about-photo img{
    width:190px!important;
    height:190px!important;
    right:50%!important;
    bottom:35px!important;
    transform:translateX(50%)!important;
    object-fit:contain!important;
    object-position:center bottom!important;
  }
  .aez-about-photo strong{
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:0!important;
    transform:translateX(-50%) rotate(-4deg)!important;
    width:max-content!important;
    max-width:92%!important;
    text-align:center!important;
    font-size:16px!important;
    line-height:1.3!important;
    white-space:nowrap!important;
  }
  .aez-about-text{
    font-size:13px!important;
    line-height:1.85!important;
    padding:0 6px!important;
  }
  .aez-about-badges{
    gap:8px!important;
    margin-top:14px!important;
  }
  .aez-about-badges span{
    padding:9px 7px!important;
    font-size:10px!important;
  }
  .aez-mission-card{
    margin-top:2px!important;
    padding:20px 14px!important;
  }
}


/* =========================================================
   v1.0.36 — larger teacher image in mobile final CTA
   ========================================================= */
@media(max-width:640px){
  .aez-final-cta{min-height:168px!important;padding:18px 16px 16px!important}
  .aez-final-cta>div{max-width:66%!important;position:relative!important;z-index:3!important}
  .aez-final-cta .aez-final-cta-teacher{
    height:172px!important;
    max-width:46%!important;
    left:2px!important;
    bottom:-6px!important;
    opacity:1!important;
    object-fit:contain!important;
    object-position:left bottom!important;
  }
}


/* =========================================================
   v1.0.37 — mobile CTA portrait: taller and grounded from bottom
   ========================================================= */
@media(max-width:640px){
  .aez-final-cta{
    min-height:182px!important;
    padding:18px 16px 14px!important;
    align-items:flex-start!important;
  }
  .aez-final-cta>div{
    max-width:64%!important;
    padding-right:2px!important;
  }
  .aez-final-cta .aez-final-cta-teacher{
    height:188px!important;
    max-width:48%!important;
    left:2px!important;
    bottom:-16px!important;
    top:auto!important;
    opacity:1!important;
    object-fit:contain!important;
    object-position:left bottom!important;
    transform:none!important;
  }
}


/* =========================================================
   v1.0.38 — mobile CTA portrait fixed: full-height from bottom
   ========================================================= */
@media(max-width:640px){
  .aez-final-cta{
    min-height:190px!important;
    height:190px!important;
    padding:18px 16px!important;
    overflow:hidden!important;
  }
  .aez-final-cta>div{
    max-width:62%!important;
    position:relative!important;
    z-index:3!important;
  }
  .aez-final-cta .aez-final-cta-teacher{
    position:absolute!important;
    left:-2px!important;
    right:auto!important;
    bottom:0!important;
    top:auto!important;
    height:186px!important;
    width:auto!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    transform:none!important;
    opacity:1!important;
    object-fit:contain!important;
    object-position:left bottom!important;
  }
}


/* =========================================================
   v1.0.39 — mobile CTA teacher truly fills the card
   ========================================================= */
.aez-final-cta-picture{display:contents;}
@media(max-width:640px){
  .aez-final-cta{
    height:190px!important;
    min-height:190px!important;
    padding:18px 16px!important;
    overflow:hidden!important;
  }
  .aez-final-cta>div{
    max-width:60%!important;
    position:relative!important;
    z-index:3!important;
  }
  .aez-final-cta .aez-final-cta-picture .aez-final-cta-teacher,
  .aez-final-cta .aez-final-cta-teacher{
    position:absolute!important;
    left:0!important;
    right:auto!important;
    bottom:0!important;
    top:auto!important;
    width:42%!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    transform:none!important;
    opacity:1!important;
    object-fit:contain!important;
    object-position:left bottom!important;
  }
}


/* =========================================================
   v1.0.40 — mobile CTA portrait fills the banner from the bottom
   ========================================================= */
@media(max-width:640px){
  .aez-final-cta{
    height:190px!important;
    min-height:190px!important;
    padding:18px 16px!important;
    overflow:hidden!important;
  }
  .aez-final-cta>div{
    max-width:55%!important;
    position:relative!important;
    z-index:3!important;
  }
  .aez-final-cta .aez-final-cta-picture{
    display:block!important;
    position:absolute!important;
    left:0!important;
    bottom:0!important;
    top:auto!important;
    width:55%!important;
    height:100%!important;
    margin:0!important;
    z-index:2!important;
    overflow:visible!important;
  }
  .aez-final-cta .aez-final-cta-picture .aez-final-cta-teacher{
    position:absolute!important;
    left:-3px!important;
    right:auto!important;
    bottom:0!important;
    top:auto!important;
    width:100%!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    opacity:1!important;
    transform:none!important;
    object-fit:contain!important;
    object-position:left bottom!important;
  }
}


/* =========================================================
   v1.0.41 — mobile CTA face visible while image still fills the card
   ========================================================= */
@media(max-width:640px){
  .aez-final-cta{
    height:190px!important;
    min-height:190px!important;
    padding:18px 16px!important;
    overflow:hidden!important;
  }
  .aez-final-cta>div{
    max-width:56%!important;
    position:relative!important;
    z-index:3!important;
  }
  .aez-final-cta .aez-final-cta-picture{
    display:block!important;
    position:absolute!important;
    left:0!important;
    bottom:0!important;
    width:48%!important;
    height:100%!important;
    margin:0!important;
    z-index:2!important;
    overflow:hidden!important;
  }
  .aez-final-cta .aez-final-cta-picture .aez-final-cta-teacher,
  .aez-final-cta .aez-final-cta-teacher{
    position:absolute!important;
    left:-2px!important;
    bottom:0!important;
    top:auto!important;
    width:auto!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    opacity:1!important;
    transform:none!important;
    object-fit:contain!important;
    object-position:left bottom!important;
  }
}


/* =========================================================
   v1.0.47 — mobile CTA match desktop look better
   ========================================================= */
@media(max-width:640px){
  .aez-final-cta{
    height:188px!important;
    min-height:188px!important;
    padding:18px 16px!important;
    overflow:hidden!important;
  }
  .aez-final-cta > div{
    max-width:54%!important;
    margin-right:auto!important;
    position:relative!important;
    z-index:3!important;
  }
  .aez-final-cta .aez-final-cta-picture{
    display:block!important;
    position:absolute!important;
    left:0!important;
    right:auto!important;
    bottom:0!important;
    width:46%!important;
    height:100%!important;
    overflow:hidden!important;
    z-index:2!important;
  }
  .aez-final-cta .aez-final-cta-picture .aez-final-cta-teacher,
  .aez-final-cta .aez-final-cta-teacher{
    position:absolute!important;
    left:-8px!important;
    right:auto!important;
    bottom:0!important;
    top:auto!important;
    width:auto!important;
    height:108%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:left bottom!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    opacity:1!important;
  }
}


/* =========================================================
   v1.0.48 — desktop CTA matches the mobile composition better
   ========================================================= */
@media(min-width:641px){
  .aez-final-cta{
    min-height:198px!important;
    height:198px!important;
    padding:22px 24px!important;
    overflow:hidden!important;
  }
  .aez-final-cta > div{
    max-width:56%!important;
    margin-right:auto!important;
    position:relative!important;
    z-index:3!important;
  }
  .aez-final-cta .aez-final-cta-picture{
    display:block!important;
    position:absolute!important;
    left:0!important;
    bottom:0!important;
    width:48%!important;
    height:100%!important;
    overflow:hidden!important;
    z-index:2!important;
  }
  .aez-final-cta .aez-final-cta-picture .aez-final-cta-teacher,
  .aez-final-cta .aez-final-cta-teacher{
    position:absolute!important;
    left:-8px!important;
    bottom:0!important;
    top:auto!important;
    width:auto!important;
    height:112%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:left bottom!important;
    transform:none!important;
    opacity:1!important;
  }
}


/* =========================================================
   v1.0.49 — desktop CTA: larger image without affecting text/button layout
   ========================================================= */
@media(min-width:641px){
  .aez-final-cta{
    display:grid!important;
    grid-template-columns:42% 58%!important;
    align-items:center!important;
    min-height:198px!important;
    height:198px!important;
    padding:0 28px 0 0!important;
    overflow:hidden!important;
    position:relative!important;
  }
  .aez-final-cta > div{
    grid-column:2!important;
    max-width:none!important;
    width:100%!important;
    margin:0!important;
    padding:0 6px 0 0!important;
    position:relative!important;
    z-index:3!important;
    text-align:right!important;
  }
  .aez-final-cta .aez-final-cta-picture{
    grid-column:1!important;
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:198px!important;
    overflow:hidden!important;
    z-index:2!important;
  }
  .aez-final-cta .aez-final-cta-picture .aez-final-cta-teacher,
  .aez-final-cta .aez-final-cta-teacher{
    position:absolute!important;
    left:8px!important;
    bottom:0!important;
    top:auto!important;
    width:auto!important;
    height:115%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:left bottom!important;
    transform:none!important;
    opacity:1!important;
    filter:drop-shadow(0 10px 16px rgba(0,0,0,.16))!important;
  }
  .aez-final-cta h2,
  .aez-final-cta p,
  .aez-final-cta a{position:relative!important;z-index:4!important}
}


/* =========================================================
   v1.0.51 — restore final CTA exactly to the approved v1.0.46 layout
   ========================================================= */
.aez-final-cta-picture{display:contents!important}

@media(min-width:641px){
  .aez-final-cta{
    display:flex!important;
    align-items:center!important;
    position:relative!important;
    min-height:190px!important;
    height:auto!important;
    padding:28px 30px!important;
    overflow:hidden!important;
  }
  .aez-final-cta>div{
    position:relative!important;
    z-index:3!important;
    max-width:58%!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    text-align:initial!important;
    grid-column:auto!important;
  }
  .aez-final-cta .aez-final-cta-picture{
    display:contents!important;
    position:static!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  .aez-final-cta .aez-final-cta-picture .aez-final-cta-teacher,
  .aez-final-cta .aez-final-cta-teacher{
    position:absolute!important;
    left:14px!important;
    right:auto!important;
    bottom:-28px!important;
    top:auto!important;
    height:218px!important;
    width:auto!important;
    max-width:44%!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:center bottom!important;
    transform:none!important;
    opacity:1!important;
    filter:drop-shadow(0 10px 18px rgba(0,0,0,.14))!important;
  }
  .aez-final-cta h2{font-size:30px!important}
  .aez-final-cta p{font-size:13px!important}
  .aez-final-cta a{font-size:12px!important;padding:8px 18px!important}
}

@media(max-width:980px) and (min-width:641px){
  .aez-final-cta{min-height:175px!important}
  .aez-final-cta .aez-final-cta-picture .aez-final-cta-teacher,
  .aez-final-cta .aez-final-cta-teacher{
    height:176px!important;
    left:6px!important;
    bottom:-20px!important;
  }
}

@media(max-width:640px){
  .aez-final-cta{
    display:flex!important;
    height:190px!important;
    min-height:190px!important;
    padding:18px 16px!important;
    overflow:hidden!important;
    position:relative!important;
    align-items:center!important;
  }
  .aez-final-cta>div{
    max-width:56%!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    position:relative!important;
    z-index:3!important;
    grid-column:auto!important;
  }
  .aez-final-cta .aez-final-cta-picture{
    display:block!important;
    position:absolute!important;
    left:0!important;
    right:auto!important;
    bottom:0!important;
    top:auto!important;
    width:48%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    overflow:hidden!important;
    z-index:2!important;
  }
  .aez-final-cta .aez-final-cta-picture .aez-final-cta-teacher,
  .aez-final-cta .aez-final-cta-teacher{
    position:absolute!important;
    left:-2px!important;
    right:auto!important;
    bottom:0!important;
    top:auto!important;
    width:auto!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    opacity:1!important;
    transform:none!important;
    object-fit:contain!important;
    object-position:left bottom!important;
    filter:drop-shadow(0 10px 18px rgba(0,0,0,.14))!important;
  }
  .aez-final-cta h2{font-size:24px!important}
}


/* v1.0.52 — two active grade cards */
.aez-grades-polished{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:820px;margin-inline:auto;}
@media(max-width:640px){.aez-grades-polished{grid-template-columns:1fr!important;max-width:none;}}


/* =========================================================
   v1.0.55 — code-only Tutor checkout
   ========================================================= */
.aez-code-checkout-page{min-height:62vh;padding:70px 18px;background:linear-gradient(180deg,#fff 0%,#fff8f2 100%);display:flex;align-items:flex-start;justify-content:center}
.aez-code-checkout-card{width:min(620px,100%);background:#fff;border:1px solid #eee2d8;border-radius:26px;padding:38px;box-shadow:0 18px 50px rgba(42,29,20,.08);text-align:center;direction:rtl}
.aez-code-checkout-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 14px;border-radius:20px;background:#fff2e7;font-size:30px}
.aez-code-checkout-card h1{margin:10px 0 8px;font-size:34px;color:#111827}.aez-code-checkout-lead{margin:0 auto 22px;max-width:480px;color:#6b7280;line-height:1.8;font-size:15px}
.aez-code-course-name{margin:0 auto 20px;padding:12px 16px;border-radius:14px;background:#fff8f2;border:1px solid #ffd8bd;color:#222;font-weight:900}
.aez-code-form{text-align:right}.aez-code-form label{display:block;font-size:14px;font-weight:900;margin-bottom:8px}.aez-code-field-row{display:grid;grid-template-columns:1fr 150px;gap:10px}
.aez-code-field-row input{width:100%;height:52px;border:1px solid #ddd4cc;border-radius:14px;padding:0 16px;font:inherit;font-size:17px;letter-spacing:.5px;text-transform:uppercase;outline:none}.aez-code-field-row input:focus{border-color:var(--aez-orange);box-shadow:0 0 0 3px rgba(255,107,0,.09)}
.aez-code-field-row button,.aez-code-login{height:52px;border:0;border-radius:14px;background:var(--aez-orange);color:#fff;font:inherit;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.aez-code-field-row button:hover,.aez-code-login:hover{background:var(--aez-orange-dark);color:#fff}
.aez-code-note{margin:16px 0 0;color:#888;font-size:12px}.aez-code-alert{margin:0 0 18px;padding:12px 15px;border-radius:12px;font-weight:800;font-size:13px}.aez-code-alert.error{background:#fff1f1;color:#b42318;border:1px solid #ffd4d0}.aez-code-alert.success{background:#effcf4;color:#147a42;border:1px solid #c9efd8}.aez-code-login{padding:0 24px}
@media(max-width:640px){.aez-code-checkout-page{padding:38px 14px}.aez-code-checkout-card{padding:26px 18px;border-radius:20px}.aez-code-checkout-card h1{font-size:28px}.aez-code-field-row{grid-template-columns:1fr}.aez-code-field-row button{width:100%}}

/* =========================================================
   v1.0.58 — frontend platform admin dashboard
   Mirrors the final Ahmed Salah platform-admin dashboard UI.
   ========================================================= */
.mras-platform-admin{background:#f5f8fc;min-height:75vh;padding-bottom:70px;overflow-x:clip!important}
.mras-admin-hero{background:linear-gradient(135deg,#071a38,#0f3d7a);color:#fff;padding:54px 0}
.mras-admin-hero h1{font-size:clamp(30px,5vw,50px);margin:7px 0 10px;color:#fff}
.mras-admin-hero p{max-width:720px;color:#d8e7fb;margin:0}
.mras-admin-hero>div>span{font-weight:900;opacity:.85}
.mras-admin-stats{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.mras-admin-stats>div{min-width:145px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);padding:14px 18px;border-radius:16px}
.mras-admin-stats b,.mras-admin-stats span{display:block}.mras-admin-stats b{font-size:24px}.mras-admin-stats span{font-size:13px;color:#d8e7fb;margin-top:3px}
.mras-admin-wrap{padding-top:24px;max-width:1180px!important;margin-inline:auto;padding-inline:18px;box-sizing:border-box}
.mras-admin-nav{display:flex;gap:8px;flex-wrap:wrap;position:sticky;top:8px;z-index:20;background:rgba(245,248,252,.92);backdrop-filter:blur(10px);padding:8px;border-radius:16px;margin-bottom:22px;box-shadow:0 6px 24px rgba(15,23,42,.05)}
.mras-admin-nav a,.mras-admin-secondary{background:#fff;border:1px solid #dbe5f0;border-radius:11px;padding:9px 13px;font-weight:900;color:#1d3557;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.mras-admin-nav a:hover,.mras-admin-secondary:hover{border-color:#1769d2;color:#1769d2}
.mras-admin-section{margin:26px 0 40px;scroll-margin-top:90px}
.mras-admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.mras-admin-section-head span{font-size:12px;color:#2470d8;font-weight:900}.mras-admin-section-head h2{margin:4px 0 0;color:#12223a}
.mras-admin-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.mras-admin-card{background:#fff;border:1px solid #e0e8f1;border-radius:20px;padding:20px;box-shadow:0 8px 30px rgba(15,23,42,.05);min-width:0}
.mras-admin-card h3{margin-top:0;color:#12223a}
.mras-admin-card label{display:block;font-weight:800;margin:12px 0 6px;color:#1f2937}
.mras-admin-card input:not([type=checkbox]):not([type=file]),.mras-admin-card select,.mras-admin-card textarea{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #d9e3ef;border-radius:11px;padding:11px;background:#fff;color:#111827;font-family:inherit}
.mras-admin-primary{border:0;border-radius:12px;background:#1769d2;color:#fff!important;padding:11px 18px;font-weight:900;margin-top:15px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-family:inherit}
.mras-admin-primary:hover{background:#1158b4}
.mras-admin-course-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.mras-admin-course-list article{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:10px;background:#fff;border:1px solid #e3eaf2;border-radius:15px;padding:9px;min-width:0}
.mras-admin-course-list img{width:92px;height:58px;object-fit:cover;border-radius:10px}.mras-admin-course-list strong,.mras-admin-course-list small{display:block;overflow-wrap:anywhere}.mras-admin-course-list small{color:#718096}
.mras-admin-table-wrap{overflow:auto;background:#fff;border:1px solid #e1e8f0;border-radius:18px;width:100%;max-width:100%;-webkit-overflow-scrolling:touch}
.mras-admin-table{width:100%;border-collapse:collapse;min-width:850px}
.mras-admin-table th,.mras-admin-table td{text-align:right;padding:12px;border-bottom:1px solid #edf1f5;vertical-align:middle;white-space:nowrap}.mras-admin-table th{background:#f8fbff;color:#354052}.mras-admin-table td small{display:block;color:#7b8794;margin-top:3px}.mras-admin-table a{color:#1769d2;font-weight:900}
.mras-admin-notice{padding:13px 15px;border-radius:12px;margin-bottom:14px;font-weight:800}.mras-admin-notice.success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.mras-admin-notice.error{background:#fff1f2;color:#b42318;border:1px solid #fecdd3}
.mras-admin-help{color:#718096;font-size:13px;line-height:1.7}
.aez-id-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.aez-id-summary .mras-admin-card{display:flex;flex-direction:column;gap:4px}.aez-id-summary b{font-size:28px;color:#0f3d7a}.aez-id-summary span{color:#718096;font-weight:800}
.aez-status{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900}.aez-status.used{background:#e8f0ff;color:#1956a8}.aez-status.free{background:#ecfdf3;color:#166534}
.aez-scan-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.aez-scan-actions .mras-admin-secondary{margin-top:15px}.aez-reader{width:100%;min-height:250px;margin-top:12px;border:1px dashed #c8d7e7;border-radius:16px;overflow:hidden;background:#f8fbff}.aez-reader video{border-radius:14px}
.aez-manual-scan{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.aez-manual-scan .mras-admin-primary{margin-top:0;height:45px}.aez-scan-result{display:none;margin-top:12px;padding:12px 14px;border-radius:12px;font-weight:800}.aez-scan-result.success{display:block;background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.aez-scan-result.error{display:block;background:#fff1f2;color:#b42318;border:1px solid #fecdd3}.aez-count-pill{display:inline-flex;min-width:28px;height:28px;align-items:center;justify-content:center;padding:0 8px;border-radius:999px;background:#e8f0ff;color:#1956a8;font-size:13px}
.aez-compact-table{min-width:620px}.aez-compact-table-wrap{max-height:550px;overflow:auto}
.aez-dashboard-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:14px}.aez-dashboard-search .mras-admin-primary{margin-top:0}
.aez-export-card{display:flex;gap:16px;align-items:flex-start}.aez-export-icon{width:58px;height:58px;border-radius:14px;background:#e8f0ff;color:#1956a8;display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto}.aez-export-card h3{margin-bottom:5px}.aez-export-card p{color:#718096;margin-top:0}
.aez-dashboard-modal{position:fixed;inset:0;background:rgba(7,26,56,.72);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}.aez-dashboard-modal[hidden]{display:none}.aez-dashboard-modal-box{width:min(430px,100%);background:#fff;border-radius:24px;padding:24px;text-align:center;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.25)}.aez-dashboard-modal-close{position:absolute;left:14px;top:12px;border:0;background:#eef3f8;border-radius:50%;width:34px;height:34px;font-size:24px;cursor:pointer}.aez-dashboard-modal-box #aez-qr-render{display:flex;justify-content:center;align-items:center;margin:18px auto;max-width:100%;overflow:auto}.aez-dashboard-modal-box #aez-qr-render canvas{max-width:100%;height:auto}.aez-dashboard-modal-box code{display:inline-block;padding:6px 10px;background:#f4f7fb;border-radius:8px;font-weight:900}

@media(max-width:800px){
  .mras-admin-hero{padding:36px 0}.mras-admin-two-col{grid-template-columns:1fr}.mras-admin-course-list{grid-template-columns:1fr}.aez-id-summary{grid-template-columns:1fr 1fr 1fr}
  .mras-admin-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;overflow:visible!important;padding:5px!important;margin-bottom:14px!important;border-radius:12px!important;top:4px}
  .mras-admin-nav a{min-width:0!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;padding:7px 5px!important;border-radius:8px!important;font-size:9.5px!important;line-height:1.25!important;min-height:38px!important}
  .mras-admin-section{scroll-margin-top:68px}
}
@media(max-width:520px){
  .mras-admin-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;padding:4px!important}.mras-admin-nav a{padding:6px 4px!important;font-size:9px!important;min-height:36px!important}
  .mras-admin-course-list article{grid-template-columns:70px minmax(0,1fr) auto}.mras-admin-course-list img{width:70px;height:48px}.aez-id-summary{grid-template-columns:1fr}.aez-manual-scan,.aez-dashboard-search{grid-template-columns:1fr}.aez-manual-scan .mras-admin-primary,.aez-dashboard-search .mras-admin-primary{width:100%}.mras-admin-wrap{padding-inline:10px}.mras-admin-card{padding:14px}.mras-admin-stats>div{min-width:calc(50% - 6px);box-sizing:border-box}
}

/* v1.0.59 — clarify platform students vs management students vs ID pool */
.mras-admin-stats>div small{display:block;margin-top:6px;font-size:11px;line-height:1.5;color:#b9d0ea;max-width:180px}.mras-admin-section-head .mras-admin-help{margin:6px 0 0;max-width:680px}


/* v1.0.60 — separate platform administration from center/attendance administration */
.aez-platform-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:18px}.mras-admin-section-separator{display:flex;align-items:center;gap:16px;margin:48px 0 18px;font-weight:900;color:var(--aez-primary,#f58220)}.mras-admin-section-separator:before,.mras-admin-section-separator:after{content:"";height:1px;background:rgba(0,0,0,.12);flex:1}.mras-admin-table td small{display:block;opacity:.7;margin-top:4px}.mras-admin-nav a:nth-child(-n+5){font-weight:800}.mras-admin-nav a:nth-child(6){margin-inline-start:12px}
@media(max-width:800px){.aez-platform-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mras-admin-nav a:nth-child(6){margin-inline-start:0}}

/* v1.0.63 — full frontend platform management */
.aez-platform-course-manager{align-items:start}
.aez-course-category-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:6px 0 16px}
.aez-course-category-picker label{display:flex;align-items:center;gap:8px;border:1px solid #e6ebf2;border-radius:12px;padding:10px 12px;background:#fff;font-weight:800}
.aez-course-category-picker input{width:auto;margin:0}
.aez-section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.aez-section-toolbar h3{margin:0}.aez-section-toolbar input{max-width:280px}
.aez-course-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.aez-inline-form{display:inline-flex;margin:0}
.aez-delete-course{border:0;background:#fff1f2;color:#b42318;border-radius:10px;padding:9px 12px;font:inherit;font-weight:900;cursor:pointer}
.aez-generated-codes{width:100%;direction:ltr;text-align:left;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.75;margin-top:8px}
.aez-dual-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.mras-admin-secondary.danger{background:#fff1f2!important;color:#b42318!important;border-color:#fecdd3!important}
.aez-platform-admin .mras-admin-card label{display:block;font-weight:900;margin:12px 0 7px}
.aez-platform-admin .mras-admin-card input[type=text],.aez-platform-admin .mras-admin-card input[type=search],.aez-platform-admin .mras-admin-card input[type=number],.aez-platform-admin .mras-admin-card input[type=file],.aez-platform-admin .mras-admin-card select,.aez-platform-admin .mras-admin-card textarea{width:100%;box-sizing:border-box}
@media(max-width:720px){.aez-course-category-picker{grid-template-columns:1fr}.aez-section-toolbar{align-items:stretch;flex-direction:column}.aez-section-toolbar input{max-width:none}.aez-dual-actions>*{flex:1 1 auto}}

/* Attendance quick-profile + delete controls */
.aez-quick-profile{margin-top:14px;padding:14px;border:1px solid rgba(249,115,22,.28);border-radius:14px;background:#fff7ed;display:grid;gap:10px}.aez-quick-profile label{display:grid;gap:5px;font-weight:700}.aez-quick-profile input{width:100%;min-height:42px;border:1px solid #d1d5db;border-radius:10px;padding:8px 11px}.mras-admin-link-danger{border:0;background:transparent;color:#b91c1c;font-weight:800;cursor:pointer;padding:5px}.mras-admin-link-danger:hover{color:#7f1d1d;text-decoration:underline}

/* AEZ SALAH PLATFORM CLONE CSS */
.mras-platform-admin{background:#f5f8fc;min-height:75vh;padding-bottom:70px}
.mras-admin-hero{background:linear-gradient(135deg,#071a38,#0f3d7a);color:#fff;padding:54px 0}
.mras-admin-hero h1{font-size:clamp(30px,5vw,50px);margin:7px 0 10px}
.mras-admin-hero p{max-width:720px;color:#d8e7fb}
.mras-admin-stats{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.mras-admin-stats>div{min-width:145px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);padding:14px 18px;border-radius:16px}
.mras-admin-stats b,.mras-admin-stats span{display:block}.mras-admin-stats b{font-size:24px}
.mras-admin-wrap{padding-top:24px}
.mras-admin-nav{display:flex;gap:8px;flex-wrap:wrap;position:sticky;top:8px;z-index:20;background:rgba(245,248,252,.92);backdrop-filter:blur(10px);padding:8px;border-radius:16px;margin-bottom:22px}
.mras-admin-nav a,.mras-admin-secondary{background:#fff;border:1px solid #dbe5f0;border-radius:11px;padding:9px 13px;font-weight:900}
.mras-admin-section{margin:26px 0 40px;scroll-margin-top:90px}
.mras-admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.mras-admin-section-head span{font-size:12px;color:#2470d8;font-weight:900}.mras-admin-section-head h2{margin:4px 0 0}
.mras-admin-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.mras-admin-card{background:#fff;border:1px solid #e0e8f1;border-radius:20px;padding:20px;box-shadow:0 8px 30px rgba(15,23,42,.05)}
.mras-admin-card h3{margin-top:0}
.mras-admin-card label{display:block;font-weight:800;margin:12px 0 6px}
.mras-admin-card input:not([type=checkbox]):not([type=file]),.mras-admin-card select,.mras-admin-card textarea{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #d9e3ef;border-radius:11px;padding:11px;background:#fff}
.mras-admin-primary{border:0;border-radius:12px;background:#1769d2;color:#fff;padding:11px 18px;font-weight:900;margin-top:15px;cursor:pointer}
.mras-admin-course-form{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.mras-admin-field.full{grid-column:1/-1}
.mras-admin-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mras-admin-categories label{margin:0;background:#f7faff;border:1px solid #e5edf6;border-radius:10px;padding:9px}
.mras-admin-course-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.mras-admin-course-list article{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:10px;background:#fff;border:1px solid #e3eaf2;border-radius:15px;padding:9px;min-width:0}
.mras-admin-course-list img{width:92px;height:58px;object-fit:cover;border-radius:10px}.mras-admin-course-list strong,.mras-admin-course-list small{display:block;overflow-wrap:anywhere}.mras-admin-course-list small{color:#718096}
.mras-admin-table-wrap{overflow:auto;background:#fff;border:1px solid #e1e8f0;border-radius:18px}
.mras-admin-table{width:100%;border-collapse:collapse;min-width:850px}
.mras-admin-table th,.mras-admin-table td{text-align:right;padding:12px;border-bottom:1px solid #edf1f5;vertical-align:middle}.mras-admin-table th{background:#f8fbff}.mras-admin-table td small{display:block;color:#7b8794;margin-top:3px}
.mras-admin-table a{color:#1769d2;font-weight:900}
.mras-admin-notice{padding:13px 15px;border-radius:12px;margin-bottom:14px;font-weight:800}.mras-admin-notice.success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.mras-admin-notice.error{background:#fff1f2;color:#b42318;border:1px solid #fecdd3}

@media(max-width:800px){
  .mras-admin-hero{padding:36px 0}.mras-admin-two-col{grid-template-columns:1fr}
  .mras-admin-course-form{grid-template-columns:1fr}.mras-admin-field.full{grid-column:auto}
  .mras-admin-categories{grid-template-columns:1fr 1fr}.mras-admin-course-list{grid-template-columns:1fr}
}
@media(max-width:520px){
  .mras-admin-categories{grid-template-columns:1fr}
  .mras-admin-course-list article{grid-template-columns:70px minmax(0,1fr) auto}
  .mras-admin-course-list img{width:70px;height:48px}
}


/* v1.0.29 — video URL field in custom course editor */
.mras-admin-help{
  display:block;
  margin-top:6px;
  color:#6b7b8f;
  font-size:12px;
  line-height:1.6;
}
.mras-admin-course-form input[name="course_video_url"]{
  direction:ltr;
  text-align:left;
}


/* v1.0.30 — access-code generator */
.mras-generated-codes-card{min-width:0}
.mras-code-batch-meta{background:#f7faff;border:1px solid #e1eaf5;border-radius:11px;padding:10px 12px;margin:8px 0 10px;font-size:13px}
.mras-generated-codes{width:100%!important;max-width:100%!important;box-sizing:border-box!important;direction:ltr!important;text-align:left!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-weight:800!important;letter-spacing:.5px!important;line-height:1.8!important;background:#071a38!important;color:#dff1ff!important;border:0!important;border-radius:13px!important;padding:13px!important;resize:vertical!important}
.mras-copy-codes{margin-top:10px!important;cursor:pointer!important}


/* =========================================================
   v1.0.34 — Tutor LMS video ±4s controls
   ========================================================= */
  .mras-rs-copy{padding-top:27px}
  .mras-rs-kicker{font-size:10px;min-height:33px}
  .mras-rs-copy h1{font-size:39px;margin-top:13px}
  .mras-rs-copy>p{font-size:12px;max-width:340px}
  .mras-rs-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    width:100%;
    margin-top:16px;
  }
  .mras-rs-btn{min-width:0;padding:0 10px;font-size:12px}
  .mras-rs-features{
    grid-template-columns:repeat(2,1fr);
    margin-top:16px;
    max-width:100%;
  }
  .mras-rs-features>div{min-height:68px;padding:9px 5px}
  .mras-rs-features i{font-size:18px}
  .mras-rs-features b{font-size:10px}
  .mras-rs-features small{font-size:8px}
  .mras-rs-stage{height:390px;min-height:390px}
  .mras-rs-teacher img{height:415px}
  .mras-rs-tech-shape{width:270px;height:270px}
}


/* =========================================================
   v1.0.42 — notifications + WhatsApp center
   ========================================================= */
.mras-notice-bell{position:relative;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce5ef;border-radius:50%;background:#fff;text-decoration:none;font-size:18px}
.mras-notice-bell b{position:absolute;top:-4px;left:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e03131;color:#fff;font-size:10px;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.mras-student-notice-list{display:grid;gap:10px}
.mras-student-notice{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center;background:#fff;border:1px solid #e1e8f0;border-radius:16px;padding:14px 15px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.mras-student-notice.is-unread{border-color:#9fc9ff;background:#f7fbff;box-shadow:0 0 0 2px rgba(35,112,216,.05)}
.mras-student-notice-icon{width:42px;height:42px;border-radius:13px;background:#eef6ff;display:flex;align-items:center;justify-content:center}
.mras-student-notice-copy>div{display:flex;align-items:center;gap:8px}.mras-student-notice-copy strong{font-size:14px}.mras-student-notice-copy span{font-size:9px;background:#2370d8;color:#fff;border-radius:999px;padding:3px 7px}.mras-student-notice-copy p{margin:5px 0;color:#49576a;line-height:1.65;font-size:12px}.mras-student-notice-copy small{color:#8a97a7}.mras-student-notice>a{font-weight:900;color:#1769d2;white-space:nowrap}
.mras-notice-target{margin-top:10px}.mras-recipient-search{margin-bottom:8px}.mras-recipient-picker{max-height:230px;overflow:auto;border:1px solid #e0e8f1;border-radius:12px;background:#f9fbfd;padding:7px}.mras-recipient-picker>label{display:flex!important;gap:8px;align-items:flex-start;margin:0!important;padding:8px;border-bottom:1px solid #edf1f5;cursor:pointer}.mras-recipient-picker>label:last-child{border-bottom:0}.mras-recipient-picker b,.mras-recipient-picker small{display:block}.mras-recipient-picker small{color:#718096;margin-top:2px}
.mras-admin-notice-history{display:grid;gap:8px}.mras-admin-notice-history article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border:1px solid #e7edf3;border-radius:12px;background:#fafcff}.mras-admin-notice-history strong,.mras-admin-notice-history small{display:block}.mras-admin-notice-history small{color:#718096;margin-top:3px}.mras-admin-notice-history time{font-size:10px;color:#8a97a7;white-space:nowrap}
.mras-whatsapp-toolbar{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px}.mras-whatsapp-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.mras-whatsapp-actions .mras-admin-primary{margin-top:0}.mras-wa-table-wrap{overflow:auto;border:1px solid #e1e8f0;border-radius:14px}.mras-wa-table{width:100%;min-width:800px;border-collapse:collapse}.mras-wa-table th,.mras-wa-table td{text-align:right;padding:10px 11px;border-bottom:1px solid #edf1f5}.mras-wa-table th{background:#f7faff}.mras-wa-table tr[hidden]{display:none!important}.mras-wa-queue{margin-top:16px;padding:16px;border:1px solid #d9e8df;border-radius:15px;background:#f8fbf9}.mras-wa-queue-head{display:flex;align-items:center;justify-content:space-between}.mras-wa-queue-head h3{margin:0}.mras-wa-link{display:block;margin-top:7px;padding:10px 12px;border-radius:10px;background:#1fa855;color:#fff!important;font-weight:900;text-decoration:none}
@media(max-width:800px){.mras-whatsapp-toolbar{grid-template-columns:1fr}.mras-student-notice{grid-template-columns:40px minmax(0,1fr)}.mras-student-notice>a{grid-column:2}.mras-notice-bell{width:38px;height:38px}}


/* v1.0.54 notification dropdown */
.mras-notice-center{position:relative;display:inline-flex;align-items:center;z-index:1005}.mras-notice-bell{position:relative!important;width:42px!important;height:42px!important;min-width:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border:1px solid #dce5ef!important;border-radius:50%!important;background:#fff!important;cursor:pointer!important}.mras-notice-bell b{position:absolute!important;top:-5px!important;left:-5px!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:999px!important;background:#e03131!important;color:#fff!important;font-size:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:2px solid #fff!important}.mras-notice-popover[hidden]{display:none!important}.mras-notice-popover{position:absolute;top:calc(100% + 12px);left:0;width:min(390px,calc(100vw - 24px));max-height:520px;background:#fff;border:1px solid #dfe7f0;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.18);overflow:hidden;direction:rtl;z-index:10000}.mras-notice-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px 13px;border-bottom:1px solid #edf1f5}.mras-notice-popover-head strong,.mras-notice-popover-head small{display:block}.mras-notice-popover-list{max-height:420px;overflow-y:auto}.mras-notice-item{display:grid;grid-template-columns:9px minmax(0,1fr) 24px;gap:10px;padding:13px 14px;border-bottom:1px solid #f0f3f6}.mras-notice-item.is-unread{background:#f4f8ff}.mras-notice-dot{width:7px;height:7px;margin-top:6px;border-radius:50%;background:#c8d1da}.mras-notice-item.is-unread .mras-notice-dot{background:#2f80ed}.mras-notice-empty{padding:34px 20px;text-align:center}
@media(max-width:980px){.mras-notice-popover{position:fixed;top:76px;left:12px;right:12px;width:auto}.mras-notice-popover-list{max-height:calc(100vh - 170px)}}

/* v1.0.54 bundles / curriculum / exams */
.mras-builder-head,.mras-bundle-videos-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.mras-builder-actions{display:flex;gap:8px;flex-wrap:wrap}.mras-curriculum-items{display:grid;gap:12px}.mras-builder-item{padding:15px;border:1px solid #dfe7f0;border-radius:16px;background:#fbfdff}.mras-builder-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.mras-builder-item-head>div{display:flex;gap:5px}.mras-builder-item-head button,.mras-question-top button,.mras-remove-row{width:30px;height:30px;border:1px solid #dce5ef;border-radius:9px;background:#fff;cursor:pointer;font-weight:900}.mras-exam-config{display:grid;grid-template-columns:1fr 190px;gap:10px}.mras-builder-questions{display:grid;gap:10px;margin:10px 0}.mras-builder-question{padding:12px;border:1px dashed #cad8e8;border-radius:13px;background:#fff}.mras-question-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.mras-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.mras-choice-builder{padding:9px;border:1px solid #e6ecf2;border-radius:12px;background:#fbfdff}.mras-choice-text{display:flex;align-items:center;gap:7px}.mras-choice-image-btn{margin-top:7px;border:1px solid #d9e4ef;border-radius:9px;background:#fff;padding:6px 9px;font-size:10px;font-weight:900;cursor:pointer}.mras-question-media-row{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;margin:8px 0 12px}.mras-media-preview{position:relative;width:120px;min-height:72px;border:1px solid #dbe5ee;border-radius:11px;background:#fff;overflow:hidden}.mras-media-preview img{width:100%;height:88px;object-fit:contain}.mras-media-preview button{position:absolute;top:4px;left:4px;width:24px;height:24px;border:0;border-radius:50%;background:rgba(182,32,32,.92);color:#fff}.mras-bundle-course-picker{max-height:240px;overflow:auto;border:1px solid #e0e7ef;border-radius:13px;padding:8px;margin:8px 0 15px}.mras-bundle-video-row{display:grid;grid-template-columns:1fr 1.6fr 36px;gap:8px;align-items:center;margin-bottom:8px}.mras-bundle-list{display:grid;gap:8px}.mras-bundle-list article{display:flex;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #e1e8ef;border-radius:12px}.mras-course-sequence{display:grid;gap:14px}.mras-sequence-item{border:1px solid #dce6ef;border-radius:17px;background:#fff;overflow:hidden}.mras-sequence-head{display:flex;align-items:center;gap:11px;padding:13px 15px;border-bottom:1px solid #edf1f4}.mras-sequence-number{width:31px;height:31px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eaf4ff;color:#2475d3;font-weight:950}.mras-lock-pill,.mras-pass-pill{font-size:10px;padding:6px 8px;border-radius:999px;white-space:nowrap}.mras-learning-video{position:relative;aspect-ratio:16/9;background:#000}.mras-learning-video iframe,.mras-learning-video video{width:100%;height:100%;border:0;display:block}.mras-student-exam{padding:15px}.mras-exam-question{border:1px solid #e2e9f0;border-radius:13px;padding:12px;margin:0 0 10px}.mras-exam-question-image{text-align:center;margin:10px 0 14px}.mras-exam-question-image img{max-width:100%;max-height:420px;object-fit:contain;border-radius:13px}.mras-exam-choice-content{display:flex;flex-direction:column;gap:8px;flex:1}.mras-exam-choice-content img{max-width:100%;max-height:260px;object-fit:contain;border-radius:11px}.mras-course-locked-main{text-align:center;padding:34px 16px}.mras-student-bundle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mras-student-bundle-card{padding:17px;border:1px solid #e0e8f0;border-radius:17px;background:#fff}.mras-bundle-links{display:grid;gap:6px;margin-top:7px}
@media(max-width:720px){.mras-builder-head,.mras-bundle-videos-head{display:block}.mras-exam-config,.mras-choice-grid,.mras-bundle-video-row,.mras-student-bundle-grid{grid-template-columns:1fr}}


/* =========================================================
   v1.0.55 — notification bell fixed beside menu only
   ========================================================= */
.mras-student-dashboard .mras-dashboard-notifications,
.mras-student-dashboard #notifications,
body.page-template-student-dashboard .mras-dashboard-notifications,
body.page-template-student-dashboard #notifications{
  display:none!important;
}

/* v1.0.83 — restore student-dashboard stylesheet boundary */
/* v1.0.79 — Student dashboard parity with mrahmedsalah.com */
.mras-student-dashboard{background:#f7faff;min-height:70vh;padding-bottom:70px}
.mras-dashboard-hero{background:linear-gradient(135deg,#071c35 0%,#0b315b 56%,#135ca8 100%);color:#fff;position:relative;overflow:hidden}
.mras-dashboard-hero:before{content:"π   ∑   √x   sin θ";position:absolute;left:4%;top:18%;font-size:72px;letter-spacing:30px;color:rgba(255,255,255,.055);font-family:Georgia,serif;white-space:nowrap;direction:ltr}
.mras-dashboard-hero-inner{min-height:240px;display:flex;align-items:center;justify-content:space-between;gap:28px;position:relative;z-index:2}
.mras-dashboard-kicker{display:inline-flex;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.08);border-radius:999px;padding:5px 12px;font-size:12px;font-weight:800}
.mras-dashboard-hero h1{font-size:38px;margin:12px 0 4px;line-height:1.2}.mras-dashboard-hero p{margin:0;color:#d7e7f7;font-size:15px}
.mras-dashboard-grade-card{min-width:270px;background:#fff;color:#0b1e34;border-radius:20px;padding:20px 22px;box-shadow:0 18px 38px rgba(0,0,0,.18)}
.mras-dashboard-grade-card span{display:block;font-size:11px;color:#6b7d91;font-weight:800}.mras-dashboard-grade-card strong{display:block;font-size:21px;margin:3px 0 10px}.mras-dashboard-grade-card a{color:#2563eb;font-weight:900;font-size:12px}
.mras-dashboard-section{padding:46px 0 0}.mras-dashboard-latest{padding-top:55px}
.mras-dashboard-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.mras-dashboard-section-head span{color:#2563eb;font-size:11px;font-weight:900}.mras-dashboard-section-head h2{font-size:27px;margin:2px 0 0}.mras-dashboard-section-head>b{background:#eaf3ff;color:#2563eb;border-radius:999px;padding:6px 12px;font-size:11px}.mras-dashboard-section-head>a{color:#2563eb;font-size:12px;font-weight:900}
.mras-dashboard-courses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.mras-dashboard-course-card{background:#fff;border:1px solid #dbe6f2;border-radius:18px;overflow:hidden;box-shadow:0 10px 26px rgba(11,30,52,.045);min-width:0}
.mras-dashboard-course-thumb{display:block;aspect-ratio:16/8.5;overflow:hidden;background:#eaf2ff}.mras-dashboard-course-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mras-dashboard-course-body{padding:15px}.mras-dashboard-course-category{display:inline-flex;background:#eef5ff;color:#2563eb;border-radius:999px;padding:4px 9px;font-size:9px;font-weight:900}.mras-dashboard-course-body h3{font-size:16px;line-height:1.5;margin:9px 0 14px;min-height:48px}.mras-dashboard-course-body h3 a{color:#0c2038}
.mras-dashboard-course-footer{border-top:1px solid #edf1f5;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:8px}.mras-dashboard-course-footer span{font-size:10px;color:#7b8897;font-weight:800}.mras-dashboard-course-footer span.is-active{color:#16834b}.mras-dashboard-course-footer a{font-size:10px;color:#2563eb;font-weight:900;white-space:nowrap}
.mras-dashboard-empty{background:#fff;border:1px dashed #bfd2e8;border-radius:20px;padding:34px;text-align:center}.mras-dashboard-empty>span{font-size:42px}.mras-dashboard-empty h3{font-size:19px;margin:8px 0 3px}.mras-dashboard-empty p{color:#748296;margin:0 0 15px}
@media(max-width:900px){.mras-dashboard-hero-inner{min-height:0;padding:34px 0;flex-direction:column;align-items:stretch}.mras-dashboard-grade-card{min-width:0}.mras-dashboard-courses{grid-template-columns:repeat(2,minmax(0,1fr))}.mras-dashboard-hero:before{font-size:42px}}
@media(max-width:560px){.mras-dashboard-hero h1{font-size:28px}.mras-dashboard-section{padding-top:32px}.mras-dashboard-section-head{align-items:center}.mras-dashboard-section-head h2{font-size:22px}.mras-dashboard-courses{grid-template-columns:1fr}.mras-dashboard-course-thumb{aspect-ratio:16/8}.mras-dashboard-empty{padding:26px 18px}}




/* Code-only activation: never show WooCommerce billing/payment UI to students. */
body.aez-code-only-checkout .woocommerce-billing-fields,
body.aez-code-only-checkout .woocommerce-additional-fields,
body.aez-code-only-checkout #customer_details,
body.aez-code-only-checkout #payment,
body.aez-code-only-checkout .woocommerce-checkout-review-order-table{display:none!important;}


/* v1.0.81 — clearer activation-code actions */
.mras-generated-code-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.mras-generated-code-table{width:100%;min-width:680px;border-collapse:separate;border-spacing:0}
.mras-generated-code-table th,.mras-generated-code-table td{vertical-align:middle;text-align:right;white-space:normal}
.mras-code-actions-cell{min-width:210px}
.mras-code-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mras-code-actions form{margin:0}
.mras-code-action-btn{border:0;border-radius:10px;padding:8px 12px;font-weight:800;cursor:pointer;line-height:1.2}
.mras-code-action-reset{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}
.mras-code-action-delete{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.mras-code-action-btn:hover{filter:brightness(.97)}
@media(max-width:720px){.mras-generated-code-table{min-width:620px}.mras-code-actions{flex-direction:column;align-items:stretch}.mras-code-action-btn{width:100%}}


/* v1.0.87 — offline-first barcode attendance */
.aez-offline-panel{margin-top:16px;padding:16px;border:1px solid #e4e7ec;border-radius:14px;background:#f8fafc}.aez-offline-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.aez-offline-head strong{font-size:15px}.aez-offline-state{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800;background:#ecfdf3;color:#027a48}.aez-offline-state.offline{background:#fff4e5;color:#b54708}.aez-offline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.aez-offline-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.aez-offline-meta div{background:#fff;border:1px solid #eaecf0;border-radius:10px;padding:10px}.aez-offline-meta b{display:block;font-size:18px}.aez-offline-meta span{font-size:12px;color:#667085}.aez-offline-note{margin:10px 0 0;color:#667085;font-size:12px;line-height:1.7}.aez-pending-row{background:#fffaf0!important}.aez-pending-badge{font-size:11px;font-weight:800;color:#b54708}.aez-sync-errors{margin-top:8px;font-size:12px;color:#b42318}@media(max-width:640px){.aez-offline-meta{grid-template-columns:1fr 1fr}.aez-offline-meta div:last-child{grid-column:1/-1}}

/* v1.0.88 center attendance summary */
.aez-center-summary-card{margin-top:18px}.aez-center-summary-table td,.aez-center-summary-table th{text-align:right}.aez-center-present{display:inline-flex;min-width:42px;justify-content:center;padding:5px 9px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:800}.aez-center-absent{display:inline-flex;min-width:42px;justify-content:center;padding:5px 9px;border-radius:999px;background:#fef2f2;color:#b91c1c;font-weight:800}.aez-unassigned-center{background:#fff7ed}

/* v1.0.88 center attendance summary */
.aez-center-summary-card{margin-top:18px}.aez-center-summary-table td,.aez-center-summary-table th{text-align:right}.aez-center-present{display:inline-flex;min-width:42px;justify-content:center;padding:5px 9px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:800}.aez-center-absent{display:inline-flex;min-width:42px;justify-content:center;padding:5px 9px;border-radius:999px;background:#fef2f2;color:#b91c1c;font-weight:800}.aez-unassigned-center{background:#fff7ed}

/* v1.0.90 official center/grade/group structure */
.aez-center-list{display:flex;flex-direction:column;gap:8px;max-height:320px;overflow:auto}.aez-center-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(15,23,42,.1);border-radius:12px}.aez-credentials-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.aez-credentials-tools>div:first-child{flex:1;min-width:260px}.aez-edit-grid textarea{width:100%}.aez-edit-wide{grid-column:1/-1}.aez-center-account-edit input[readonly]{background:#f4f6f8;cursor:not-allowed}.mras-admin-table code{direction:ltr;display:inline-block;font-size:.92em}


/* v1.0.95 — detailed center attendance/absence roster */
.aez-center-report-filters{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(200px,1fr) auto;gap:10px;align-items:end;padding:14px;margin-bottom:16px;border:1px solid #e4eaf1;border-radius:16px;background:#fbfdff}.aez-center-report-filters label{display:block;font-size:11px;font-weight:900;margin:0 0 5px;color:#475467}.aez-center-report-filters select{width:100%;min-height:44px}.aez-center-total-box{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin:12px 0 18px}.aez-center-total-box>div{padding:15px 16px;border-radius:15px;background:#f8fafc;border:1px solid #e4eaf1}.aez-center-total-box span{display:block;font-size:11px;font-weight:800;color:#667085}.aez-center-total-box strong{display:block;font-size:25px;line-height:1.25;margin-top:3px}.aez-total-present{background:#ecfdf3!important;border-color:#b7ebcd!important;color:#087443}.aez-total-absent{background:#fff1f2!important;border-color:#fecdd3!important;color:#b42336}.aez-attendance-rosters{display:grid;grid-template-columns:1fr 1fr;gap:16px;direction:rtl}.aez-roster{border-radius:18px;overflow:hidden;border:1px solid}.aez-roster-present{background:#f6fffa;border-color:#b7ebcd}.aez-roster-absent{background:#fff7f7;border-color:#fecaca}.aez-roster-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.aez-roster-present .aez-roster-head{background:#dcfce7}.aez-roster-absent .aez-roster-head{background:#fee2e2}.aez-roster-head span{font-size:10px;font-weight:900;opacity:.72}.aez-roster-head h4{margin:2px 0 0;font-size:17px}.aez-roster-head>b{min-width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;background:#fff;border:1px solid rgba(15,23,42,.1)}.aez-roster-list{max-height:540px;overflow:auto}.aez-roster-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border-bottom:1px solid rgba(15,23,42,.07)}.aez-roster-row:last-child{border-bottom:0}.aez-roster-row strong{display:block;font-size:13px}.aez-roster-row small{display:block;color:#667085;font-size:10px;margin-top:2px}.aez-roster-present .aez-roster-row>span{font-size:10px;font-weight:900;color:#087443;white-space:nowrap}.aez-absent-wa-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-start}.aez-wa-roster-btn{border:1px solid #d0d5dd;background:#fff;border-radius:9px;padding:7px 9px;font-size:10px;font-weight:900;cursor:pointer;white-space:nowrap}.aez-wa-parent{color:#b42336;border-color:#fecaca}.aez-wa-student{color:#087443;border-color:#b7ebcd}.aez-wa-roster-btn:disabled{opacity:.4;cursor:not-allowed}.aez-roster-empty,.aez-center-report-placeholder{padding:28px 18px;text-align:center;color:#667085;font-size:12px}.aez-center-report-placeholder{border:1px dashed #cbd5e1;border-radius:14px;background:#fafcff}
@media(max-width:850px){.aez-center-report-filters{grid-template-columns:1fr 1fr}.aez-center-report-filters button{grid-column:1/-1}.aez-attendance-rosters{grid-template-columns:1fr}.aez-roster-absent{order:2}.aez-roster-present{order:1}.aez-center-total-box{grid-template-columns:1fr 1fr}.aez-center-total-box>div:first-child{grid-column:1/-1}}
@media(max-width:560px){.aez-center-report-filters{grid-template-columns:1fr}.aez-center-report-filters button{grid-column:auto}.aez-center-total-box{grid-template-columns:1fr}.aez-center-total-box>div:first-child{grid-column:auto}.aez-roster-row{align-items:flex-start;flex-direction:column}.aez-absent-wa-actions{width:100%}.aez-wa-roster-btn{flex:1}}


/* =========================================================
   v1.0.97 — logout button on desktop + mobile navigation
   ========================================================= */
.aez-header-logout{
  background:#fff!important;
  color:#4b5563!important;
  border:1px solid #eadfd6!important;
  border-radius:18px!important;
  padding:10px 14px!important;
  min-width:108px;
  font-size:13px!important;
  box-shadow:none!important;
  white-space:nowrap;
}
.aez-header-logout:hover{
  color:var(--aez-orange)!important;
  border-color:#ffb27b!important;
  background:#fff7f1!important;
  transform:translateY(-1px);
}
.aez-mobile-menu-logout{display:none!important}
@media(max-width:980px){
  .aez-header-logout{display:none!important}
  #aezMenu .aez-mobile-menu-logout,
  #aezMenu.aez-menu>.aez-mobile-menu-logout{
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:100%;
    margin-top:8px;
    padding:11px 14px!important;
    border:1px solid #ffd2b3;
    border-radius:12px;
    background:#fff7f1;
    color:var(--aez-orange)!important;
    font-weight:900!important;
  }
  #aezMenu li.aez-mobile-menu-logout{padding:0!important;list-style:none!important}
  #aezMenu li.aez-mobile-menu-logout>a{
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:100%;
    padding:11px 14px!important;
    color:var(--aez-orange)!important;
  }
  #aezMenu .aez-mobile-menu-logout:after,
  #aezMenu li.aez-mobile-menu-logout>a:after{display:none!important}
}
body.logged-in #aez-site-header .aez-nav{grid-template-columns:260px 1fr 294px}
@media(max-width:980px){body.logged-in #aez-site-header .aez-nav{grid-template-columns:none}}

/* v1.0.98 — removed duplicate dashboard logout link below the site header; header/mobile logout controls remain. */


/* =========================================================
   v1.0.100 — platform management feature parity
   ========================================================= */
.mras-admin-course-form [data-course-price-field][hidden]{display:none!important}.mras-course-price-state{display:inline-flex!important;align-items:center;width:max-content;margin-top:5px;padding:4px 9px;border-radius:999px;font-weight:800;font-size:12px;background:rgba(255,107,0,.10);color:var(--aez-orange)}
.mras-code-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:14px}.mras-code-search-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:min(100%,420px)}.mras-code-search-form input[type=search]{flex:1;min-width:190px;margin:0!important}.mras-code-pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:18px}.mras-code-pagination a,.mras-code-pagination span{min-width:38px;height:38px;padding:0 10px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;border:1px solid #e7e1da;background:#fff;color:#7a3b10}.mras-code-pagination a.current{background:var(--aez-orange);color:#fff;border-color:var(--aez-orange);pointer-events:none}
.mras-code-price-groups{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 16px}.mras-code-price-chip{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 13px;border:1px solid #eaded4;border-radius:12px;background:#fff8f2;color:#7a3b10;text-decoration:none;font-weight:800;transition:.2s}.mras-code-price-chip b{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#ffe9d9;font-size:12px}.mras-code-price-chip:hover,.mras-code-price-chip.current{background:var(--aez-orange);color:#fff;border-color:var(--aez-orange);transform:translateY(-1px)}.mras-code-price-chip.current b,.mras-code-price-chip:hover b{background:rgba(255,255,255,.2);color:#fff}
.mras-code-bulk-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px!important;padding:12px 14px;border:1px solid #eaded4;border-radius:14px;background:#fff8f2}.mras-code-bulk-actions select{min-width:190px;min-height:42px;border:1px solid #e7e1da;border-radius:10px;background:#fff;padding:0 12px;font:inherit;font-weight:700}.mras-code-select-col{width:46px;text-align:center!important}.mras-code-select-col input{width:18px;height:18px;accent-color:var(--aez-orange);cursor:pointer}.mras-code-status.disabled{background:#f3f4f6!important;color:#6b7280!important}.mras-code-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.mras-code-row-actions form{margin:0!important}.mras-code-action-btn{min-height:34px;padding:6px 10px;border-radius:9px;border:1px solid #e7e1da;background:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.mras-code-action-btn.toggle,.mras-code-action-btn.reset{color:#9a4c14;background:#fff8f2}.mras-code-action-btn.delete{color:#b42318;border-color:#f0b8b3;background:#fff7f6}
.mras-code-generator-progress{margin-top:18px;padding:16px;border:1px solid #eaded4;border-radius:14px;background:#fff8f2}.mras-code-generator-progress[hidden]{display:none!important}.mras-code-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.mras-code-progress-count{font-weight:800;direction:ltr;color:#9a4c14}.mras-code-progress-track{height:12px;border-radius:999px;background:#ffe9d9;overflow:hidden}.mras-code-progress-bar{display:block;width:0;height:100%;border-radius:inherit;background:var(--aez-orange);transition:width .22s}.mras-code-progress-meta{display:flex;justify-content:space-between;gap:12px;margin-top:9px;font-size:12px;color:#7b6a5d}.mras-code-progress-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.mras-code-progress-error{margin-top:10px;padding:10px 12px;border-radius:10px;background:#fff1f2;color:#be123c;font-size:13px;font-weight:700}.mras-code-progress-success{margin-top:10px;padding:10px 12px;border-radius:10px;background:#ecfdf3;color:#166534;font-size:13px;font-weight:700}.mras-code-generator-form.is-generating input,.mras-code-generator-form.is-generating button[type=submit]{opacity:.65;pointer-events:none}
.mras-bundle-thumbnail-field{display:grid;gap:8px;margin:14px 0}.mras-bundle-thumbnail-preview{display:grid;gap:6px}.mras-bundle-thumbnail-preview img{width:100%;max-width:360px;aspect-ratio:16/9;object-fit:cover;border-radius:14px;border:1px solid #e7e1da}.mras-admin-bundle-thumb{width:72px;height:52px;object-fit:cover;border-radius:10px;flex:0 0 72px;border:1px solid #e7e1da}.mras-bundle-category-picker{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 20px}.mras-bundle-category-picker label{position:relative;cursor:pointer}.mras-bundle-category-picker input{position:absolute;opacity:0;pointer-events:none}.mras-bundle-category-picker span{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;border:1px solid #e7e1da;border-radius:999px;background:#fff;color:#374151;font-weight:800;font-size:12px}.mras-bundle-category-picker input:checked+span{background:var(--aez-orange)!important;border-color:var(--aez-orange)!important;color:#fff!important}.mras-bundle-select-head{display:grid;gap:10px;margin-top:8px}.mras-bundle-package-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:560px;overflow:auto;padding:5px 3px;margin:8px 0 20px}.mras-bundle-package-card{position:relative;display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:12px;min-height:94px;padding:8px;border:2px solid #e7e1da;border-radius:16px;background:#fff;cursor:pointer;overflow:hidden;transition:.18s}.mras-bundle-package-card:hover{transform:translateY(-2px);border-color:#ffb27a}.mras-bundle-package-card>input{position:absolute;opacity:0;pointer-events:none}.mras-bundle-package-thumb{display:block;width:100px;height:72px;border-radius:11px;overflow:hidden;background:#111827}.mras-bundle-package-thumb img{display:block;width:100%;height:100%;object-fit:cover}.mras-bundle-package-copy strong{display:block;font-size:13px;line-height:1.55}.mras-bundle-package-copy small{display:block;margin-top:5px;color:#6b7280;font-size:10px}.mras-bundle-package-check{position:absolute;top:8px;left:8px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;opacity:.45;font-size:13px;font-weight:900}.mras-bundle-package-card:has(input:checked){border-color:var(--aez-orange)!important;box-shadow:0 0 0 2px rgba(255,107,0,.1)}.mras-bundle-package-card:has(input:checked) .mras-bundle-package-check{opacity:1;background:var(--aez-orange)}.mras-tutor-bundle-badge{display:inline-flex!important;width:max-content;margin-top:5px;padding:3px 7px;border-radius:999px;background:rgba(255,107,0,.12);color:var(--aez-orange)!important;font-size:10px!important;font-weight:900}
@media(max-width:720px){.mras-code-search-form{width:100%;min-width:0}.mras-code-search-form input[type=search]{width:100%;flex-basis:100%}.mras-code-bulk-actions{align-items:stretch}.mras-code-bulk-actions select,.mras-code-bulk-actions .mras-admin-secondary{width:100%}.mras-bundle-package-picker{grid-template-columns:1fr}.mras-admin-bundle-thumb{width:60px;height:44px;flex-basis:60px}}


/* v1.0.100 — exam PDF + numbered MCQ/essay support ported from the mature platform. */
.mras-exam-pdf-builder{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin:12px 0;
  padding:13px;
  border:1px solid var(--mras-page-border,#dbe9df);
  border-radius:14px;
  background:var(--mras-page-surface,#fff);
}
.mras-exam-pdf-builder>div:first-child b,
.mras-exam-pdf-builder>div:first-child small{display:block}
.mras-exam-pdf-builder>div:first-child small{margin-top:3px;color:var(--mras-page-muted,#60746a)}
.mras-exam-pdf-current{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:9px 11px;
  border-radius:11px;
  background:rgba(53,184,116,.10);
}
.mras-exam-pdf-current[hidden]{display:none!important}
.mras-exam-pdf-current a{font-weight:900;color:#35b874!important}
.mras-exam-pdf-current button{margin-inline-start:auto;border:0;background:transparent;color:#c64a4a;cursor:pointer;font-weight:900}

.mras-question-key-row{
  display:grid;
  grid-template-columns:150px minmax(180px,260px);
  gap:10px;
  margin-bottom:12px;
}
.mras-question-key-row label,
.mras-essay-answer-builder label{display:grid;gap:6px;font-weight:900}
.mras-question-key-row input,
.mras-question-key-row select,
.mras-essay-answer-builder textarea{width:100%}
.mras-essay-answer-builder{padding:12px;border:1px solid #dfeee3;border-radius:12px;background:#f8faf8}
.mras-essay-answer-builder small{display:block;margin-top:6px;color:#60746a}
.mras-question-optional{margin-top:11px;border-top:1px dashed #dfeee3;padding-top:10px}
.mras-question-optional summary{cursor:pointer;font-weight:900;color:#4f846f;margin-bottom:8px}

html[data-theme="dark"] body .mras-exam-pdf-builder,
html[data-theme="dark"] body .mras-builder-question,
html[data-theme="dark"] body .mras-essay-answer-builder{
  background:#0d2119!important;
  border-color:#29483b!important;
  color:#f5f8f6!important;
}
html[data-theme="dark"] body .mras-exam-pdf-builder small,
html[data-theme="dark"] body .mras-essay-answer-builder small,
html[data-theme="dark"] body .mras-question-optional summary{color:#a9c0b4!important}

.mras-exam-pdf-viewer{
  margin:0 0 18px;
  overflow:hidden;
  border:1px solid var(--mras-border,#d6ded7);
  border-radius:16px;
  background:var(--mras-surface,#fff);
}
.mras-exam-pdf-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid var(--mras-border,#d6ded7);
}
.mras-exam-pdf-head>div{display:flex;align-items:center;gap:9px}
.mras-exam-pdf-head strong,.mras-exam-pdf-head small{display:block}
.mras-exam-pdf-head small{color:var(--mras-text-soft,#60746a);font-size:11px}
.mras-exam-pdf-head a{font-weight:900;color:var(--mras-primary,#35b874)!important;white-space:nowrap}
.mras-exam-pdf-viewer iframe{display:block;width:100%;height:720px;border:0;background:#fff}

.mras-exam-question legend{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 0 8px;
  font-weight:900;
}
.mras-exam-question legend small{
  flex:0 0 auto;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(53,184,116,.12);
  color:#35b874!important;
  font-size:10px;
}
.mras-exam-choice{display:flex;align-items:flex-start;gap:9px;margin:8px 0;cursor:pointer}
.mras-exam-choice-content{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;width:100%;padding:10px 12px;border:1px solid var(--mras-border,#d6ded7);border-radius:11px}
.mras-exam-choice-content i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:rgba(53,184,116,.12);color:#35b874;font-style:normal;font-weight:900;flex:0 0 26px}
.mras-exam-essay-input{display:grid;gap:7px}
.mras-exam-essay-input textarea{width:100%;min-height:100px;padding:12px;border:1px solid var(--mras-border,#d6ded7);border-radius:12px;background:var(--mras-surface,#fff);color:var(--mras-text,#102019);font:inherit;resize:vertical}

html[data-theme="dark"] body .mras-exam-pdf-viewer,
html[data-theme="dark"] body .mras-exam-choice-content,
html[data-theme="dark"] body .mras-exam-essay-input textarea{
  background:#0d2119!important;
  border-color:#29483b!important;
  color:#f5f8f6!important;
}

@media(max-width:720px){
  .mras-question-key-row{grid-template-columns:1fr}
  .mras-exam-pdf-builder{grid-template-columns:1fr}
  .mras-exam-pdf-viewer iframe{height:520px}
  .mras-exam-pdf-head{align-items:flex-start;flex-direction:column}
}

/* v1.0.100 — Ahmed Ezzat learning-sequence finishing styles. */
.aez-course-page .mras-course-summary-card{position:relative}
.aez-course-page .mras-course-curriculum{padding:0!important;overflow:visible!important}
.aez-course-page .mras-course-open-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:12px 18px;border-radius:14px;background:var(--aez-orange);color:#fff!important;font-weight:900;transition:.2s ease}
.aez-course-page .mras-course-open-btn:hover{background:var(--aez-orange-dark);transform:translateY(-1px)}
.aez-course-page .mras-homework-box{padding:15px;background:#fffaf6}
.aez-course-page .mras-homework-description{margin:0 0 12px;color:var(--aez-muted)}
.aez-course-page .mras-homework-files{display:grid;gap:10px}
.aez-course-page .mras-homework-image{display:block;border:1px solid #f0ded0;border-radius:13px;background:#fff;overflow:hidden}
.aez-course-page .mras-homework-image img{display:block;width:100%;max-height:520px;object-fit:contain;background:#fff8f2}
.aez-course-page .mras-homework-image span{display:block;padding:9px 11px;color:#4a2b18;font-size:12px;font-weight:800}
.aez-course-page .mras-homework-file{display:flex;align-items:center;gap:10px;padding:12px 13px;border:1px solid #f0ded0;border-radius:12px;background:#fff8f2}
.aez-course-page .mras-homework-file>span{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#ffeadb;font-size:19px}
.aez-course-page .mras-homework-file strong,.aez-course-page .mras-homework-file small{display:block}
.aez-course-page .mras-homework-file strong{color:#3b2417;font-size:13px}.aez-course-page .mras-homework-file small{margin-top:3px;color:#8a6c59;font-size:10px}
.aez-course-page .mras-exam-note{margin:0 0 13px;padding:10px 12px;border-radius:11px;background:#fff4eb;color:#6a3511;font-weight:700}
.aez-course-page .mras-exam-passed-message{padding:15px;background:#edf9f0;color:#226b36;font-weight:900}
.aez-course-page .mras-sequence-locked-msg{padding:15px;background:#fafafa;color:#737373;font-weight:700}
.aez-course-page .mras-exam-choice{display:flex;align-items:flex-start;gap:10px;margin:8px 0;padding:10px 11px;border:1px solid #ece3dc;border-radius:11px;cursor:pointer}
.aez-course-page .mras-exam-choice:has(input:checked){border-color:var(--aez-orange);background:#fff7f0}
.aez-course-page .mras-exam-choice-content>i{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:#fff0e4;color:var(--aez-orange-dark);font-style:normal;font-weight:900}
.aez-course-page .mras-pass-pill{background:#eaf7ee;color:#1f7a39}.aez-course-page .mras-lock-pill{background:#f3f3f3;color:#666}
@media(max-width:720px){.aez-course-page .mras-homework-image img{max-height:360px}.aez-course-page .mras-exam-pdf-viewer iframe{height:460px}}


/* v1.0.102 — Platform Management is visually scoped to Ahmed Ezzat Academy orange/white design language. */
