/* AConsultIT Academy — "Campus" theme v1.0
   Warm paper, navy ink, gold accents. Overrides the dark neon theme via variables. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600;700&family=Noto+Naskh+Arabic:wght@500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600&display=swap');

:root{
  --paper:#FAF7F0; --paper2:#F3EEE3; --paper3:#ECE5D6;
  --ink:#14213D; --ink2:#44506A; --ink3:#7A8296;
  --navy:#0E2344; --navy2:#1B3A6B;
  --gold:#C99A2E; --gold2:#A87E1C; --gold-soft:#F6ECD2;
  --line:#E2DACA; --line2:#D2C7B1;

  --bg:var(--paper); --bg2:#FFFFFF; --bg3:var(--paper2);
  --blue:var(--navy2); --blue2:var(--navy); --purple:var(--navy2); --cyan:#2F6F73;
  --green:#2E7D4F; --amber:var(--gold); --red:#B3261E;
  --text:var(--ink); --text2:var(--ink2); --text3:var(--ink3);
  --border:var(--line); --border2:var(--line2);
  --card:#FFFFFF; --card2:var(--paper2);
  --font:'Source Sans 3',system-ui,sans-serif;
  --font-ar:'IBM Plex Sans Arabic',sans-serif;
  --font-display:'Fraunces',Georgia,serif;
  --font-display-ar:'Noto Naskh Arabic','IBM Plex Sans Arabic',serif;
}

html,body{background:var(--paper)!important;color:var(--ink)!important;}
body{font-family:var(--font)!important;font-size:16.5px;line-height:1.6;-webkit-font-smoothing:antialiased;}
[lang="ar"] body,[dir="rtl"] body{font-family:var(--font-ar)!important;}
h1,h2,h3,.hm-h1,.hm-sec-t,.ehis-title{font-family:var(--font-display)!important;color:var(--ink)!important;letter-spacing:-.01em;}
[lang="ar"] h1,[lang="ar"] h2,[lang="ar"] h3,[lang="ar"] .hm-h1,[lang="ar"] .hm-sec-t{font-family:var(--font-display-ar)!important;letter-spacing:0;}
p{color:var(--ink2);}
a{color:var(--navy2);}
::selection{background:var(--gold-soft);color:var(--ink);}

/* no glow blobs, no gradient text */
.ac-blobs,.ac-blob{display:none!important;}
[class*="grad"],.hm-h1 span,.hm-h1 em,.hm-h1 b{background:none!important;-webkit-text-fill-color:currentColor!important;color:inherit!important;}
.hm-h1 span,.hm-h1 em{color:var(--navy2)!important;font-style:italic;}
.hm-h1 span:last-child,.hm-h1 em:last-child{position:relative;}

