/* Ejaaba 2026-10-26: non-Plus STANDARD member profiles only.
   All original form actions, AJAX hooks, badges, member statistics,
   warnings and permission checks remain unchanged. */
body .classic-member-profile.ejp-standard-member[data-profile-panel]{
 --ejst-ink:#183d52;--ejst-muted:#596e7a;--ejst-line:#d7e3eb;
 --ejst-primary:#17668a;--ejst-pale:#f4f8fb;
 font-family:"Ejaaba Noto Naskh Arabic",Tahoma,Arial,sans-serif;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-member-breadcrumb{
 padding:7px 9px!important;margin:0 0 8px!important;
 color:#708292!important;font-size:11px!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-main>.ejabat-profile-hero{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:flex-start!important;gap:9px!important;
 width:100%!important;min-height:0!important;box-sizing:border-box!important;
 padding:20px 14px 16px!important;margin:0 0 10px!important;
 border:1px solid var(--ejst-line)!important;border-radius:17px!important;
 background:linear-gradient(170deg,#f5faff 0%,#fff 48%,#fff 100%)!important;
 box-shadow:0 6px 21px #23415a12!important;
 text-align:center!important;overflow:visible!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero>.ejabat-portrait{
 width:136px!important;height:136px!important;min-width:136px!important;
 min-height:136px!important;max-width:136px!important;max-height:136px!important;
 flex:0 0 136px!important;display:block!important;align-self:center!important;
 margin:0 auto 2px!important;padding:5px!important;
 border:1px solid #c5d8e7!important;border-radius:50%!important;
 background:#fff!important;
 box-shadow:0 0 0 4px #e8f2fa,0 5px 18px #173e5c1f!important;
 overflow:hidden!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero>.ejabat-portrait img{
 display:block!important;width:100%!important;height:100%!important;
 max-width:100%!important;max-height:100%!important;
 border-radius:50%!important;border:0!important;object-fit:cover!important;
 background:#eaf2f8!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero>.ejabat-change-avatar-action{
 position:static!important;align-self:center!important;
 margin:2px auto 0!important;transform:none!important;
 max-width:90%!important;font-size:12px!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero>.ejabat-profile-core{
 width:100%!important;min-width:0!important;max-width:100%!important;
 flex:0 1 auto!important;display:flex!important;flex-direction:column!important;
 align-items:center!important;gap:7px!important;
 text-align:center!important;box-sizing:border-box!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-heading{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:6px!important;
 width:100%!important;min-width:0!important;
 padding:0 5px!important;margin:5px 0 0!important;
 background:transparent!important;border:0!important;
 text-align:center!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-heading h1{
 display:flex!important;flex-wrap:wrap!important;justify-content:center!important;
 align-items:center!important;align-content:center!important;
 width:100%!important;min-width:0!important;gap:5px 9px!important;
 font-size:clamp(19px,4vw,23px)!important;line-height:1.6!important;
 text-align:center!important;color:var(--ejst-ink)!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-heading .ejabat-main-identity{
 display:inline-flex!important;flex-wrap:wrap!important;justify-content:center!important;
 align-items:center!important;gap:7px!important;max-width:100%!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-canonical-name{
 color:var(--ejst-ink)!important;font-size:clamp(19px,4.2vw,24px)!important;
 font-weight:800!important;line-height:1.45!important;overflow-wrap:anywhere!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero :is(.ejabat-username,.ejabat-member-selected-country,.ejabat-ip-derived-country,.ejabat-secondary-name,.ejverified-profile-link){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 align-self:center!important;max-width:100%!important;margin:0 auto!important;
 text-align:center!important;overflow-wrap:anywhere!important;
 font-size:12px!important;line-height:1.6!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-username{color:var(--ejst-muted)!important;direction:ltr!important}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-member-number{
 align-self:center!important;justify-content:center!important;
 text-align:center!important;color:#677b89!important;
 margin:2px auto 0!important;padding:0!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-earned-badges{
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex-wrap:wrap!important;width:100%!important;max-width:100%!important;
 margin:6px 0 0!important;padding:12px 0 3px!important;
 gap:6px!important;border-top:1px solid var(--ejst-line)!important;
 background:transparent!important;overflow:visible!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-earned-badges>:is(a,span){
 min-height:28px!important;display:inline-flex!important;align-items:center!important;
 justify-content:center!important;box-sizing:border-box!important;
 border-radius:8px!important;padding:4px 8px!important;
 background:#f1f7fb!important;border:1px solid #d5e4ed!important;
 color:#245775!important;font-size:11px!important;line-height:1.3!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-earned-badges .ejabat-earned-badge{
 width:34px!important;height:32px!important;min-width:34px!important;padding:4px!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-earned-badges .ejabat-earned-badge span:first-child{
 font-size:17px!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 align-items:stretch!important;justify-content:stretch!important;
 width:100%!important;min-width:0!important;max-width:540px!important;
 box-sizing:border-box!important;gap:8px!important;
 margin:7px auto 0!important;padding:12px 0 0!important;
 border-top:1px solid var(--ejst-line)!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions > :is(a,form,span){
 min-width:0!important;width:100%!important;max-width:100%!important;
 height:auto!important;box-sizing:border-box!important;margin:0!important;
 grid-column:auto!important;align-self:stretch!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions > form.inline{
 display:block!important;padding:0!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions :is(a.ejabat-classic-profile-action,button.ejabat-classic-profile-action){
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;flex-direction:row!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 height:100%!important;min-height:43px!important;
 margin:0!important;padding:8px 9px!important;
 box-sizing:border-box!important;
 border:1px solid #c4d8e6!important;border-radius:11px!important;
 background:#f8fbff!important;color:var(--ejst-ink)!important;
 box-shadow:0 2px 5px #173b5110!important;
 font:700 13px/1.5 "Ejaaba Noto Naskh Arabic",Tahoma,Arial,sans-serif!important;
 text-align:center!important;text-decoration:none!important;
 overflow-wrap:anywhere!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions :is(a.ejabat-classic-profile-action,button.ejabat-classic-profile-action):is(:hover,:focus-visible){
 border-color:#7bb7d3!important;background:#eaf5fb!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions [hidden]{display:none!important}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions > :is(form,span):has([hidden]){
 display:none!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions :is(svg,.arch-icon,.ejg-icon){
 width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 18px!important;
 color:#226c91!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-member-directed-ask-action{
 width:100%!important;min-width:0!important;max-width:540px!important;
 margin:1px auto 0!important;padding:0!important;
 display:flex!important;align-items:stretch!important;justify-content:center!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-member-directed-ask-action>a.ejabat-old-directed-ask-link{
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;min-height:42px!important;width:100%!important;
 border:1px solid #b5cedf!important;border-radius:11px!important;
 background:#edf6fb!important;color:#215d79!important;
 padding:9px 13px!important;margin:0!important;text-decoration:none!important;
 font-size:13px!important;font-weight:750!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 align-items:stretch!important;justify-content:stretch!important;
 gap:6px!important;width:100%!important;max-height:none!important;
 height:auto!important;min-height:0!important;
 padding:10px!important;margin:5px 0 12px!important;
 background:#f4f8fb!important;border:1px solid var(--ejst-line)!important;
 border-radius:14px!important;box-sizing:border-box!important;overflow:visible!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]>a{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:4px!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 min-height:63px!important;height:auto!important;
 padding:8px 3px!important;margin:0!important;box-sizing:border-box!important;
 border:1px solid transparent!important;border-radius:10px!important;
 background:#fff!important;color:#456579!important;
 text-align:center!important;text-decoration:none!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]>a.active,
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]>a[aria-current="page"]{
 border-color:#9cc2d9!important;background:#e8f3fb!important;
 box-shadow:0 1px 3px #17475f16!important;color:#12577c!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]>a :is(svg,.arch-icon,.ejg-icon){
 width:20px!important;height:20px!important;
 color:currentColor!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs] .ej-standard-tab-label,
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs] .ejg-tab-caption{
 display:block!important;font-size:11px!important;line-height:1.3!important;
 font-weight:700!important;text-align:center!important;white-space:normal!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]>a>small{
 position:static!important;display:inline-flex!important;justify-content:center!important;
 min-width:18px!important;min-height:17px!important;
 font-size:10px!important;line-height:1.3!important;
 background:#eaf2f7!important;color:#1f5977!important;border-radius:20px!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-main>:is(.archive-member-bio,.ejabat-classic-empty-bio,.ejabat-classic-member-card,.ejabat-classic-stats){
 max-width:100%!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;
 border:1px solid var(--ejst-line)!important;border-radius:13px!important;
 background:#fff!important;
 margin-block:7px 12px!important;padding:13px!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-bio{
 white-space:pre-wrap!important;line-height:1.95!important;font-size:14px!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-classic-stats h2,
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-classic-member-card>header{
 border-radius:9px!important;background:#eef5fa!important;color:var(--ejst-ink)!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-classic-member-card .ejabat-profile-balances>div{
 min-height:34px!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] :focus-visible{
 outline:3px solid #6aa6cc!important;outline-offset:2px!important;
}
@media(min-width:640px){
 body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
 }
 body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-main>.ejabat-profile-hero{
  padding:22px 25px 20px!important;
 }
}
@media(max-width:375px){
 body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-main>.ejabat-profile-hero{
  padding:14px 9px 13px!important;
 }
 body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]{
  gap:5px!important;padding:7px!important;
 }
 body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]>a{
  min-height:58px!important;padding:6px 1px!important;
 }
 body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero>.ejabat-portrait{
  width:126px!important;height:126px!important;min-width:126px!important;min-height:126px!important;
  max-width:126px!important;max-height:126px!important;flex-basis:126px!important;
 }
}
/* Preserve meaning of original earned/trust badges rather than painting all alike. */
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-earned-badges .ejabat-earned-verified{
 color:#246e50!important;border-color:#b9d9c6!important;background:#eff9f1!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-earned-badges .ejabat-earned-staff{
 color:#73511a!important;border-color:#ddca98!important;background:#fff8e7!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .ejabat-profile-hero .ejabat-earned-badges .ejabat-earned-level{
 color:#245d83!important;border-color:#b6d4e6!important;background:#eaf4fc!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]>a.ejabat-warning-tab{
 color:#ae4545!important;
}
body .classic-member-profile.ejp-standard-member[data-profile-panel] .archive-member-toolbar[data-profile-tabs]>a.ejabat-warning-tab.active{
 background:#fff2f1!important;border-color:#e8bdbc!important;
}
