@font-face{font-family:VazirLocal;src:local("Tahoma");}

:root{--bg:#061019;--panel:#0b1823;--panel2:#0e202d;--line:rgba(255,255,255,.09);--text:#eef8f5;--muted:#91a7ad;--green:#19e39a;--cyan:#25d9ee;--danger:#ff6575;--shadow:0 25px 70px rgba(0,0,0,.35)}

*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 10% 10%,#0b2630 0,transparent 35%),radial-gradient(circle at 90% 70%,#063326 0,transparent 30%),var(--bg);color:var(--text);font-family:VazirLocal,Tahoma,Arial,sans-serif;line-height:1.8}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}.topbar,.dash-top{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid var(--line);background:rgba(4,12,18,.78);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.brand{display:flex;gap:10px;align-items:center;font-weight:900}.brand-mark{width:38px;height:38px;border:1px solid var(--green);display:grid;place-items:center;border-radius:13px;color:var(--green);box-shadow:0 0 25px rgba(25,227,154,.2)}nav{display:flex;gap:28px;align-items:center;color:#051013;font-size:14px}.nav-cta{padding:9px 16px;border:1px solid rgba(25,227,154,.5);border-radius:12px;color:var(--green)}.menu-btn{display:none;background:none;border:0;color:white;font-size:24px}.hero{min-height:650px;display:grid;grid-template-columns:1.4fr .6fr;align-items:center;padding:80px 8%;gap:40px;background:linear-gradient(90deg,rgba(3,12,18,.95),rgba(3,12,18,.72)),url("/profiles/image/homepage-bg.png") center/cover;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;inset:auto 0 0;height:140px;background:linear-gradient(transparent,var(--bg))}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:900}.hero h1{font-size:clamp(38px,5vw,72px);line-height:1.2;margin:18px 0}.hero h1 strong{color:var(--green)}.hero p{max-width:650px;color:#a8bdc1;font-size:17px}.hero-actions{display:flex;gap:12px;margin-top:30px}.btn{border:0;border-radius:12px;padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.btn.primary{background:linear-gradient(135deg,var(--green),#0fc9aa);color:#04120f;font-weight:900;box-shadow:0 10px 30px rgba(25,227,154,.18)}.btn.primary:hover{transform:translateY(-2px)}.btn.ghost{background:rgba(255,255,255,.04);color:white;border:1px solid var(--line)}.btn.small{padding:7px 12px;font-size:12px}.btn.full{width:100%}.hero-card{justify-self:center;width:280px;height:350px;border:1px solid rgba(37,217,238,.25);background:linear-gradient(145deg,rgba(16,38,50,.9),rgba(4,16,24,.92));border-radius:28px;box-shadow:var(--shadow);padding:28px;display:flex;flex-direction:column;justify-content:flex-end;position:relative}.hero-card-glow{position:absolute;width:170px;height:170px;border-radius:50%;background:rgba(25,227,154,.16);filter:blur(25px);top:30px;left:50px}.mini-avatar{width:92px;height:92px;border-radius:50%;border:3px solid var(--green);display:grid;place-items:center;font-size:40px;color:var(--green);background:#09161e;margin-bottom:auto}.hero-card small{display:block;color:var(--muted)}.pulse{color:var(--green);position:absolute;top:25px;right:25px}.section{padding:85px 8%}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.section h2,.section h1{margin:5px 0;font-size:34px}.muted{color:var(--muted);font-size:13px}.manager-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}.manager-card{background:linear-gradient(145deg,rgba(13,32,44,.9),rgba(6,18,27,.9));border:1px solid var(--line);border-radius:22px;padding:25px 18px;text-align:center;transition:.25s;cursor:pointer}.manager-card:hover{transform:translateY(-7px);border-color:rgba(25,227,154,.55);box-shadow:0 18px 40px rgba(0,0,0,.22)}.avatar{width:96px;height:96px;border-radius:50%;margin:0 auto 15px;border:2px solid var(--green);display:grid;place-items:center;overflow:hidden;background:#12252f;font-size:30px;font-weight:900;color:var(--green)}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.large{width:76px;height:76px}.manager-card h3{margin:0;font-size:17px}.manager-card p{margin:4px 0;color:var(--green);font-size:13px}.about{display:grid;grid-template-columns:1fr 1fr;gap:70px;border-top:1px solid var(--line)}.about p{color:#9bb0b5;font-size:16px}.modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:25px}.modal.hidden,.hidden{display:none}.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(8px)}.modal-box{position:relative;z-index:2;background:#07141e;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);max-width:1000px;width:100%;max-height:90vh;overflow:auto}.close{position:absolute;left:18px;top:15px;border:0;background:rgba(255,255,255,.06);color:white;border-radius:10px;font-size:24px;width:38px;height:38px;z-index:5}.profile-top{display:grid;grid-template-columns:250px 1fr;gap:30px;padding:38px}.profile-side{text-align:center;border-left:1px solid var(--line);padding-left:30px}.profile-side .avatar{width:130px;height:130px}.profile-side h2{margin:5px 0}.profile-side .role{color:var(--green)}.profile-main h3{margin-top:0}.profile-main p{color:#a5b8bc}.goal-box{background:rgba(25,227,154,.06);border:1px solid rgba(25,227,154,.18);padding:16px;border-radius:15px}.post-section{padding:0 38px 38px}.post-feed{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feed-post{background:#0b1a25;border:1px solid var(--line);border-radius:15px;overflow:hidden}.feed-media{height:170px;background:#030a0e;display:block;width:100%;object-fit:cover}.feed-info{padding:13px}.feed-info h4{margin:0 0 4px}.feed-info p{font-size:12px;color:var(--muted);margin:0}.feed-meta{font-size:11px;color:#7f999f;margin-top:8px}.feedback-btn{margin-top:15px}.feedback-form{padding:20px 38px 35px;border-top:1px solid var(--line)}.form{display:grid;gap:15px}.form label{display:grid;gap:7px;color:#b7c9cc;font-size:13px}.form input,.form textarea{width:100%;background:#07131d;border:1px solid var(--line);border-radius:12px;color:white;padding:12px 14px;outline:0}.form input:focus,.form textarea:focus{border-color:rgba(25,227,154,.7)}.form-msg{font-size:13px;min-height:22px}.form-msg.success{color:var(--green)}.form-msg.error{color:var(--danger)}footer{display:flex;justify-content:space-between;padding:25px 8%;border-top:1px solid var(--line);color:#748a90;font-size:12px}.auth-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(rgba(4,13,19,.82),rgba(4,13,19,.96)),url("/profiles/image/homepage-bg.png") center/cover}.auth-shell{width:min(460px,92%)}.auth-shell.wide{width:min(700px,92%)}.auth-shell>.brand{justify-content:center;margin-bottom:25px}.auth-card{background:rgba(8,21,30,.9);border:1px solid var(--line);border-radius:25px;padding:34px;box-shadow:var(--shadow)}.auth-card h1{margin:5px 0 10px}.two-col{grid-template-columns:1fr 1fr}.span2{grid-column:1/-1}.auth-links{display:flex;justify-content:space-between;margin-top:18px;font-size:13px;color:var(--green)}.sample-login{margin-top:18px;padding:10px;background:rgba(255,255,255,.04);border-radius:10px;color:var(--muted);font-size:12px}.dashboard-page{min-height:100vh}.dash-top{position:sticky}.dash-top>div:last-child{display:flex;gap:14px;align-items:center}.dashboard{display:grid;grid-template-columns:250px 1fr;min-height:calc(100vh - 76px)}.sidebar{border-left:1px solid var(--line);background:rgba(5,15,23,.72);padding:25px 15px}.side-user{text-align:center;padding:10px 0 25px;border-bottom:1px solid var(--line);margin-bottom:15px}.side-user small{display:block;color:var(--green);font-size:11px}.side-link{width:100%;text-align:right;border:0;background:none;color:#9fb2b7;padding:12px 14px;border-radius:11px;margin:3px 0}.side-link:hover,.side-link.active{background:rgba(25,227,154,.1);color:var(--green)}.dash-main{padding:40px 5%;max-width:1400px;width:100%}.dash-tab{display:none}.dash-tab.active{display:block}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{background:linear-gradient(145deg,#0d202c,#091721);border:1px solid var(--line);border-radius:18px;padding:20px}.stat span{display:block;color:var(--muted);font-size:12px}.stat b{font-size:32px;color:var(--green)}.panel-card{background:#0a1924;border:1px solid var(--line);border-radius:18px;padding:24px;margin-top:18px}.post-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.admin-post{background:#0a1924;border:1px solid var(--line);border-radius:18px;overflow:hidden}.admin-post img,.admin-post video{width:100%;height:180px;object-fit:cover}.admin-post .info{padding:14px}.danger{color:var(--danger)}.admin-list{display:grid;gap:12px}.admin-row{display:grid;grid-template-columns:1fr auto auto;gap:15px;align-items:center;background:#0a1924;border:1px solid var(--line);padding:15px;border-radius:15px}.admin-row b{display:block}.admin-row small{color:var(--green)}.feedback-list{display:grid;gap:12px}.feedback-item{background:#0a1924;border:1px solid var(--line);border-radius:15px;padding:18px}.feedback-item.unread{border-color:rgba(25,227,154,.4)}.feedback-item .meta{color:var(--muted);font-size:11px}.feedback-item p{color:#c3d0d3}.loading{grid-column:1/-1;color:var(--muted);padding:30px;text-align:center}

@media(max-width:1000px){.manager-grid{grid-template-columns:repeat(3,1fr)}.hero{grid-template-columns:1fr}.hero-card{display:none}.dashboard{grid-template-columns:1fr}.sidebar{border-left:0;border-bottom:1px solid var(--line);display:flex;gap:5px;overflow:auto}.side-user{display:none}.side-link{white-space:nowrap;width:auto}.stats{grid-template-columns:repeat(2,1fr)}}

@media(max-width:700px){nav{display:none}.menu-btn{display:block}.manager-grid,.post-feed,.post-admin-grid{grid-template-columns:1fr 1fr}.about{grid-template-columns:1fr;gap:15px}.profile-top{grid-template-columns:1fr}.profile-side{border-left:0;border-bottom:1px solid var(--line);padding:0 0 25px}.two-col{grid-template-columns:1fr}.span2{grid-column:auto}.hero{padding:65px 6%}.section{padding:60px 6%}.post-section,.feedback-form{padding-left:20px;padding-right:20px}}

@media(max-width:480px){.manager-grid,.post-feed,.post-admin-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.hero h1{font-size:38px}.auth-card{padding:23px}.admin-row{grid-template-columns:1fr}.dash-main{padding:25px 4%}}



/* === MOCKUP MATCH OVERRIDES === */

body{background:#020b12;color:#eef8f5}

.topbar{height:64px;background:rgba(2,10,16,.90);border-bottom:1px solid rgba(40,190,220,.10);padding:0 4.5%}

.topbar nav a{font-size:13px}

.hero{min-height:590px;padding:70px 6%;background:

linear-gradient(90deg,rgba(2,10,16,.97) 0%,rgba(2,10,16,.78) 48%,rgba(2,10,16,.50) 100%),

url("/profiles/image/homepage-bg.png") center/cover}

.hero:after{height:90px}

.hero-copy{max-width:760px}

.hero h1{font-size:clamp(36px,4.3vw,62px);margin:12px 0 20px;letter-spacing:-1px}

.hero h1 strong{color:#1ee39b}

.hero p{font-size:15px;line-height:2;color:#91a8b0;max-width:610px}

.hero-actions .btn{border-radius:8px;padding:10px 18px}

.hero-card{width:300px;height:330px;border-radius:20px;background:linear-gradient(160deg,rgba(11,31,43,.96),rgba(3,13,20,.97));border:1px solid rgba(44,218,235,.22)}

.section{padding:65px 6%}

.section-head{margin-bottom:22px}

.section h2{font-size:29px}

.manager-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}

.manager-card{border-radius:16px;padding:19px 12px;background:linear-gradient(160deg,rgba(10,27,38,.95),rgba(5,15,23,.95));border:1px solid rgba(255,255,255,.065);box-shadow:0 10px 28px rgba(0,0,0,.18)}

.manager-card:hover{transform:translateY(-4px);border-color:rgba(25,227,154,.5)}

.manager-card .avatar{width:84px;height:84px;border:2px solid #18e49a;box-shadow:0 0 0 3px rgba(30,217,238,.08);margin-bottom:10px}

.manager-card h3{font-size:15px}

.manager-card p{font-size:12px;margin:2px 0;color:#22dfa0}

.manager-card small{font-size:10px}

.about{background:rgba(5,17,25,.35);border-top:1px solid rgba(255,255,255,.06)}

.profile-modal{background:#04111b;border:1px solid rgba(45,205,235,.20)}

.profile-top{background:linear-gradient(145deg,rgba(7,26,38,.9),rgba(3,13,21,.9))}

.profile-side .avatar{border-color:#19e39a;box-shadow:0 0 0 4px rgba(37,217,238,.07)}

.post-feed{gap:13px}

.feed-post{border-radius:10px}

.feed-media{height:155px}

.feed-info h4{font-size:13px}

@media(max-width:1200px){.manager-grid{grid-template-columns:repeat(4,1fr)}}

@media(max-width:900px){.manager-grid{grid-template-columns:repeat(3,1fr)}}

@media(max-width:650px){.manager-grid{grid-template-columns:repeat(2,1fr)}}

@media(max-width:430px){.manager-grid{grid-template-columns:1fr}}



.manager-tools{display:flex;align-items:center;gap:12px}

.manager-search{width:240px;background:#07141e;border:1px solid rgba(255,255,255,.09);border-radius:10px;color:#fff;padding:9px 12px;outline:none}

.manager-search:focus{border-color:rgba(25,227,154,.55)}

@media(max-width:650px){.manager-tools{width:100%;flex-direction:column;align-items:stretch}.manager-search{width:100%}}



/* =========================================================

   EXACT MOCKUP VISUAL PASS — homepage / profile modal

   ========================================================= */

.mockup-home{background:#020913;min-height:100vh;color:#edf8f6;overflow-x:hidden}

.mockup-nav{height:58px;padding:0 4.2%;background:rgba(2,8,14,.92);border-bottom:1px solid rgba(46,202,236,.14);z-index:100}

.mockup-nav .brand{font-size:17px;gap:10px}.brand-logo{font-size:25px;color:#20e8a0;line-height:1;text-shadow:0 0 15px rgba(32,232,160,.45)}

.brand-script span:last-child{font-weight:900;color:#f2f8f7}.mockup-nav nav{gap:31px}.mockup-nav nav a{position:relative;padding:20px 0 17px;color:#d2dfe1;font-size:12px}.mockup-nav nav a.active{color:#fff}.mockup-nav nav a.active:after{content:"";position:absolute;bottom:0;right:0;left:0;height:2px;background:#1ee3a0;box-shadow:0 0 10px #1ee3a0}

.mockup-hero{min-height:365px;padding:0;display:block;position:relative;background:url("/profiles/image/homepage-bg.png") center/cover no-repeat;overflow:hidden}

.mockup-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,10,17,.72),rgba(1,10,17,.30) 48%,rgba(1,10,17,.65)),linear-gradient(180deg,rgba(1,8,14,.15),rgba(1,8,14,.62));z-index:1}

.mockup-hero:after{content:"";position:absolute;inset:auto 0 0;height:100px;background:linear-gradient(transparent,#020913);z-index:2}

.mockup-title{position:absolute!important;inset:0;z-index:3;display:flex!important;flex-direction:column;justify-content:center;align-items:center;text-align:center;max-width:none!important}

.calligraphy-title{font-size:58px;font-weight:800;line-height:1.05;letter-spacing:-2px;color:#f4faf8;text-shadow:0 5px 25px rgba(0,0,0,.4)}

.calligraphy-title span{font-size:.72em;margin-left:7px}.calligraphy-title b{color:#20e39c;font-weight:900}

.title-rule{margin-top:14px;display:flex;align-items:center;gap:16px;font-size:13px;font-weight:700;color:#f0f7f5}.title-rule i{width:63px;height:2px;background:#21e3a0;display:block;box-shadow:0 0 10px rgba(33,227,160,.45)}.title-rule i:last-child{background:#29d9ee}

.managers-section{padding:28px 5.6% 45px;background:linear-gradient(#020913,#03101a)}

.mockup-section-head{margin-bottom:18px;align-items:center}.mockup-section-head h2{font-size:19px;margin:2px 0 0}.mockup-section-head .eyebrow{font-size:10px;letter-spacing:0;color:#20e3a0}.manager-tools{gap:9px}.manager-search{width:210px;height:35px;border-radius:8px;background:#071521;border:1px solid rgba(44,210,238,.14);font-size:11px;color:#fff}.manager-count{font-size:11px}

.manager-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:26px 28px}

.manager-card{background:transparent;border:0;border-radius:0;padding:4px 4px 8px;box-shadow:none;position:relative}.manager-card:hover{transform:none;border:0;box-shadow:none}.manager-card .avatar{width:76px;height:76px;margin:0 auto 8px;border:2px solid #20e39c;box-shadow:0 0 0 2px rgba(40,214,236,.16),0 0 18px rgba(30,227,160,.12);background:#0b1923}.manager-card:hover .avatar{border-color:#35dfff;box-shadow:0 0 0 2px rgba(40,214,236,.22),0 0 22px rgba(30,227,160,.20)}

.manager-card h3{font-size:13px;line-height:1.6;margin:0;color:#f4faf8;font-weight:800}.manager-card p{font-size:11px;line-height:1.7;margin:0;color:#20e39c}.manager-card small{display:none}

.about.mockup-info-section{padding:45px 7%;grid-template-columns:1fr 1fr;background:#030d16;border-top:1px solid rgba(41,213,238,.08)}.about.mockup-info-section h2{font-size:24px}.about.mockup-info-section p{font-size:13px;line-height:2.2;color:#9bb0b6}.mini-section{padding:38px 7%;border-top:1px solid rgba(255,255,255,.05);min-height:130px}.mini-section h2{font-size:20px!important}

.mockup-home footer{background:#020a11;padding:22px 6%;font-size:11px;border-top:1px solid rgba(255,255,255,.06)}

/* modal mirrors the upper-right panel of the reference */

.profile-modal{max-width:980px;border-radius:12px;background:#03101a;border:1px solid rgba(52,210,239,.38);box-shadow:0 35px 90px rgba(0,0,0,.65);overflow:hidden}

.profile-modal .close{left:10px;top:10px;background:transparent;width:34px;height:34px;font-size:25px;color:#d9e5e7}

.profile-modal .profile-top{grid-template-columns:245px 1fr;gap:0;padding:26px 25px 20px;background:linear-gradient(140deg,#061724,#020c14);border-bottom:1px solid rgba(255,255,255,.06)}

.profile-modal .profile-side{border-left:1px solid rgba(42,205,236,.14);padding-left:28px;text-align:center}.profile-modal .profile-side .avatar{width:100px;height:100px;border:2px solid #20e49f;box-shadow:0 0 0 2px #25d9ee55,0 0 28px #16e09b22}.profile-modal .profile-side h2{font-size:17px;margin:7px 0 0}.profile-modal .profile-side .role{font-size:12px;color:#20e3a0}.profile-modal .profile-side .feedback-btn{border-radius:8px;font-size:11px;padding:7px 24px;margin-top:9px}

.profile-modal .profile-main{padding:0 27px}.profile-modal .profile-main .eyebrow{display:none}.profile-modal .profile-main h3{font-size:16px;margin:0 0 8px}.profile-modal .profile-main p{font-size:11px;line-height:2.2;color:#bdcdd0;margin:0 0 14px}.profile-modal .goal-box{background:transparent;border:0;border-top:1px solid rgba(255,255,255,.06);border-radius:0;padding:13px 0 0}.profile-modal .goal-box b{font-size:12px;text-decoration:underline;text-decoration-color:#20e3a0;text-underline-offset:7px}.profile-modal .goal-box p{margin-top:10px}

.profile-modal .post-section{padding:0 25px 22px}.profile-modal .post-section .section-head{margin:0 0 10px}.profile-modal .post-section h3{font-size:13px;margin:0}.profile-modal .post-feed{grid-template-columns:repeat(5,1fr);gap:8px}.profile-modal .feed-post{border-radius:5px;background:#071722;border:1px solid rgba(255,255,255,.07)}.profile-modal .feed-media{height:82px}.profile-modal .feed-info{padding:6px}.profile-modal .feed-info h4,.profile-modal .feed-info p,.profile-modal .feed-meta{display:none}.profile-modal .feedback-form{padding:18px 25px 25px;background:#020c14}.profile-modal .feedback-form h3{font-size:13px}.profile-modal .feedback-form p{font-size:10px}

@media(max-width:1100px){.manager-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.mockup-hero{min-height:340px}}

@media(max-width:850px){.mockup-nav nav{gap:17px}.manager-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.calligraphy-title{font-size:47px}.profile-modal .profile-top{grid-template-columns:190px 1fr}}

@media(max-width:650px){.mockup-nav nav{display:none}.manager-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 10px}.mockup-hero{min-height:300px}.calligraphy-title{font-size:37px}.title-rule{font-size:10px}.title-rule i{width:35px}.managers-section{padding-left:4%;padding-right:4%}.manager-search{width:170px}.profile-modal .profile-top{grid-template-columns:1fr}.profile-modal .profile-side{border-left:0;border-bottom:1px solid rgba(255,255,255,.07);padding:0 0 18px;margin-bottom:15px}.profile-modal .profile-main{padding:0 8px}.profile-modal .post-feed{grid-template-columns:repeat(3,1fr)}}

@media(max-width:420px){.manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manager-search{width:140px}.calligraphy-title{font-size:31px}.title-rule span{font-size:9px}}



/* ================================================================

   EXACT REFERENCE / TYPOGRAPHY OVERRIDE

   Put your own font in frontend/fonts/site-font.ttf (or .woff2)

   and change only the filename below if needed. Every element uses

   --site-font, including forms, dashboards and modal content.

   ================================================================ */

@font-face{font-family:SiteFont;src:url("/fonts/Doran-ExtraBold.ttf") format("woff2"),url("/fonts/Doran-ExtraBold.ttf") format("truetype");font-weight:100 900;font-style:normal;font-display:swap}

:root{--site-font:SiteFont,"Vazirmatn",Tahoma,Arial,sans-serif;--ref-bg:#020b13;--ref-panel:#061521;--ref-panel2:#091c2a;--ref-line:rgba(75,211,238,.18);--ref-green:#1de39b;--ref-cyan:#25d8ef;--ref-white:#f2f8f8;--ref-muted:#91a8ae}

html,body,button,input,textarea,select{font-family:var(--site-font)!important}

body.exact-reference{background:#020b13;color:var(--ref-white);overflow-x:hidden}

body.exact-reference:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 17% 10%,rgba(22,83,111,.22),transparent 30%),radial-gradient(circle at 84% 73%,rgba(0,107,86,.15),transparent 28%)}

.exact-reference .topbar{height:58px;padding:0 6%;position:absolute;top:0;left:0;right:0;background:linear-gradient(180deg,rgba(1,9,15,.94),rgba(1,9,15,.68));border-bottom:1px solid rgba(104,222,245,.09);backdrop-filter:blur(10px);z-index:30}

.reference-brand{gap:9px;font-size:14px;font-weight:900}.reference-logo{width:31px;height:31px;border:0!important;color:var(--ref-green);font-size:24px;box-shadow:none!important}.exact-reference .mockup-nav nav{gap:34px;font-size:11px;color:#d3dfdf}.exact-reference .mockup-nav nav a{height:58px;display:flex;align-items:center;position:relative}.exact-reference .mockup-nav nav a.active:after{content:"";position:absolute;bottom:0;right:0;left:0;height:2px;background:var(--ref-green);box-shadow:0 0 12px rgba(29,227,155,.5)}

.reference-hero{min-height:780px;padding:58px 5.5% 32px;position:relative;background:linear-gradient(180deg,rgba(2,11,18,.58),rgba(2,11,18,.86)),url("/profiles/image/homepage-bg.png") center/cover no-repeat;overflow:hidden}.reference-hero:after{content:"";position:absolute;inset:auto 0 0;height:230px;background:linear-gradient(transparent,#020b13);pointer-events:none}.reference-hero-inner{position:relative;z-index:2;max-width:1240px;margin:auto}.reference-title-wrap{text-align:center;padding-top:56px}.reference-calligraphy{font-size:58px;font-weight:900;line-height:1.1;letter-spacing:-2px;text-shadow:0 5px 24px rgba(0,0,0,.5)}.reference-calligraphy span{color:#f2f7f6}.reference-calligraphy b{color:var(--ref-green);font-weight:900}.reference-title-rule{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:9px;color:#e9f2f2;font-size:13px;font-weight:700}.reference-title-rule i{width:63px;height:2px;background:linear-gradient(90deg,var(--ref-green),transparent)}.reference-title-rule i:last-child{background:linear-gradient(90deg,transparent,var(--ref-cyan))}

.reference-manager-wrap{margin-top:27px}.reference-grid-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.reference-grid-head h2{font-size:15px;margin:1px 0;color:#f1f7f6}.reference-grid-head .eyebrow{font-size:9px;letter-spacing:0;color:var(--ref-green)}.manager-tools{display:flex;align-items:center;gap:8px}.manager-search{width:205px;height:31px;padding:0 10px;border-radius:7px!important;background:rgba(3,15,24,.7)!important;border:1px solid rgba(50,211,237,.16)!important;color:#fff!important;font-size:10px!important;outline:none}.manager-search::placeholder{color:#71898f}.reference-manager-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:24px 34px;max-height:350px;overflow:auto;padding:4px 8px 18px}.reference-manager-grid::-webkit-scrollbar{width:4px}.reference-manager-grid::-webkit-scrollbar-thumb{background:rgba(29,227,155,.3);border-radius:10px}.reference-manager-grid .manager-card{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;cursor:pointer;text-align:center}.reference-manager-grid .manager-card:hover{transform:none;box-shadow:none;border:0}.reference-manager-grid .avatar{width:68px;height:68px;margin:0 auto 7px;border:2px solid var(--ref-green);box-shadow:0 0 0 2px rgba(37,216,239,.22),0 0 20px rgba(29,227,155,.12);background:#071822}.reference-manager-grid .manager-card:hover .avatar{border-color:var(--ref-cyan);box-shadow:0 0 0 2px rgba(37,216,239,.4),0 0 24px rgba(29,227,155,.18)}.reference-manager-grid .manager-card h3{font-size:11px;margin:0;line-height:1.6;font-weight:800;color:#f5faf9}.reference-manager-grid .manager-card p{font-size:10px;margin:0;color:var(--ref-green);line-height:1.6}.reference-manager-grid .manager-card small{display:none}

.reference-content-section{display:grid;grid-template-columns:1fr 1fr;gap:70px;max-width:1240px;margin:auto;padding:70px 6%;border-top:1px solid rgba(60,210,236,.08)}.reference-content-section h2{font-size:24px;margin:4px 0}.reference-content-section p{font-size:13px;line-height:2.2;color:var(--ref-muted);margin:0}.reference-content-section.compact{padding-top:42px;padding-bottom:42px}.exact-reference footer{background:#020910;border-top:1px solid rgba(60,210,236,.08);padding:20px 6%;font-size:10px;color:#70858b}

/* Reference modal = upper-right card in the collage */

.exact-reference .profile-modal{max-width:940px;max-height:88vh;border-radius:12px;background:#03111b;border:1px solid rgba(67,215,239,.42);box-shadow:0 30px 100px rgba(0,0,0,.75)}.exact-reference .profile-modal .profile-top{grid-template-columns:245px 1fr;padding:24px 22px 20px;background:linear-gradient(140deg,#061827,#020d15);border-bottom:1px solid rgba(255,255,255,.06)}.exact-reference .profile-modal .profile-side{border-left:1px solid rgba(51,205,236,.16);padding-left:26px}.exact-reference .profile-modal .profile-side .avatar{width:96px;height:96px;border-color:var(--ref-green);box-shadow:0 0 0 2px rgba(37,216,239,.55),0 0 25px rgba(29,227,155,.14)}.exact-reference .profile-modal .profile-side h2{font-size:16px}.exact-reference .profile-modal .profile-side .role{font-size:12px;color:var(--ref-green)}.exact-reference .profile-modal .profile-main{padding:0 25px}.exact-reference .profile-modal .profile-main h3{font-size:15px;margin:0 0 8px}.exact-reference .profile-modal .profile-main p{font-size:11px;line-height:2.2;color:#c2d1d3}.exact-reference .profile-modal .goal-box{padding:11px 0 0;border-top:1px solid rgba(255,255,255,.07);border-radius:0;background:transparent}.exact-reference .profile-modal .goal-box b{font-size:11px;text-decoration:underline;text-decoration-color:var(--ref-green);text-underline-offset:6px}.exact-reference .profile-modal .goal-box p{margin-top:8px}.exact-reference .profile-modal .post-section{padding:0 22px 20px}.exact-reference .profile-modal .post-feed{grid-template-columns:repeat(5,1fr);gap:8px}.exact-reference .profile-modal .feed-post{border:1px solid rgba(255,255,255,.07);border-radius:5px;background:#071722}.exact-reference .profile-modal .feed-media{height:75px}.exact-reference .profile-modal .feed-info{display:none}.exact-reference .profile-modal .section-head{margin-bottom:9px}.exact-reference .profile-modal .section-head h3{font-size:12px}.exact-reference .profile-modal .feedback-form{padding:16px 22px 22px;background:#020c14}.exact-reference .profile-modal .feedback-form h3{font-size:12px}

/* Dashboard / manager panel = bottom-left + bottom-center cards in the collage */

.dashboard-page{background:#020b13!important;color:var(--ref-white)!important}.dashboard-page .dash-top{height:58px;background:#030e17;border-bottom:1px solid rgba(55,211,238,.1);padding:0 3%;position:sticky}.dashboard-page .dash-top .brand{font-size:13px}.dashboard-page .brand-mark{width:30px;height:30px;color:var(--ref-green);border:0}.dashboard-page .dashboard{display:grid;grid-template-columns:190px 1fr;min-height:calc(100vh - 58px);max-width:1500px;margin:auto}.dashboard-page .sidebar{background:#06131e;border-left:1px solid rgba(55,211,238,.1);padding:20px 12px}.dashboard-page .side-user{padding:7px 8px 18px;text-align:center;border-bottom:1px solid rgba(255,255,255,.06);margin-bottom:12px}.dashboard-page .side-user .avatar{width:58px;height:58px;margin:0 auto 8px}.dashboard-page .side-user b{display:block;font-size:11px}.dashboard-page .side-user small{font-size:9px;color:var(--ref-green)}.dashboard-page .side-link{display:flex;width:100%;align-items:center;gap:8px;border:0;background:transparent;color:#a7b8bb;padding:10px 10px;border-radius:6px;font-size:10px;margin:3px 0;text-align:right}.dashboard-page .side-link.active{background:rgba(29,227,155,.16);color:var(--ref-green)}.dashboard-page .side-link:hover{background:rgba(29,227,155,.09)}.dashboard-page .dash-main{padding:24px 26px;background:radial-gradient(circle at 65% 15%,rgba(17,60,83,.12),transparent 35%)}.dashboard-page .section-head{margin-bottom:17px}.dashboard-page .section-head h1{font-size:19px;margin:2px 0}.dashboard-page .eyebrow{font-size:9px;letter-spacing:0;color:var(--ref-green)}.dashboard-page .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.dashboard-page .stat{background:#091827;border:1px solid rgba(70,207,236,.07);border-radius:7px;padding:18px 15px}.dashboard-page .stat span{display:block;color:#82999f;font-size:9px}.dashboard-page .stat b{display:block;color:#eaf4f3;font-size:22px;margin-top:6px}.dashboard-page .panel-card{background:#071521;border:1px solid rgba(70,207,236,.08);border-radius:8px;padding:18px;margin-top:16px}.dashboard-page .panel-card h3{font-size:12px;margin:0 0 8px}.dashboard-page .panel-card p{font-size:10px;color:#839a9f;line-height:2}.dashboard-page .admin-list,.dashboard-page .feedback-list,.dashboard-page .post-admin-grid{display:grid;gap:9px}.dashboard-page .admin-list>*,.dashboard-page .feedback-list>*,.dashboard-page .post-admin-grid>*{background:#071521;border:1px solid rgba(70,207,236,.08);border-radius:8px;padding:12px}.dashboard-page .form{background:#071521;border:1px solid rgba(70,207,236,.08);border-radius:8px;padding:18px}.dashboard-page .form label{font-size:10px;color:#a9bcbe}.dashboard-page .form input,.dashboard-page .form textarea{background:#06131e;border-color:rgba(70,207,236,.1);border-radius:6px;font-size:10px}.dashboard-page .btn{border-radius:6px;font-size:10px}.dashboard-page .btn.primary{background:linear-gradient(135deg,#20dc9a,#14cfae)}

@media(max-width:1100px){.reference-manager-grid{grid-template-columns:repeat(5,1fr)}.reference-hero{min-height:760px}}

@media(max-width:800px){.reference-manager-grid{grid-template-columns:repeat(4,1fr);gap:20px 15px}.reference-calligraphy{font-size:47px}.reference-title-rule{font-size:10px}.reference-title-rule i{width:38px}.exact-reference .mockup-nav nav{display:none}.reference-grid-head{align-items:center}.reference-content-section{grid-template-columns:1fr;gap:18px}.dashboard-page .dashboard{grid-template-columns:1fr}.dashboard-page .sidebar{display:none}.dashboard-page .stats{grid-template-columns:repeat(2,1fr)}}

@media(max-width:520px){.reference-hero{padding-left:4%;padding-right:4%;min-height:760px}.reference-calligraphy{font-size:37px}.reference-manager-grid{grid-template-columns:repeat(3,1fr);gap:19px 9px}.reference-manager-grid .avatar{width:61px;height:61px}.manager-search{width:145px}.reference-grid-head{display:block}.manager-tools{margin-top:9px}.exact-reference .profile-modal .profile-top{grid-template-columns:1fr}.exact-reference .profile-modal .profile-side{border-left:0;border-bottom:1px solid rgba(255,255,255,.07);padding:0 0 16px;margin-bottom:15px}.exact-reference .profile-modal .post-feed{grid-template-columns:repeat(3,1fr)}}

@media(max-width:380px){.reference-manager-grid{grid-template-columns:repeat(2,1fr)}.reference-calligraphy{font-size:31px}.manager-search{width:130px}}





/* Profile/account workflow */

.selected-profile{padding:14px 16px;border:1px solid rgba(29,227,155,.22);background:rgba(29,227,155,.05);border-radius:12px;color:#fff}

.selected-profile span{display:block;color:#1de39b;font-size:11px;margin-top:4px}

.permission-box{margin:14px 0;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025)}

.permission-box>b{display:block;margin-bottom:10px;color:#fff;font-size:12px}

.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}

.permission-grid label{display:flex;align-items:center;gap:7px;color:#a9bec2;font-size:11px;padding:7px 8px;border-radius:8px;background:rgba(255,255,255,.025)}

.permission-grid input{accent-color:#1de39b}

.request-actions{min-width:320px}

.row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}

.pending-request{align-items:flex-start}

@media(max-width:700px){.permission-grid{grid-template-columns:1fr}.request-actions{min-width:100%}.row-actions{margin-top:10px}}

.side-link-anchor{display:block;text-decoration:none;color:inherit;box-sizing:border-box;}

/* =========================================================

   ALMAHDI — MASTER VISUAL THEME

   GEOMETRIC BACKGROUND + GREEN PREMIUM STYLE

   بدون تغییر Layout / Icon Size / Icon Position

========================================================= */





/* =========================================================

   COLORS

========================================================= */



:root {

    --master-bg: #f3faf7;

    --master-primary: #18b98d;

    --master-primary-dark: #0d8f6d;

    --master-text: #12382d;

    --master-muted: #648078;

    --master-border: rgba(24,185,141,.15);

}





/* =========================================================

   BASE

========================================================= */



html {

    background: var(--master-bg) !important;

}



body {



    background-color:

        var(--master-bg) !important;



    color:

        var(--master-text);



    position: relative;



    overflow-x: hidden;

}





/* =========================================================

   ⭐ GEOMETRIC BACKGROUND

   این بخش طرح اصلی را به همه صفحات می‌دهد

========================================================= */



body::before {



    content: "";



    position: fixed;



    inset: 0;



    width: 100%;

    height: 100%;



    pointer-events: none;



    z-index: 0;



    opacity: .22;



    background-image:



        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%23117e5f' stroke-width='0.8' opacity='.72'%3E%3Cpath d='M22.5 0L45 13L67.5 0L90 13L90 39L67.5 52L67.5 78L45 90L22.5 78L0 90L0 64L22.5 51L22.5 26L0 13L22.5 0Z'/%3E%3Cpath d='M22.5 26L45 39L67.5 26L67.5 52L45 65L22.5 52Z'/%3E%3Cpath d='M0 39L22.5 26L45 39L45 65L22.5 78L0 65Z'/%3E%3Cpath d='M45 13L45 39L67.5 52L90 39'/%3E%3Cpath d='M22.5 51L45 39L67.5 52'/%3E%3C/g%3E%3C/svg%3E"),



        radial-gradient(

            circle at 15% 10%,

            rgba(24,185,141,.10),

            transparent 28%

        ),



        radial-gradient(

            circle at 85% 85%,

            rgba(24,185,141,.08),

            transparent 30%

        );



    background-repeat:

        repeat,

        no-repeat,

        no-repeat;



    background-size:

        135px 135px,

        auto,

        auto;



    background-position:

        center top,

        top left,

        bottom right;

}





/* =========================================================

   صفحه‌های اصلی را شفاف می‌کنیم

   تا هندسه پشتشان دیده شود

   این بخش به کارت‌ها دست نمی‌زند

========================================================= */



main,

.page,

.main,

.container,

.gallery-container,

.login-page,

.content,

.site-main,

.main-content {



    background:

        transparent !important;

}





/* =========================================================

   CONTENT ABOVE BACKGROUND

========================================================= */



body > * {



    position: relative;

    z-index: 1;

}





/* =========================================================

   MASTER VARIABLES

========================================================= */



body {



    --primary:

        var(--master-primary);



    --primary-dark:

        var(--master-primary-dark);



    --text:

        var(--master-text);



    --muted:

        var(--master-muted);



    --border:

        var(--master-border);

}





/* =========================================================

   HEADER

========================================================= */



.header,

.topbar,

.site-header {



    background:

        rgba(248,253,250,.90) !important;



    border-color:

        rgba(24,185,141,.13) !important;



    backdrop-filter:

        blur(18px);

}





/* =========================================================

   NAV

========================================================= */



.header nav a,

.nav a,

.site-nav a,

.sidebar-nav a {



    color:

        #58756b !important;

}



.header nav a:hover,

.header nav a.active,

.nav a:hover,

.nav a.active,

.site-nav a:hover,

.site-nav a.active,

.sidebar-nav a:hover,

.sidebar-nav a.active {



    color:

        var(--master-primary) !important;

}





/* =========================================================

   CARDS

   اندازه و جای آیکون‌ها دست نخورده

========================================================= */



.card,

.panel,

.stat-card,

.category-card,

.image-card,

.login-card,

.featured,

.upload-panel,

.toolbar,

.posts-panel,

.welcome-card,

.about-card,

.program-card,

.contact-card,

.servant-card,

.gallery-item,

.memories-section,

.hero-card,

.modal-card,

.modalbox {



    background:

        linear-gradient(

            145deg,

            rgba(255,255,255,.96),

            rgba(237,248,243,.96)

        ) !important;



    border-color:

        var(--master-border) !important;



    box-shadow:

        0 18px 50px

        rgba(4,58,44,.10) !important;

}





/* =========================================================

   GREEN ELEMENTS

========================================================= */



.primary-btn,

.green-btn,

.read,

.view-gallery,

.search button {



    background:

        var(--master-primary) !important;



    color:

        #ffffff !important;

}





.primary-btn:hover,

.green-btn:hover,

.read:hover {



    background:

        var(--master-primary-dark) !important;

}





/* =========================================================

   LABELS / TITLES

========================================================= */



.label,

.eyebrow,

.tag,

.hero-small,

.category-count,

.cardtext label,

.category-info h3,

.section-heading > span,

.section-heading h2 span {



    color:

        var(--master-primary) !important;

}





/* =========================================================

   INPUTS

========================================================= */



input,

textarea,

select {



    background:

        rgba(250,254,252,.96) !important;



    color:

        var(--master-text) !important;



    border-color:

        var(--master-border) !important;

}





/* =========================================================

   ICONS

   ⚠️ فقط رنگ

   ❌ بدون width

   ❌ بدون height

   ❌ بدون position

   ❌ بدون margin

   ❌ بدون padding

========================================================= */



.logo-icon,

.brand-mark,

.brand-icon,

.quick-icon,

.servant-avatar,

.login-icon,

.admin-avatar,

.avatar,

.nav-icon,

.search-btn,

.menu-btn {



    color:

        var(--master-primary) !important;

}





/* =========================================================

   ICON BOX

========================================================= */



.logo-icon,

.brand-mark,

.brand-icon,

.quick-icon,

.servant-avatar,

.login-icon,

.admin-avatar,

.avatar {



    background:

        rgba(24,185,141,.09) !important;



    border-color:

        rgba(24,185,141,.18) !important;

}





/* =========================================================

   HERO

========================================================= */



.hero {



    border-color:

        rgba(24,185,141,.16) !important;



    box-shadow:

        0 25px 75px

        rgba(3,55,42,.12) !important;

}





/* =========================================================

   TEXT

========================================================= */



.hero p,

.cardtext p,

.category-info p,

.topbar p,

.section-heading p,

.panel > small,

.feature-text p,

.modalbody p,

.modalbody div {



    color:

        var(--master-muted) !important;

}





/* =========================================================

   SECONDARY BUTTONS

========================================================= */



.ghost-btn,

.back-btn,

.small-btn,

.secondary-btn {



    border-color:

        var(--master-border) !important;



    color:

        var(--master-text) !important;

}





/* =========================================================

   GALLERY / IMAGE

========================================================= */



.category-card,

.image-card,

.gallery-item {



    overflow: hidden;

}





/* =========================================================

   FOOTER

========================================================= */



footer,

.footer {



    background:

        rgba(243,250,247,.90) !important;



    border-color:

        rgba(24,185,141,.12) !important;

}





/* =========================================================

   MODAL

========================================================= */



.modal {



    background:

        rgba(3,24,17,.58) !important;



    backdrop-filter:

        blur(9px);

}





/* =========================================================

   MOBILE

========================================================= */



@media (max-width: 720px) {



    body::before {



        opacity:

            .16;



        background-size:

            95px 95px,

            auto,

            auto;

    }

}





/* =========================================================

   ⭐ MUHARRAM MODE

   body class="moharram"

========================================================= */



body.moharram {



    --master-bg:

        #020604;



    --master-primary:

        #35ff9a;



    --master-primary-dark:

        #11c96e;



    --master-text:

        #effff6;



    --master-muted:

        #88a095;



    --master-border:

        rgba(53,255,154,.15);



    background-color:

        #020604 !important;

}





/* =========================================================

   MUHARRAM BACKGROUND

   قرمز انتزاعی، نه واقعی

========================================================= */



body.moharram::before {



    opacity:

        .36;



    background-image:



        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%2335ff9a' stroke-width='.7' opacity='.20'%3E%3Cpath d='M22.5 0L45 13L67.5 0L90 13L90 39L67.5 52L67.5 78L45 90L22.5 78L0 90L0 64L22.5 51L22.5 26L0 13L22.5 0Z'/%3E%3Cpath d='M22.5 26L45 39L67.5 26L67.5 52L45 65L22.5 52Z'/%3E%3C/g%3E%3C/svg%3E"),



        radial-gradient(

            ellipse 100px 50px at 8% 18%,

            rgba(170,12,30,.58),

            transparent 72%

        ),



        radial-gradient(

            ellipse 55px 100px at 82% 12%,

            rgba(210,18,40,.42),

            transparent 70%

        ),



        radial-gradient(

            ellipse 110px 55px at 68% 76%,

            rgba(160,8,28,.46),

            transparent 72%

        ),



        radial-gradient(

            ellipse 50px 100px at 18% 86%,

            rgba(190,15,38,.38),

            transparent 70%

        ),



        #020604;



    background-size:

        135px 135px,

        380px 320px,

        420px 360px,

        500px 390px,

        430px 370px;



    background-repeat:

        repeat;

}





/* =========================================================

   MUHARRAM CARDS

========================================================= */



body.moharram .card,

body.moharram .panel,

body.moharram .stat-card,

body.moharram .category-card,

body.moharram .image-card,

body.moharram .login-card,

body.moharram .featured,

body.moharram .upload-panel,

body.moharram .toolbar,

body.moharram .posts-panel,

body.moharram .welcome-card,

body.moharram .about-card,

body.moharram .program-card,

body.moharram .contact-card,

body.moharram .servant-card,

body.moharram .gallery-item,

body.moharram .memories-section,

body.moharram .hero-card,

body.moharram .modal-card,

body.moharram .modalbox {



    background:

        rgba(5,14,10,.90) !important;



    color:

        #effff6 !important;



    border-color:

        rgba(53,255,154,.14) !important;

}





/* =========================================================

   MUHARRAM HEADER

========================================================= */



body.moharram .header,

body.moharram .topbar,

body.moharram .site-header {



    background:

        rgba(2,8,5,.92) !important;



    border-color:

        rgba(53,255,154,.14) !important;

}





/* =========================================================

   MUHARRAM GREEN

========================================================= */



body.moharram .label,

body.moharram .eyebrow,

body.moharram .tag,

body.moharram .hero-small,

body.moharram .category-count,

body.moharram .cardtext label {



    color:

        #35ff9a !important;

}





/* =========================================================

   MOBILE MUHARRAM

========================================================= */



@media (max-width: 720px) {



    body.moharram::before {



        opacity:

            .27;



        background-size:

            95px 95px,

            240px 210px,

            280px 240px,

            320px 260px,

            280px 240px;

    }

}


/* =============================================================
   HEYAT ALMAHDI — MAIN SITE VISUAL THEME
   Applied over the supplied stylesheet. Visual styling only:
   preserve existing layout, element sizes, and page behaviour.
============================================================= */

:root {
    --master-bg: #06130f;
    --master-bg-soft: #091c17;
    --master-panel: #0b211b;
    --master-panel-2: #0d281f;
    --master-primary: #20d6b2;
    --master-primary-dark: #0ea58e;
    --master-gold: #c7a65a;
    --master-text: #effffb;
    --master-muted: #78958e;
    --master-border: rgba(59, 221, 191, .12);
    --master-glow: rgba(32, 214, 178, .16);
}

html {
    background: #06130f !important;
}

body:not(.moharram) {
    background: #06130f !important;
    color: var(--master-text) !important;
    --bg: #06130f;
    --panel: #0b211b;
    --panel2: #0d281f;
    --line: rgba(59, 221, 191, .12);
    --text: #effffb;
    --muted: #78958e;
    --green: #20d6b2;
    --cyan: #20d6b2;
    --primary: #20d6b2;
    --primary-dark: #0ea58e;
    --border: rgba(59, 221, 191, .12);
    position: relative;
    overflow-x: hidden;
}

/* Soft Islamic geometric lines in the background */
body:not(.moharram)::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: .16;
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%2320d6b2' stroke-width='.8' opacity='.75'%3E%3Cpath d='M22.5 0L45 13L67.5 0L90 13L90 39L67.5 52L67.5 78L45 90L22.5 78L0 90L0 64L22.5 51L22.5 26L0 13L22.5 0Z'/%3E%3Cpath d='M22.5 26L45 39L67.5 26L67.5 52L45 65L22.5 52Z'/%3E%3Cpath d='M0 39L22.5 26L45 39L45 65L22.5 78L0 65Z'/%3E%3Cpath d='M45 13L45 39L67.5 52L90 39M22.5 51L45 39L67.5 52'/%3E%3C/g%3E%3C/svg%3E"),
      radial-gradient(circle at 12% 12%, rgba(32, 214, 178, .09), transparent 30%),
      radial-gradient(circle at 88% 80%, rgba(14, 165, 142, .08), transparent 32%);
    background-repeat: repeat, no-repeat, no-repeat;
    background-size: 135px 135px, auto, auto;
    background-position: center top, top left, bottom right;
}

/* Keep page wrappers transparent so the geometric background can show */
body:not(.moharram) main,
body:not(.moharram) .page,
body:not(.moharram) .main,
body:not(.moharram) .container,
body:not(.moharram) .gallery-container,
body:not(.moharram) .login-page,
body:not(.moharram) .content,
body:not(.moharram) .site-main,
body:not(.moharram) .main-content {
    background-color: transparent !important;
}

/* Main/header bars: dark green glass, matching the main Heyat site */
body:not(.moharram) .topbar,
body:not(.moharram) .dash-top,
body:not(.moharram) .header,
body:not(.moharram) .site-header,
body:not(.moharram) .mockup-nav {
    background: rgba(4, 16, 13, .90) !important;
    border-color: rgba(59, 221, 191, .12) !important;
    color: var(--master-text) !important;
    backdrop-filter: blur(18px);
}

body:not(.moharram) .topbar nav,
body:not(.moharram) nav {
    color: var(--master-muted);
}

body:not(.moharram) nav a,
body:not(.moharram) .header nav a,
body:not(.moharram) .topbar nav a,
body:not(.moharram) .nav a,
body:not(.moharram) .site-nav a,
body:not(.moharram) .sidebar-nav a,
body:not(.moharram) .side-link {
    color: #a7c0b6 !important;
}

body:not(.moharram) nav a:hover,
body:not(.moharram) nav a.active,
body:not(.moharram) .header nav a:hover,
body:not(.moharram) .header nav a.active,
body:not(.moharram) .nav a:hover,
body:not(.moharram) .nav a.active,
body:not(.moharram) .site-nav a:hover,
body:not(.moharram) .site-nav a.active,
body:not(.moharram) .sidebar-nav a:hover,
body:not(.moharram) .sidebar-nav a.active,
body:not(.moharram) .side-link:hover,
body:not(.moharram) .side-link.active {
    color: #20d6b2 !important;
}

body:not(.moharram) .nav-cta {
    color: #20d6b2 !important;
    border-color: rgba(32, 214, 178, .42) !important;
    background: rgba(32, 214, 178, .06) !important;
}

/* Dark green panels and cards: same visual language, existing dimensions kept */
body:not(.moharram) .manager-card,
body:not(.moharram) .hero-card,
body:not(.moharram) .auth-card,
body:not(.moharram) .stat,
body:not(.moharram) .panel-card,
body:not(.moharram) .admin-post,
body:not(.moharram) .feed-post,
body:not(.moharram) .goal-box,
body:not(.moharram) .modal-box,
body:not(.moharram) .profile-modal,
body:not(.moharram) .stat-card,
body:not(.moharram) .upload-panel,
body:not(.moharram) .category-card,
body:not(.moharram) .image-card,
body:not(.moharram) .modal-card,
body:not(.moharram) .welcome-card,
body:not(.moharram) .about-card,
body:not(.moharram) .program-card,
body:not(.moharram) .contact-card,
body:not(.moharram) .servant-card,
body:not(.moharram) .gallery-item,
body:not(.moharram) .featured,
body:not(.moharram) .toolbar,
body:not(.moharram) .posts-panel,
body:not(.moharram) .admin-row,
body:not(.moharram) .feedback-item,
body:not(.moharram) .feed-post,
body:not(.moharram) .auth-shell {
    background: linear-gradient(145deg, rgba(13, 40, 31, .96), rgba(7, 22, 17, .97)) !important;
    border-color: rgba(59, 221, 191, .14) !important;
    color: var(--master-text) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22) !important;
}

body:not(.moharram) .manager-card:hover,
body:not(.moharram) .category-card:hover,
body:not(.moharram) .image-card:hover {
    border-color: rgba(32, 214, 178, .42) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28) !important;
}

body:not(.moharram) .manager-card h3,
body:not(.moharram) .hero h1,
body:not(.moharram) .section h1,
body:not(.moharram) .section h2,
body:not(.moharram) .profile-main h3,
body:not(.moharram) .auth-card h1,
body:not(.moharram) .category-info h3,
body:not(.moharram) .feed-info h4,
body:not(.moharram) .admin-post h3 {
    color: #effffb !important;
}

body:not(.moharram) .manager-card p,
body:not(.moharram) .eyebrow,
body:not(.moharram) .hero h1 strong,
body:not(.moharram) .hero small,
body:not(.moharram) .section-head .eyebrow,
body:not(.moharram) .manager-card .role,
body:not(.moharram) .profile-side .role,
body:not(.moharram) .stat b,
body:not(.moharram) .loading,
body:not(.moharram) .label,
body:not(.moharram) .tag {
    color: #20d6b2 !important;
}

body:not(.moharram) .muted,
body:not(.moharram) .hero p,
body:not(.moharram) .about p,
body:not(.moharram) .profile-main p,
body:not(.moharram) .feed-info p,
body:not(.moharram) .form label,
body:not(.moharram) .form-msg,
body:not(.moharram) .topbar p,
body:not(.moharram) .section-head p,
body:not(.moharram) .profile-main .goal-box p,
body:not(.moharram) .sample-login {
    color: #91aaa1 !important;
}

/* Buttons: bright jade/mint green accent */
body:not(.moharram) .btn.primary,
body:not(.moharram) .primary-btn,
body:not(.moharram) .green-btn,
body:not(.moharram) .read,
body:not(.moharram) .view-gallery,
body:not(.moharram) .search button,
body:not(.moharram) .publish-btn {
    background: linear-gradient(135deg, #20d6b2, #0ea58e) !important;
    border-color: #20d6b2 !important;
    color: #04251d !important;
    font-weight: 800;
}

body:not(.moharram) .btn.primary:hover,
body:not(.moharram) .primary-btn:hover,
body:not(.moharram) .green-btn:hover,
body:not(.moharram) .read:hover,
body:not(.moharram) .publish-btn:hover {
    background: #0ea58e !important;
    border-color: #0ea58e !important;
}

body:not(.moharram) .btn.ghost,
body:not(.moharram) .ghost-btn,
body:not(.moharram) .back-btn,
body:not(.moharram) .small-btn,
body:not(.moharram) .secondary-btn,
body:not(.moharram) .logout-btn {
    background: rgba(255, 255, 255, .035) !important;
    border: 1px solid rgba(59, 221, 191, .16) !important;
    color: #e8f7f1 !important;
}

/* Forms stay dark; no white inputs in the dark theme */
body:not(.moharram) input,
body:not(.moharram) textarea,
body:not(.moharram) select,
body:not(.moharram) .form input,
body:not(.moharram) .form textarea,
body:not(.moharram) .manager-search {
    background: #071914 !important;
    border-color: rgba(59, 221, 191, .16) !important;
    color: #effffb !important;
}

body:not(.moharram) input::placeholder,
body:not(.moharram) textarea::placeholder,
body:not(.moharram) .manager-search::placeholder {
    color: #78958e !important;
}

body:not(.moharram) input:focus,
body:not(.moharram) textarea:focus,
body:not(.moharram) select:focus {
    border-color: rgba(32, 214, 178, .65) !important;
    box-shadow: 0 0 0 3px rgba(32, 214, 178, .08);
}

/* Avatars and brand marks */
body:not(.moharram) .brand-mark,
body:not(.moharram) .brand-icon,
body:not(.moharram) .logo-icon,
body:not(.moharram) .mini-avatar,
body:not(.moharram) .avatar,
body:not(.moharram) .admin-avatar {
    background: rgba(32, 214, 178, .07) !important;
    border-color: rgba(32, 214, 178, .55) !important;
    color: #20d6b2 !important;
}

body:not(.moharram) .avatar,
body:not(.moharram) .mini-avatar {
    box-shadow: 0 0 0 3px rgba(32, 214, 178, .07) !important;
}

/* Sections, sidebar, footer, and modals */
body:not(.moharram) .about,
body:not(.moharram) .managers-section,
body:not(.moharram) .reference-content-section,
body:not(.moharram) .dashboard-page,
body:not(.moharram) .dash-main {
    background-color: #06130f !important;
    color: #effffb !important;
}

body:not(.moharram) .sidebar {
    background: rgba(5, 23, 17, .96) !important;
    border-color: rgba(59, 221, 191, .12) !important;
}

body:not(.moharram) footer,
body:not(.moharram) .footer {
    background: #040d0a !important;
    border-color: rgba(59, 221, 191, .10) !important;
    color: #78958e !important;
}

body:not(.moharram) .modal-backdrop,
body:not(.moharram) .modal {
    background-color: rgba(0, 8, 5, .76) !important;
}

body:not(.moharram) .close {
    background: rgba(255, 255, 255, .05) !important;
    border: 1px solid rgba(59, 221, 191, .14) !important;
    color: #effffb !important;
}

/* Preserve image-based hero artwork; adjust only its colour overlay */
body:not(.moharram) .hero {
    color: #effffb;
}

body:not(.moharram) .hero-card-glow {
    background: rgba(32, 214, 178, .14) !important;
}

body:not(.moharram) .hero:after {
    background: linear-gradient(transparent, #06130f) !important;
}

body:not(.moharram) .mockup-hero:before,
body:not(.moharram) .reference-hero:before {
    background: linear-gradient(90deg, rgba(2, 16, 11, .78), rgba(2, 16, 11, .30) 48%, rgba(2, 16, 11, .66)), linear-gradient(180deg, rgba(1, 8, 5, .14), rgba(1, 8, 5, .68)) !important;
}

body:not(.moharram) .mockup-hero:after,
body:not(.moharram) .reference-hero:after {
    background: linear-gradient(transparent, #06130f) !important;
}

body:not(.moharram) .goal-box {
    background: rgba(32, 214, 178, .06) !important;
    border-color: rgba(32, 214, 178, .18) !important;
}

body:not(.moharram) .feed-meta,
body:not(.moharram) .loading,
body:not(.moharram) .copyright {
    color: #78958e !important;
}

body:not(.moharram) .form-msg.success,
body:not(.moharram) .success {
    color: #20d6b2 !important;
}

body:not(.moharram) .danger,
body:not(.moharram) .form-msg.error {
    color: #ff8585 !important;
}

/* Make sure content stays above the decorative background */
body:not(.moharram) > * {
    position: relative;
    z-index: 1;
}


/* =====================================================
   ALMAHDI LIGHT CONTENT PASS
   - Keep the existing dark green header
   - Light page surfaces and dark readable text
   - Remove rectangular panels behind circular manager avatars
   - Preserve dimensions and layout
===================================================== */

:root {
    --bg: #f3faf7;
    --panel: #ffffff;
    --panel2: #eaf5ef;
    --line: rgba(22, 86, 63, .15);
    --text: #17382d;
    --muted: #60776c;
    --master-bg: #f3faf7;
    --master-text: #17382d;
    --master-muted: #60776c;
    --master-border: rgba(22, 86, 63, .15);
}

body:not(.moharram) {
    background: #f3faf7 !important;
    background-color: #f3faf7 !important;
    color: #17382d !important;
}

body:not(.moharram)::before {
    opacity: .14 !important;
}

/* Light, transparent page sections let the soft geometric pattern show through */
body:not(.moharram) main,
body:not(.moharram) .page,
body:not(.moharram) .main,
body:not(.moharram) .main-content,
body:not(.moharram) .site-main,
body:not(.moharram) .content,
body:not(.moharram) .about,
body:not(.moharram) .managers-section,
body:not(.moharram) .reference-content-section,
body:not(.moharram) .dashboard-page,
body:not(.moharram) .dash-main,
body:not(.moharram) .section {
    background: transparent !important;
    background-color: transparent !important;
    color: #17382d !important;
}

/* Keep the header exactly in its current dark green glass style */
body:not(.moharram) .topbar,
body:not(.moharram) .dash-top,
body:not(.moharram) .header,
body:not(.moharram) .site-header,
body:not(.moharram) .mockup-nav {
    background: rgba(4, 16, 13, .90) !important;
    border-color: rgba(59, 221, 191, .12) !important;
    color: #effffb !important;
    backdrop-filter: blur(18px);
}

body:not(.moharram) .topbar .brand,
body:not(.moharram) .dash-top .brand,
body:not(.moharram) .header .brand,
body:not(.moharram) .site-header .brand,
body:not(.moharram) .topbar nav a,
body:not(.moharram) .dash-top nav a,
body:not(.moharram) .header nav a,
body:not(.moharram) .site-header nav a,
body:not(.moharram) .mockup-nav nav a {
    color: #dcefe7 !important;
}

body:not(.moharram) .topbar nav a:hover,
body:not(.moharram) .dash-top nav a:hover,
body:not(.moharram) .header nav a:hover,
body:not(.moharram) .header nav a.active,
body:not(.moharram) .site-header nav a:hover,
body:not(.moharram) .site-header nav a.active,
body:not(.moharram) .mockup-nav nav a:hover,
body:not(.moharram) .mockup-nav nav a.active {
    color: #20d6b2 !important;
}

/* Circular manager portraits stay; remove only their rectangular card surfaces */
body:not(.moharram) .manager-card,
body:not(.moharram) .reference-manager-grid .manager-card {
    background: transparent !important;
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body:not(.moharram) .manager-card:hover,
body:not(.moharram) .reference-manager-grid .manager-card:hover {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

body:not(.moharram) .manager-card h3,
body:not(.moharram) .reference-manager-grid .manager-card h3,
body:not(.moharram) .section h1,
body:not(.moharram) .section h2,
body:not(.moharram) .section h3,
body:not(.moharram) .section h4,
body:not(.moharram) .section p,
body:not(.moharram) .about h1,
body:not(.moharram) .about h2,
body:not(.moharram) .about h3,
body:not(.moharram) .about p,
body:not(.moharram) .reference-content-section h1,
body:not(.moharram) .reference-content-section h2,
body:not(.moharram) .reference-content-section h3,
body:not(.moharram) .reference-content-section p,
body:not(.moharram) .section-head h1,
body:not(.moharram) .section-head h2,
body:not(.moharram) .section-head p,
body:not(.moharram) .muted,
body:not(.moharram) .about p {
    color: #17382d !important;
}

body:not(.moharram) .manager-card p,
body:not(.moharram) .manager-card .role,
body:not(.moharram) .reference-manager-grid .manager-card p,
body:not(.moharram) .reference-manager-grid .manager-card .role,
body:not(.moharram) .eyebrow,
body:not(.moharram) .label,
body:not(.moharram) .tag {
    color: #11815f !important;
}

/* All ordinary content cards become light; sizes, gaps and layout stay unchanged */
body:not(.moharram) .hero-card,
body:not(.moharram) .auth-card,
body:not(.moharram) .stat,
body:not(.moharram) .panel-card,
body:not(.moharram) .admin-post,
body:not(.moharram) .feed-post,
body:not(.moharram) .goal-box,
body:not(.moharram) .modal-box,
body:not(.moharram) .profile-modal,
body:not(.moharram) .stat-card,
body:not(.moharram) .upload-panel,
body:not(.moharram) .category-card,
body:not(.moharram) .image-card,
body:not(.moharram) .modal-card,
body:not(.moharram) .welcome-card,
body:not(.moharram) .about-card,
body:not(.moharram) .program-card,
body:not(.moharram) .contact-card,
body:not(.moharram) .servant-card,
body:not(.moharram) .gallery-item,
body:not(.moharram) .featured,
body:not(.moharram) .toolbar,
body:not(.moharram) .posts-panel,
body:not(.moharram) .admin-row,
body:not(.moharram) .feedback-item,
body:not(.moharram) .auth-shell,
body:not(.moharram) .form,
body:not(.moharram) .permission-box,
body:not(.moharram) .selected-profile {
    background: rgba(255, 255, 255, .92) !important;
    border-color: rgba(22, 86, 63, .15) !important;
    color: #17382d !important;
    box-shadow: 0 12px 32px rgba(17, 73, 53, .07) !important;
}

/* Keep media images themselves unchanged */
body:not(.moharram) .avatar,
body:not(.moharram) .mini-avatar {
    background: #e2f3eb !important;
    border-color: #20b88b !important;
    color: #147653 !important;
}

/* Dark text on light cards and forms */
body:not(.moharram) .hero-card h1,
body:not(.moharram) .hero-card h2,
body:not(.moharram) .hero-card h3,
body:not(.moharram) .auth-card h1,
body:not(.moharram) .auth-card h2,
body:not(.moharram) .stat span,
body:not(.moharram) .stat-card span,
body:not(.moharram) .panel-card h1,
body:not(.moharram) .panel-card h2,
body:not(.moharram) .panel-card h3,
body:not(.moharram) .admin-post h3,
body:not(.moharram) .feed-info h4,
body:not(.moharram) .profile-main h3,
body:not(.moharram) .profile-side h2,
body:not(.moharram) .toolbar h2,
body:not(.moharram) .posts-panel h2,
body:not(.moharram) .admin-row b,
body:not(.moharram) .feedback-item,
body:not(.moharram) .form label,
body:not(.moharram) .modal-box,
body:not(.moharram) .profile-modal {
    color: #17382d !important;
}

body:not(.moharram) .hero-card small,
body:not(.moharram) .hero-card p,
body:not(.moharram) .auth-card p,
body:not(.moharram) .stat span,
body:not(.moharram) .panel-card p,
body:not(.moharram) .admin-post p,
body:not(.moharram) .feed-info p,
body:not(.moharram) .feed-meta,
body:not(.moharram) .profile-main p,
body:not(.moharram) .profile-main .goal-box p,
body:not(.moharram) .muted,
body:not(.moharram) .sample-login,
body:not(.moharram) .form label,
body:not(.moharram) .topbar p,
body:not(.moharram) .dash-top p {
    color: #60776c !important;
}

body:not(.moharram) input,
body:not(.moharram) textarea,
body:not(.moharram) select,
body:not(.moharram) .form input,
body:not(.moharram) .form textarea,
body:not(.moharram) .manager-search {
    background: #ffffff !important;
    color: #17382d !important;
    border-color: rgba(22, 86, 63, .20) !important;
}

body:not(.moharram) input::placeholder,
body:not(.moharram) textarea::placeholder,
body:not(.moharram) .manager-search::placeholder {
    color: #71877c !important;
}

body:not(.moharram) .sidebar {
    background: rgba(234, 245, 239, .96) !important;
    border-color: rgba(22, 86, 63, .13) !important;
}

body:not(.moharram) .side-link,
body:not(.moharram) .side-user,
body:not(.moharram) .side-user b,
body:not(.moharram) .loading,
body:not(.moharram) footer,
body:not(.moharram) .footer {
    color: #17382d !important;
}

body:not(.moharram) footer,
body:not(.moharram) .footer {
    background: rgba(234, 245, 239, .94) !important;
    border-color: rgba(22, 86, 63, .13) !important;
}

/* Keep the image-led hero dark for readability and blend its fade into the light page */
body:not(.moharram) .hero {
    color: #effffb !important;
}

body:not(.moharram) .hero h1,
body:not(.moharram) .hero p,
body:not(.moharram) .hero .eyebrow {
    color: #effffb !important;
}

body:not(.moharram) .hero h1 strong,
body:not(.moharram) .hero .eyebrow {
    color: #20d6b2 !important;
}

body:not(.moharram) .hero:after {
    background: linear-gradient(transparent, #f3faf7) !important;
}

body:not(.moharram) .mockup-hero:after,
body:not(.moharram) .reference-hero:after {
    background: linear-gradient(transparent, #f3faf7) !important;
}


/* ================================================================
   ALMAHDI FINAL PAGE MATCH
   Green hero / light geometric page background
   Keeps the existing header, layout and avatar sizes intact
   ================================================================ */

:root {
    --master-bg: #f3faf7;
    --master-primary: #18b98d;
    --master-primary-dark: #0d8f6d;
    --master-text: #12382d;
    --master-muted: #648078;
    --master-border: rgba(24, 185, 141, .16);
}

html,
body {
    min-height: 100%;
    background: #f3faf7 !important;
    color: #12382d;
}

/* The old dark wrapper was causing the black panel and gray fade. */
.mockup-home,
body.exact-reference,
.exact-reference,
.exact-reference .mockup-home {
    background: transparent !important;
    color: #12382d;
}

/* Very light green Islamic geometric pattern across the light page. */
body::before,
body.exact-reference::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: .30;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%2318a77f' stroke-width='.8' opacity='.6'%3E%3Cpath d='M22.5 0L45 13L67.5 0L90 13L90 39L67.5 52L67.5 78L45 90L22.5 78L0 90L0 64L22.5 51L22.5 26L0 13L22.5 0Z'/%3E%3Cpath d='M22.5 26L45 39L67.5 26L67.5 52L45 65L22.5 52Z'/%3E%3Cpath d='M0 39L22.5 26L45 39L45 65L22.5 78L0 65Z'/%3E%3Cpath d='M45 13L45 39L67.5 52L90 39M22.5 51L45 39L67.5 52'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(circle at 14% 14%, rgba(24,185,141,.06), transparent 32%),
        radial-gradient(circle at 88% 75%, rgba(24,185,141,.045), transparent 34%);
    background-repeat: repeat, no-repeat, no-repeat;
    background-size: 135px 135px, auto, auto;
    background-position: center top, top left, bottom right;
}

/* Keep page content above the pattern without putting a solid panel behind it. */
body > *,
.mockup-home > *,
.exact-reference > * {
    position: relative;
    z-index: 1;
}

/* Main upper section: deep emerald like the official Heyat homepage. */
.mockup-hero,
.reference-hero {
    background-color: #073629 !important;
    background-image:
        radial-gradient(circle at 78% 18%, rgba(32,214,178,.055), transparent 30%),
        radial-gradient(circle at 15% 82%, rgba(32,214,178,.045), transparent 28%),
        linear-gradient(145deg, #07392c 0%, #062f25 58%, #062b22 100%) !important;
    color: #f2fff9 !important;
    border-radius: 0 !important;
}

/* Manager/profile row stays part of the same green hero area. */
.managers-section,
.reference-manager-wrap {
    background: #062f25 !important;
    color: #f2fff9 !important;
}

/* Round only the lower edge of the complete green area. */
.managers-section {
    border-radius: 0 0 20px 20px !important;
}

.reference-hero {
    border-radius: 0 0 20px 20px !important;
}

/* Keep circular portraits, and remove rectangular card surfaces behind them. */
.managers-section .manager-card,
.reference-manager-grid .manager-card,
.mockup-home .manager-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.managers-section .manager-card h3,
.reference-manager-grid .manager-card h3,
.mockup-home .manager-card h3,
.reference-grid-head h2,
.mockup-section-head h2 {
    color: #f2fff9 !important;
}

.managers-section .manager-card p,
.reference-manager-grid .manager-card p,
.reference-grid-head .eyebrow,
.mockup-section-head .eyebrow {
    color: #62e5bd !important;
}

/* Avatar circles retain their current dimensions and placement. */
.managers-section .avatar,
.reference-manager-grid .avatar {
    border-color: #20d6b2 !important;
}

/* Lower page sections become light instead of gray/black gradients. */
.about,
.about.mockup-info-section,
.mini-section,
.reference-content-section,
.section:not(.feature-section),
.mockup-home .about,
.mockup-home .mini-section {
    background: transparent !important;
    color: #12382d !important;
    border-color: rgba(24,185,141,.15) !important;
}

.about h1,
.about h2,
.about h3,
.mini-section h1,
.mini-section h2,
.mini-section h3,
.reference-content-section h1,
.reference-content-section h2,
.reference-content-section h3 {
    color: #12382d !important;
}

.about p,
.mini-section p,
.reference-content-section p {
    color: #648078 !important;
}

/* Footer stays light so the geometric green lines remain visible behind it. */
.mockup-home footer,
.exact-reference footer,
footer,
.footer {
    background: rgba(243,250,247,.88) !important;
    color: #456b5e !important;
    border-color: rgba(24,185,141,.15) !important;
}

/* Inputs on the light background. */
.manager-search,
input,
textarea,
select {
    background: rgba(255,255,255,.94) !important;
    color: #12382d !important;
    border-color: rgba(24,185,141,.20) !important;
}

.manager-search::placeholder,
input::placeholder,
textarea::placeholder {
    color: #78958b !important;
}

/* Preserve the dark header that was already approved. */
.mockup-nav {
    background: rgba(3, 16, 13, .94) !important;
    border-bottom-color: rgba(32,214,178,.12) !important;
}

/* Do not let a page wrapper reintroduce the black-to-white fade. */
.mockup-home,
.mockup-home main,
.mockup-home .content,
.mockup-home .main-content {
    background-color: transparent !important;
}

@media (max-width: 720px) {
    body::before,
    body.exact-reference::before {
        opacity: .22;
        background-size: 105px 105px, auto, auto;
    }
}

/* ================================================================
   FINAL SPECIFICITY FIX — force the requested hero/background
   ================================================================ */

body:not(.moharram) {
    background: #f3faf7 !important;
    background-color: #f3faf7 !important;
}

body:not(.moharram)::before {
    content: "" !important;
    display: block !important;
    opacity: .30 !important;
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%2318a77f' stroke-width='.8' opacity='.6'%3E%3Cpath d='M22.5 0L45 13L67.5 0L90 13L90 39L67.5 52L67.5 78L45 90L22.5 78L0 90L0 64L22.5 51L22.5 26L0 13L22.5 0Z'/%3E%3Cpath d='M22.5 26L45 39L67.5 26L67.5 52L45 65L22.5 52Z'/%3E%3Cpath d='M0 39L22.5 26L45 39L45 65L22.5 78L0 65Z'/%3E%3Cpath d='M45 13L45 39L67.5 52L90 39M22.5 51L45 39L67.5 52'/%3E%3C/g%3E%3C/svg%3E"),
      radial-gradient(circle at 14% 14%, rgba(24,185,141,.06), transparent 32%),
      radial-gradient(circle at 88% 75%, rgba(24,185,141,.045), transparent 34%) !important;
    background-repeat: repeat, no-repeat, no-repeat !important;
    background-size: 135px 135px, auto, auto !important;
    background-position: center top, top left, bottom right !important;
}

body:not(.moharram) .mockup-home {
    background: transparent !important;
    background-color: transparent !important;
    color: #17382d !important;
}

/* Main green section: remove the old black photo overlays entirely. */
body:not(.moharram) .mockup-hero,
body:not(.moharram) .reference-hero {
    background-color: #073629 !important;
    background-image: linear-gradient(145deg, #07392c 0%, #062f25 58%, #062b22 100%) !important;
    color: #f2fff9 !important;
}

body:not(.moharram) .mockup-hero::before,
body:not(.moharram) .mockup-hero::after,
body:not(.moharram) .reference-hero::before,
body:not(.moharram) .reference-hero::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

body:not(.moharram) .managers-section,
body:not(.moharram) .reference-manager-wrap {
    background: #062f25 !important;
    background-color: #062f25 !important;
    color: #f2fff9 !important;
}

body:not(.moharram) .managers-section {
    border-radius: 0 0 20px 20px !important;
}

body:not(.moharram) .reference-hero {
    border-radius: 0 0 20px 20px !important;
}

/* Circular people profiles stay circular; only their rectangular surfaces go away. */
body:not(.moharram) .managers-section .manager-card,
body:not(.moharram) .reference-manager-grid .manager-card,
body:not(.moharram) .mockup-home .manager-card {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body:not(.moharram) .managers-section .manager-card h3,
body:not(.moharram) .reference-manager-grid .manager-card h3,
body:not(.moharram) .mockup-home .manager-card h3,
body:not(.moharram) .reference-grid-head h2,
body:not(.moharram) .mockup-section-head h2 {
    color: #f2fff9 !important;
}

body:not(.moharram) .managers-section .manager-card p,
body:not(.moharram) .reference-manager-grid .manager-card p,
body:not(.moharram) .mockup-home .manager-card p,
body:not(.moharram) .reference-grid-head .eyebrow,
body:not(.moharram) .mockup-section-head .eyebrow {
    color: #62e5bd !important;
}

/* Page area beyond the green section is light and transparent over the pattern. */
body:not(.moharram) .about,
body:not(.moharram) .about.mockup-info-section,
body:not(.moharram) .mini-section,
body:not(.moharram) .reference-content-section,
body:not(.moharram) .mockup-home .section:not(.managers-section),
body:not(.moharram) .mockup-home main {
    background: transparent !important;
    background-color: transparent !important;
    color: #17382d !important;
    border-color: rgba(24,185,141,.15) !important;
}

body:not(.moharram) .about h1,
body:not(.moharram) .about h2,
body:not(.moharram) .about h3,
body:not(.moharram) .mini-section h1,
body:not(.moharram) .mini-section h2,
body:not(.moharram) .mini-section h3,
body:not(.moharram) .reference-content-section h1,
body:not(.moharram) .reference-content-section h2,
body:not(.moharram) .reference-content-section h3 {
    color: #17382d !important;
}

body:not(.moharram) .about p,
body:not(.moharram) .mini-section p,
body:not(.moharram) .reference-content-section p {
    color: #648078 !important;
}

body:not(.moharram) .mockup-home footer,
body:not(.moharram) .exact-reference footer,
body:not(.moharram) footer,
body:not(.moharram) .footer {
    background: rgba(243,250,247,.90) !important;
    background-color: rgba(243,250,247,.90) !important;
    color: #456b5e !important;
    border-color: rgba(24,185,141,.15) !important;
}

@media (max-width: 720px) {
    body:not(.moharram)::before {
        opacity: .23 !important;
        background-size: 105px 105px, auto, auto !important;
    }
}


/* =====================================================================
   ANALYSIS 2 -> MATCH ANALYSIS 1 VISUAL THEME
   VISUAL-ONLY OVERRIDES: no width/height, spacing, position, display,
   grid/flex, font-size, transform, or element placement is changed here.
   Header remains dark green; upper profile area is green; page background
   is pale green-white with a subtle geometric pattern.
   ===================================================================== */

html:not(.moharram) {
    background-color: #f3faf7 !important;
    color-scheme: light;
}

body:not(.moharram) {
    background-color: #f3faf7 !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%2318a77f' stroke-width='.8' opacity='.35'%3E%3Cpath d='M22.5 0L45 13L67.5 0L90 13L90 39L67.5 52L67.5 78L45 90L22.5 78L0 90L0 64L22.5 51L22.5 26L0 13L22.5 0Z'/%3E%3Cpath d='M22.5 26L45 39L67.5 26L67.5 52L45 65L22.5 52Z'/%3E%3Cpath d='M0 39L22.5 26L45 39L45 65L22.5 78L0 65Z'/%3E%3Cpath d='M45 13L45 39L67.5 52L90 39M22.5 51L45 39L67.5 52'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(circle at 14% 14%, rgba(24,185,141,.045), transparent 32%),
        radial-gradient(circle at 88% 75%, rgba(24,185,141,.035), transparent 34%) !important;
    background-repeat: repeat, no-repeat, no-repeat !important;
    background-size: 135px 135px, auto, auto !important;
    background-position: center top, top left, bottom right !important;
    background-attachment: fixed !important;
    color: #17382d !important;
}

/* Use the body background as the pattern layer; disable duplicate overlays
   without touching their box geometry. */
body:not(.moharram)::before {
    opacity: 0 !important;
    background: transparent !important;
}

/* Preserve the currently approved dark header, changing only its colors. */
body:not(.moharram) .topbar,
body:not(.moharram) .dash-top,
body:not(.moharram) .mockup-nav,
body:not(.moharram) .site-header {
    background: rgba(4, 20, 15, .94) !important;
    border-color: rgba(32, 214, 178, .15) !important;
    color: #eefbf5 !important;
}

body:not(.moharram) .topbar nav,
body:not(.moharram) .dash-top nav,
body:not(.moharram) .mockup-nav nav,
body:not(.moharram) .site-header nav,
body:not(.moharram) .topbar nav a,
body:not(.moharram) .dash-top nav a,
body:not(.moharram) .mockup-nav nav a,
body:not(.moharram) .site-header nav a {
    color: #c7ded5 !important;
}

body:not(.moharram) .topbar nav a.active,
body:not(.moharram) .mockup-nav nav a.active,
body:not(.moharram) .site-header nav a.active,
body:not(.moharram) .topbar nav a:hover,
body:not(.moharram) .mockup-nav nav a:hover,
body:not(.moharram) .site-header nav a:hover {
    color: #20d6b2 !important;
}

/* Main hero / profile band: solid jade green, never fading to white. */
body:not(.moharram) .reference-hero,
body:not(.moharram) .mockup-hero,
body:not(.moharram) .managers-section,
body:not(.moharram) .reference-manager-wrap {
    background-color: #07352a !important;
    background-image: linear-gradient(145deg, #0a3b2e 0%, #07352a 55%, #062f25 100%) !important;
    color: #f2fbf6 !important;
    border-color: rgba(32,214,178,.14) !important;
}

/* Remove only the visual fade layers over the green band. */
body:not(.moharram) .reference-hero::before,
body:not(.moharram) .reference-hero::after,
body:not(.moharram) .mockup-hero::before,
body:not(.moharram) .mockup-hero::after,
body:not(.moharram) .hero::after {
    background: transparent !important;
    opacity: 0 !important;
}

/* Keep the manager/profile items in their existing positions; remove only
   their rectangular surface color and border. Circular portraits stay as-is. */
body:not(.moharram) .manager-card,
body:not(.moharram) .reference-manager-grid .manager-card,
body:not(.moharram) .reference-manager-wrap .manager-card,
body:not(.moharram) .managers-section .manager-card {
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

body:not(.moharram) .reference-hero h1,
body:not(.moharram) .reference-hero h2,
body:not(.moharram) .reference-hero h3,
body:not(.moharram) .mockup-hero h1,
body:not(.moharram) .mockup-hero h2,
body:not(.moharram) .mockup-hero h3,
body:not(.moharram) .managers-section h1,
body:not(.moharram) .managers-section h2,
body:not(.moharram) .managers-section h3,
body:not(.moharram) .reference-manager-wrap h1,
body:not(.moharram) .reference-manager-wrap h2,
body:not(.moharram) .reference-manager-wrap h3 {
    color: #f2fbf6 !important;
}

body:not(.moharram) .reference-hero p,
body:not(.moharram) .mockup-hero p,
body:not(.moharram) .managers-section p,
body:not(.moharram) .reference-manager-wrap p,
body:not(.moharram) .reference-hero .eyebrow,
body:not(.moharram) .mockup-hero .eyebrow,
body:not(.moharram) .managers-section .eyebrow,
body:not(.moharram) .reference-manager-wrap .eyebrow {
    color: #67e4bd !important;
}

/* Lower page stays light and lets the geometric pattern show through. */
body:not(.moharram) .mockup-home,
body:not(.moharram) .mockup-home main,
body:not(.moharram) main,
body:not(.moharram) .about,
body:not(.moharram) .about.mockup-info-section,
body:not(.moharram) .mini-section,
body:not(.moharram) .reference-content-section,
body:not(.moharram) .content,
body:not(.moharram) .main-content {
    background: transparent !important;
    background-color: transparent !important;
    color: #17382d !important;
    border-color: rgba(24,185,141,.15) !important;
}

body:not(.moharram) .about h1,
body:not(.moharram) .about h2,
body:not(.moharram) .about h3,
body:not(.moharram) .mini-section h1,
body:not(.moharram) .mini-section h2,
body:not(.moharram) .mini-section h3,
body:not(.moharram) .reference-content-section h1,
body:not(.moharram) .reference-content-section h2,
body:not(.moharram) .reference-content-section h3 {
    color: #17382d !important;
}

body:not(.moharram) .about p,
body:not(.moharram) .mini-section p,
body:not(.moharram) .reference-content-section p {
    color: #648078 !important;
}

/* Light cards and panels use the same white/green language; their geometry
   is untouched. */
body:not(.moharram) .auth-card,
body:not(.moharram) .panel-card,
body:not(.moharram) .stat,
body:not(.moharram) .admin-post,
body:not(.moharram) .feed-post,
body:not(.moharram) .auth-shell .auth-card {
    background: rgba(255,255,255,.94) !important;
    background-color: rgba(255,255,255,.94) !important;
    border-color: rgba(24,185,141,.17) !important;
    box-shadow: 0 12px 32px rgba(20,78,59,.08) !important;
    color: #17382d !important;
}

body:not(.moharram) .auth-card h1,
body:not(.moharram) .panel-card h1,
body:not(.moharram) .panel-card h2,
body:not(.moharram) .panel-card h3,
body:not(.moharram) .stat b,
body:not(.moharram) .admin-post h3,
body:not(.moharram) .feed-info h4 {
    color: #17382d !important;
}

body:not(.moharram) .auth-card p,
body:not(.moharram) .panel-card p,
body:not(.moharram) .stat span,
body:not(.moharram) .admin-post p,
body:not(.moharram) .feed-info p,
body:not(.moharram) .muted {
    color: #648078 !important;
}

body:not(.moharram) input,
body:not(.moharram) textarea,
body:not(.moharram) select,
body:not(.moharram) .manager-search,
body:not(.moharram) .form input,
body:not(.moharram) .form textarea {
    background-color: rgba(255,255,255,.96) !important;
    color: #17382d !important;
    border-color: rgba(24,185,141,.22) !important;
}

body:not(.moharram) input::placeholder,
body:not(.moharram) textarea::placeholder,
body:not(.moharram) .manager-search::placeholder {
    color: #78958b !important;
}

body:not(.moharram) footer,
body:not(.moharram) .footer {
    background: rgba(243,250,247,.84) !important;
    background-color: rgba(243,250,247,.84) !important;
    color: #456b5e !important;
    border-color: rgba(24,185,141,.15) !important;
}

/* Preserve the existing dark-green brand buttons; colors only. */
body:not(.moharram) .btn.primary,
body:not(.moharram) .primary-btn,
body:not(.moharram) .green-btn,
body:not(.moharram) .nav-cta {
    background-color: #20d6b2 !important;
    border-color: rgba(24,185,141,.45) !important;
    color: #04251d !important;
}

body:not(.moharram) .btn.ghost,
body:not(.moharram) .back-btn,
body:not(.moharram) .secondary-btn,
body:not(.moharram) .ghost-btn {
    background-color: rgba(24,185,141,.07) !important;
    border-color: rgba(24,185,141,.22) !important;
    color: #17382d !important;
}

/* End of visual-only theme patch. */

/* =====================================================================
   ALMAHDI PROFILE MODAL — EMERALD GEM OVERRIDE
   Scoped to the manager profile only. Does not recolor site-wide cards.
   Removes pale/white panels and replaces them with deep emerald surfaces
   and a restrained green gemstone glow.
   ===================================================================== */
:root {
    --pm-jewel-bg: #04120e;
    --pm-jewel-panel: #061a14;
    --pm-jewel-panel-2: #08231a;
    --pm-jewel-green: #20d6a2;
    --pm-jewel-green-bright: #4af0b9;
    --pm-jewel-text: #e8f8f1;
    --pm-jewel-muted: #a1bfb3;
    --pm-jewel-border: rgba(32, 214, 162, .26);
    --pm-jewel-glow: rgba(18, 195, 132, .13);
}

body:not(.moharram) .profile-modal {
    color: var(--pm-jewel-text) !important;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(23, 185, 127, .12), transparent 42%),
        linear-gradient(145deg, #061a14 0%, #03100c 78%) !important;
    background-color: var(--pm-jewel-bg) !important;
    border: 1px solid rgba(52, 230, 174, .44) !important;
    border-radius: 16px !important;
    box-shadow:
        0 0 0 1px rgba(28, 166, 119, .08),
        0 24px 72px rgba(0, 0, 0, .62),
        0 0 34px rgba(13, 185, 124, .13) !important;
    overflow: hidden;
}

body:not(.moharram) .profile-modal .profile-top {
    background:
        radial-gradient(ellipse at 90% 0%, rgba(32, 214, 162, .10), transparent 48%),
        linear-gradient(145deg, #08231a, #03120e 76%) !important;
    border-bottom: 1px solid rgba(32, 214, 162, .17) !important;
    color: var(--pm-jewel-text) !important;
}

body:not(.moharram) .profile-modal .profile-side,
body:not(.moharram) .profile-modal .profile-main {
    color: var(--pm-jewel-text) !important;
}

body:not(.moharram) .profile-modal .profile-side {
    border-color: rgba(32, 214, 162, .18) !important;
}

body:not(.moharram) .profile-modal .profile-side h2,
body:not(.moharram) .profile-modal .profile-main h3,
body:not(.moharram) .profile-modal .post-section h3,
body:not(.moharram) .profile-modal .feedback-form h3 {
    color: #e9fff6 !important;
    text-shadow: 0 0 18px rgba(32, 214, 162, .08);
}

body:not(.moharram) .profile-modal .profile-side .role,
body:not(.moharram) .profile-modal .goal-box b {
    color: var(--pm-jewel-green-bright) !important;
}

body:not(.moharram) .profile-modal .profile-main p,
body:not(.moharram) .profile-modal .goal-box p,
body:not(.moharram) .profile-modal .feedback-form p {
    color: var(--pm-jewel-muted) !important;
}

/* This is the large pale band in the screenshot: keep the whole activity
   section, its wrappers and feed tiles in the same dark gemstone palette. */
body:not(.moharram) .profile-modal .post-section,
body:not(.moharram) .profile-modal .post-section > div,
body:not(.moharram) .profile-modal .post-section > section,
body:not(.moharram) .profile-modal .post-section .section-head,
body:not(.moharram) .profile-modal .post-section .post-feed {
    background: linear-gradient(145deg, #061a14, #04130f 82%) !important;
    background-color: #061a14 !important;
    color: var(--pm-jewel-text) !important;
    border-color: rgba(32, 214, 162, .18) !important;
}

body:not(.moharram) .profile-modal .post-section .feed-post {
    background:
        linear-gradient(145deg, rgba(10, 43, 31, .98), rgba(4, 19, 14, .98)) !important;
    background-color: #061a14 !important;
    border: 1px solid rgba(32, 214, 162, .20) !important;
    border-radius: 12px !important;
    color: var(--pm-jewel-text) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .17), 0 0 17px rgba(12, 185, 123, .045) !important;
}

body:not(.moharram) .profile-modal .post-section .feed-media {
    background: #020b07 !important;
    border-bottom: 1px solid rgba(32, 214, 162, .12) !important;
}

body:not(.moharram) .profile-modal .post-section .feed-info {
    background: transparent !important;
    color: var(--pm-jewel-text) !important;
}

body:not(.moharram) .profile-modal .post-section .feed-info h4 {
    color: #e8f8f1 !important;
}

body:not(.moharram) .profile-modal .post-section .feed-info p,
body:not(.moharram) .profile-modal .post-section .feed-meta {
    color: #8fb7a8 !important;
}

body:not(.moharram) .profile-modal .goal-box {
    background: linear-gradient(135deg, rgba(19, 161, 111, .09), rgba(2, 18, 12, .28)) !important;
    border: 1px solid rgba(32, 214, 162, .18) !important;
    border-radius: 12px !important;
    padding: 14px !important;
}

/* Feedback form: dark fields with emerald borders/glow, never white. */
body:not(.moharram) .profile-modal .feedback-form {
    background:
        radial-gradient(ellipse at 92% 0%, rgba(14, 155, 101, .08), transparent 52%),
        #03100c !important;
    border-top: 1px solid rgba(32, 214, 162, .20) !important;
    color: var(--pm-jewel-text) !important;
}

body:not(.moharram) .profile-modal .feedback-form label {
    color: #b8d9cc !important;
}

body:not(.moharram) .profile-modal .feedback-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body:not(.moharram) .profile-modal .feedback-form textarea,
body:not(.moharram) .profile-modal .feedback-form select,
body:not(.moharram) .profile-modal .feedback-form [contenteditable="true"] {
    background: linear-gradient(145deg, #071b14, #04120d) !important;
    background-color: #061710 !important;
    color: #eafff6 !important;
    border: 1px solid rgba(32, 214, 162, .29) !important;
    border-radius: 12px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .018),
        0 5px 18px rgba(0, 0, 0, .14) !important;
    outline: none !important;
}

body:not(.moharram) .profile-modal .feedback-form textarea {
    min-height: 108px;
    resize: vertical;
}

body:not(.moharram) .profile-modal .feedback-form input:focus,
body:not(.moharram) .profile-modal .feedback-form textarea:focus,
body:not(.moharram) .profile-modal .feedback-form select:focus,
body:not(.moharram) .profile-modal .feedback-form [contenteditable="true"]:focus {
    border-color: var(--pm-jewel-green-bright) !important;
    box-shadow:
        0 0 0 3px rgba(32, 214, 162, .10),
        0 0 22px rgba(32, 214, 162, .10) !important;
}

body:not(.moharram) .profile-modal .feedback-form input::placeholder,
body:not(.moharram) .profile-modal .feedback-form textarea::placeholder {
    color: #789c8d !important;
}

body:not(.moharram) .profile-modal .feedback-form button,
body:not(.moharram) .profile-modal .feedback-form input[type="submit"],
body:not(.moharram) .profile-modal .feedback-form input[type="button"],
body:not(.moharram) .profile-modal .feedback-btn {
    background: linear-gradient(135deg, #20d6a2, #079b70) !important;
    border: 1px solid rgba(87, 255, 194, .38) !important;
    color: #03251a !important;
    font-weight: 800;
    box-shadow: 0 7px 24px rgba(10, 190, 125, .15) !important;
}

body:not(.moharram) .profile-modal .close {
    border: 1px solid rgba(32, 214, 162, .20) !important;
    background: rgba(5, 28, 19, .78) !important;
    color: #dffcf0 !important;
}

@media (max-width: 700px) {
    body:not(.moharram) .profile-modal {
        border-radius: 14px !important;
        box-shadow: 0 16px 48px rgba(0, 0, 0, .6), 0 0 24px rgba(13, 185, 124, .10) !important;
    }

    body:not(.moharram) .profile-modal .post-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    body:not(.moharram) .profile-modal .feedback-form {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* Profile admin: inline editing for manager records and activities */
.manager-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.manager-panel-heading h2{font-size:17px;margin:5px 0}
.manager-panel-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.manager-editor .form{margin-top:15px}
.manager-editor .form small,.post-edit-form small{display:block;color:#91a8ad;font-size:11px;line-height:1.8}
.manager-avatar-preview{display:flex;align-items:center;gap:14px;color:var(--green);font-size:12px}
.manager-avatar-preview img{width:86px;height:86px;border-radius:14px;object-fit:cover;border:1px solid var(--line);background:#06131e}
.manager-activities{scroll-margin-top:85px}
.manager-post-list{display:grid;gap:12px}
.manager-post-edit-card{padding:13px;border:1px solid rgba(70,207,236,.12);border-radius:12px;background:rgba(255,255,255,.015)}
.manager-post-summary{display:grid;grid-template-columns:minmax(100px,180px) minmax(0,1fr);gap:14px;align-items:center}
.manager-post-media{width:100%;height:130px;object-fit:cover;border-radius:8px;background:#020b13}
.manager-post-copy{min-width:0;overflow-wrap:anywhere}
.manager-post-copy>b{display:block;color:#eef8f6;font-size:13px}
.manager-post-copy p{font-size:12px;color:#91a8ad;white-space:pre-wrap;overflow-wrap:anywhere}
.manager-post-copy small{display:block;color:#91a8ad;margin-bottom:8px}
.post-edit-form{margin-top:14px;padding-top:14px;border-top:1px solid rgba(70,207,236,.1)}
.manager-editor .btn:disabled,.post-edit-form .btn:disabled{opacity:.65;cursor:wait}
@media(max-width:700px){.manager-panel-stats{grid-template-columns:1fr!important}.manager-post-summary{grid-template-columns:1fr}.manager-post-media{height:180px}.manager-panel-heading{align-items:flex-start}.manager-editor,.manager-activities{padding:13px}.manager-editor .form,.post-edit-form{grid-template-columns:1fr}.manager-editor .span2,.post-edit-form .span2{grid-column:auto}}