/* header */
.ac-top{background:rgba(250,247,240,.96)!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important;backdrop-filter:none!important;}
.ac-logo{gap:10px!important;}
.ac-logo-ic{background:url('/assets/img/academy-logo-128.png?v=1.0.2') center/cover no-repeat!important;font-size:0!important;color:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;width:44px!important;height:44px!important;border-radius:50%!important;overflow:hidden;}
.ac-logo-ic img{width:100%;height:100%;display:block;}
.ac-logo-n{font-family:var(--font-display)!important;color:var(--ink)!important;font-weight:600!important;}
.ac-logo-t{color:var(--gold2)!important;}
.ac-nav a{color:var(--ink2)!important;background:none!important;font-weight:500;}
.ac-nav a:hover{color:var(--ink)!important;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px;}
.ac-nav a.on{color:var(--ink)!important;box-shadow:inset 0 -2px 0 var(--gold)!important;border-radius:0!important;}
.ac-nav a[style]{color:var(--ink2)!important;}
.ac-nav a[href*="trial"],.ac-x-cta{background:var(--gold-soft)!important;color:var(--gold2)!important;border:1px solid #E8D6A6!important;box-shadow:none!important;}
.ac-lang{background:var(--paper2)!important;border:1px solid var(--line)!important;}
.ac-lang a,.ac-lang button{color:var(--ink3)!important;background:none!important;}
.ac-lang a.on,.ac-lang button.on{background:#fff!important;color:var(--ink)!important;box-shadow:0 1px 0 var(--line2)!important;}

a.ac-x:not(.ac-x-cta),.ac-nav a.ac-x:not(.ac-x-cta){color:var(--ink2)!important;background:none!important;border:0!important;}
.ac-nav a.ac-x:not(.ac-x-cta):hover{color:var(--ink)!important;}

/* buttons */
.btn-p,.hm-btn-p,.btn--primary,button[type="submit"],.hm-crd-btn,.corp-cta,.teach-cta,.ac-mb-cta{
  background:var(--navy)!important;color:#fff!important;border:1px solid var(--navy)!important;box-shadow:none!important;border-radius:8px!important;background-image:none!important;}
.btn-p:hover,.hm-btn-p:hover,button[type="submit"]:hover,.hm-crd-btn:hover,.corp-cta:hover,.teach-cta:hover{background:var(--navy2)!important;transform:none!important;}
.btn-g,.hm-btn-s,.btn--ghost{background:transparent!important;color:var(--ink)!important;border:1px solid var(--line2)!important;box-shadow:none!important;border-radius:8px!important;}
.btn-g:hover,.hm-btn-s:hover{border-color:var(--ink)!important;}

/* hero */
.hm-hero{padding-top:72px!important;}
.hm-badge{background:#fff!important;border:1px solid var(--line)!important;color:var(--ink2)!important;box-shadow:none!important;}
.hm-h1{font-weight:600!important;line-height:1.08!important;}
.hm-sub{color:var(--ink2)!important;font-size:1.12rem!important;}
.hm-stats{background:#fff!important;border:1px solid var(--line)!important;box-shadow:none!important;border-radius:10px!important;}
.hm-stat{border-color:var(--line)!important;}
.hm-stat-val{color:var(--navy)!important;font-family:var(--font-display)!important;background:none!important;-webkit-text-fill-color:currentColor!important;}
.hm-stat-lbl{color:var(--ink3)!important;}

/* cards & panels */
.card,.panel,.box,.hm-crd,.ehis-card,.corp-banner,.teach-banner{
  background:#fff!important;border:1px solid var(--line)!important;box-shadow:0 1px 2px rgba(20,33,61,.04)!important;border-radius:10px!important;background-image:none!important;}
.hm-crd:hover{border-color:var(--line2)!important;transform:translateY(-2px);box-shadow:0 6px 18px rgba(20,33,61,.07)!important;}
.hm-crd-img{background:var(--paper2)!important;border-bottom:1px solid var(--line);}
.hm-crd-t{color:var(--ink)!important;font-weight:600;}
.hm-crd-d{color:var(--ink2)!important;}
.hm-crd-pts{color:var(--gold2)!important;}
.hm-sec-sub{color:var(--ink3)!important;}
.hm-sec-a{color:var(--navy2)!important;}

.ehis-card{border-left:4px solid var(--gold)!important;}
[dir="rtl"] .ehis-card{border-left:1px solid var(--line)!important;border-right:4px solid var(--gold)!important;}
.ehis-icon,.corp-banner-icon{background:var(--gold-soft)!important;color:var(--gold2)!important;box-shadow:none!important;}
.ehis-kicker,.corp-banner-tag,.teach-banner-tag{color:var(--gold2)!important;background:var(--gold-soft)!important;border-color:#E8D6A6!important;}
.ehis-body{color:var(--ink2)!important;}
.ehis-chip{background:var(--paper)!important;border:1px solid var(--line)!important;color:var(--ink2)!important;}
.ehis-cta{color:var(--navy2)!important;}
.corp-banner{background:var(--navy)!important;border-color:var(--navy)!important;}
.corp-banner *{color:#E9EDF5!important;}
.corp-banner .corp-cta{background:var(--gold)!important;border-color:var(--gold)!important;color:var(--navy)!important;}
.corp-banner .corp-banner-tag{color:var(--gold2)!important;}
.corp-banner .corp-banner-tag *{color:var(--gold2)!important;}
.teach-banner h2 *,.teach-banner h3 *,.teach-banner-left *{background:none!important;-webkit-text-fill-color:currentColor!important;}
.teach-banner h2 span,.teach-banner h3 span{color:var(--gold2)!important;}
.corp-feat-dot{background:var(--gold)!important;}
.teach-banner{background:var(--gold-soft)!important;border-color:#E8D6A6!important;}
.teach-pct{color:var(--gold2)!important;background:none!important;-webkit-text-fill-color:currentColor!important;}

/* forms */
input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="tel"],input[type="search"],select,textarea{
  background:#fff!important;color:var(--ink)!important;border:1px solid var(--line2)!important;border-radius:8px!important;}
input:focus,select:focus,textarea:focus{border-color:var(--navy2)!important;box-shadow:0 0 0 3px rgba(27,58,107,.12)!important;outline:none!important;}
input::placeholder,textarea::placeholder{color:var(--ink3)!important;}
label{color:var(--ink2)!important;}
.alert-success,.flash-success,.notice-success,.ac-flash-ok{background:#EAF4EC!important;color:#1E5B37!important;border:1px solid #CFE5D5!important;}
.alert-error,.alert-danger,.flash-error,.notice-error,.ac-flash-er{background:#FBECEA!important;color:#8A1F17!important;border:1px solid #F1CFCA!important;}

/* footer */
.ac-foot{background:var(--navy)!important;border-top:3px solid var(--gold)!important;}
.ac-foot,.ac-foot *{color:#C9D1E0!important;}
.ac-foot a:hover{color:#fff!important;}

/* cookie bar & mobile menu */
#ac-cb{background:#fff!important;color:var(--ink)!important;border:1px solid var(--line)!important;box-shadow:0 8px 24px rgba(20,33,61,.12)!important;}
.ac-cb-ok{background:var(--navy)!important;color:#fff!important;}
.ac-cb-no{background:transparent!important;color:var(--ink2)!important;border:1px solid var(--line2)!important;}
.ac-mb-overlay{background:var(--paper)!important;}
.ac-mb-overlay a{color:var(--ink)!important;}
.ac-mb-btn{color:var(--ink)!important;border-color:var(--line2)!important;background:#fff!important;}

::-webkit-scrollbar-track{background:var(--paper2)!important;}
::-webkit-scrollbar-thumb{background:var(--line2)!important;}


/* ---- legacy views with inline dark styles ---- */
[style*="background:#080c18"],[style*="background: #080c18"],[style*="background:#0d1224"],[style*="background: #0d1224"],[style*="background:#111827"],[style*="background: #111827"],[style*="background:#0f172a"],[style*="background: #0f172a"],[style*="background:#1e293b"],[style*="background: #1e293b"],[style*="background:#0b1120"],[style*="background: #0b1120"],[style*="background:#0a0f1e"],[style*="background: #0a0f1e"],[style*="background:#161e31"],[style*="background: #161e31"],[style*="background:#131a2e"],[style*="background: #131a2e"],[style*="background-color:#080c18"],[style*="background-color: #080c18"],[style*="background-color:#0d1224"],[style*="background-color: #0d1224"],[style*="background-color:#111827"],[style*="background-color: #111827"],[style*="background-color:#0f172a"],[style*="background-color: #0f172a"],[style*="background-color:#1e293b"],[style*="background-color: #1e293b"],[style*="background-color:#0b1120"],[style*="background-color: #0b1120"],[style*="background-color:#0a0f1e"],[style*="background-color: #0a0f1e"],[style*="background-color:#161e31"],[style*="background-color: #161e31"],[style*="background-color:#131a2e"],[style*="background-color: #131a2e"]{background:#fff!important;border-color:var(--line)!important;color:var(--ink)!important;}
[style*="color:#f1f5f9"],[style*="color: #f1f5f9"],[style*="color:#e2e8f0"],[style*="color: #e2e8f0"],[style*="color:#f8fafc"],[style*="color: #f8fafc"],[style*="color:#e5e7eb"],[style*="color: #e5e7eb"]{color:var(--ink)!important;}
[style*="color:#94a3b8"],[style*="color: #94a3b8"],[style*="color:#cbd5e1"],[style*="color: #cbd5e1"],[style*="color:#9ca3af"],[style*="color: #9ca3af"]{color:var(--ink2)!important;}
[style*="color:#64748b"],[style*="color: #64748b"],[style*="color:#475569"],[style*="color: #475569"],[style*="color:#6b7280"],[style*="color: #6b7280"]{color:var(--ink3)!important;}
[style*="rgba(255,255,255,.07)"],[style*="rgba(255,255,255,.1)"],[style*="rgba(255,255,255,.08)"],[style*="rgba(255,255,255,.13)"],[style*="rgba(255,255,255,.15)"],[style*="rgba(255,255,255,0.1)"]{border-color:var(--line)!important;}
[style*="background:rgba(255,255,255,.0"],[style*="background: rgba(255,255,255,.0"],[style*="background:rgba(255,255,255,0.0"]{background:var(--paper2)!important;}
[style*="background-clip:text"],[style*="background-clip: text"]{background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--navy2)!important;}
[style*="background:#080c18"],[style*="background: #080c18"],[style*="background:#0d1224"],[style*="background: #0d1224"],[style*="background:#111827"],[style*="background: #111827"],[style*="background:#0f172a"],[style*="background: #0f172a"],[style*="background:#1e293b"],[style*="background: #1e293b"],[style*="background:#0b1120"],[style*="background: #0b1120"],[style*="background:#0a0f1e"],[style*="background: #0a0f1e"],[style*="background:#161e31"],[style*="background: #161e31"],[style*="background:#131a2e"],[style*="background: #131a2e"] [style*="color:#fff"],[style*="background:#080c18"],[style*="background: #080c18"],[style*="background:#0d1224"],[style*="background: #0d1224"],[style*="background:#111827"],[style*="background: #111827"],[style*="background:#0f172a"],[style*="background: #0f172a"],[style*="background:#1e293b"],[style*="background: #1e293b"],[style*="background:#0b1120"],[style*="background: #0b1120"],[style*="background:#0a0f1e"],[style*="background: #0a0f1e"],[style*="background:#161e31"],[style*="background: #161e31"],[style*="background:#131a2e"],[style*="background: #131a2e"] [style*="color: #fff"]{color:var(--ink)!important;}
/* course thumbnails: calm navy instead of neon gradients */
a[style*="#0d1224"] > div[style*="linear-gradient"],a[style*="#111827"] > div[style*="linear-gradient"]{background:var(--navy)!important;border-bottom:3px solid var(--gold)!important;}
button[style*="background:#3b82f6"],a[style*="background:#3b82f6"],button[style*="background:linear-gradient"],a[style*="background:linear-gradient"][style*="padding"]{background:var(--navy)!important;border-color:var(--navy)!important;color:#fff!important;}
[style*="color:#3b82f6"],[style*="color:#60a5fa"],[style*="color:#8b5cf6"],[style*="color:#a78bfa"],[style*="color:#06b6d4"],[style*="color:#a855f7"]{color:var(--navy2)!important;}
[style*="color:#f59e0b"],[style*="color:#fbbf24"]{color:var(--gold2)!important;}

/* auth pages */
.auth-wrap{background:var(--paper)!important;background-image:none!important;}
.auth-logo-icon{background:url('/assets/img/academy-logo-128.png?v=1.0.2') center/cover no-repeat!important;color:transparent!important;box-shadow:none!important;width:72px!important;height:72px!important;border-radius:50%!important;overflow:hidden;font-size:0!important;}
.auth-logo-icon img{width:100%;height:100%;display:block;}

/* dashboard / account */
.dash-hero{background:var(--navy)!important;background-image:none!important;border-bottom:3px solid var(--gold)!important;box-shadow:none!important;}
.dash-hero,.dash-hero *{color:#EEF1F7!important;}
.dash-hero h1,.dash-hero h2,.dash-hero h3,.dash-hero [class*="name"]{color:#fff!important;font-family:var(--font-display)!important;}
.dash-hero [class*="points"],.dash-hero [class*="pts"]{background:rgba(255,255,255,.06)!important;border-color:rgba(201,154,46,.5)!important;}
.dash-hero [class*="points"] *,.dash-hero [class*="pts"] *{color:var(--gold)!important;}
.dash-avatar{background:var(--gold)!important;background-image:none!important;color:var(--navy)!important;box-shadow:none!important;border-color:rgba(255,255,255,.25)!important;}
.dash-buy-btn{background:var(--navy)!important;background-image:none!important;color:#fff!important;box-shadow:none!important;}
.dash-cert{background:#fff!important;background-image:none!important;border:1px solid var(--line)!important;}
.dash-cert *{color:var(--ink)!important;}
.dash-cert-banner{background:var(--navy)!important;background-image:none!important;border-bottom:3px solid var(--gold)!important;}
.dash-panel-head,.di-lbl,.dac-date,th{color:var(--ink3)!important;}
.di-lbl2,.dac-note,td,.tp{color:var(--ink2)!important;}
.dash-stitle{color:var(--ink)!important;font-family:var(--font-display)!important;}
.tt2{border:1px solid var(--line)!important;}
.tt-spend{background:var(--paper2)!important;color:var(--ink2)!important;}
.tt-purchase{background:#E8EEF8!important;color:var(--navy2)!important;}
.tt-reward{background:#EAF4EC!important;color:#1E5B37!important;}
span.tp,td.tp span{color:#2E7D4F!important;}
.ac-mb-close{color:var(--ink)!important;}
/* headings inside dark blocks stay light */
.corp-banner h1,.corp-banner h2,.corp-banner h3,.dash-hero h1,.dash-hero h2{color:#fff!important;}

/* content protection (lesson pages) */
body.acp-protect .lesson-content,body.acp-protect .course-content,body.acp-protect article{-webkit-user-select:none;user-select:none;}
body.acp-protect input,body.acp-protect textarea,body.acp-protect [contenteditable]{-webkit-user-select:text;user-select:text;}
.acp-wm{position:fixed;inset:0;pointer-events:none;z-index:2147483000;opacity:.06;
  background-repeat:repeat;background-size:360px 200px;}
@media print{body.acp-protect *{display:none!important;}body.acp-protect:after{content:"© AConsultIT Academy";display:block!important;}}
