/* Aranu 1.2.49 — real superadmin network layout + professional profile cover. */

/* -------- Superadmin / network.php -------- */
body.aranu-shell.platform .page-content.legacy-content > .sa-social-hero,
body.aranu-shell.platform .page-content.legacy-content > .sa-social-stats,
body.aranu-shell.platform .page-content.legacy-content > .sa-social-tabs,
body.aranu-shell.platform .page-content.legacy-content > .sa-social-filter-card,
body.aranu-shell.platform .page-content.legacy-content > .sa-social-section,
body.aranu-shell.platform .page-content.legacy-content > .sa-conversation-view,
body.aranu-shell.platform .page-content.legacy-content > .alert{
  width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;
}
body.aranu-shell.platform .page-content.legacy-content > .sa-social-hero{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;
  gap:24px!important;padding:22px 24px!important;margin:0 0 16px!important;
}
body.aranu-shell.platform .sa-social-hero h1{
  margin:4px 0 7px!important;font-size:clamp(24px,2.2vw,34px)!important;line-height:1.45!important;letter-spacing:-.025em!important;
}
body.aranu-shell.platform .sa-social-hero .muted{max-width:940px!important;margin:0!important;line-height:1.9!important}
body.aranu-shell.platform .sa-social-hero .hero-actions{display:flex!important;gap:9px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
body.aranu-shell.platform .sa-social-stats{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;
  margin:0 0 16px!important;padding:0!important;background:transparent!important;border:0!important;
}
body.aranu-shell.platform .sa-social-stats>a{
  display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;
  min-height:112px!important;padding:16px 17px!important;border:1px solid var(--ui-line,#dde5e2)!important;
  border-radius:18px!important;background:var(--ui-surface,#fff)!important;text-decoration:none!important;
  box-shadow:0 8px 22px rgba(27,55,48,.045)!important;color:var(--ui-text,#1f342f)!important;
}
body.aranu-shell.platform .sa-social-stats>a span{font-size:12px!important;color:var(--ui-muted,#6f807b)!important}
body.aranu-shell.platform .sa-social-stats>a strong{font-size:25px!important;line-height:1.3!important;margin:6px 0 4px!important}
body.aranu-shell.platform .sa-social-stats>a small{font-size:11px!important;line-height:1.7!important;color:var(--ui-muted,#75857f)!important}
body.aranu-shell.platform .sa-social-stats>a.needs-attention{border-color:color-mix(in srgb,#b8705c 28%,var(--ui-line,#dde5e2))!important;background:color-mix(in srgb,#fff 94%,#f5ded7)!important}
body.aranu-shell.platform .sa-social-tabs{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;
  padding:8px!important;margin:0 0 16px!important;border:1px solid var(--ui-line,#dde5e2)!important;
  border-radius:18px!important;background:var(--ui-surface,#fff)!important;
}
body.aranu-shell.platform .sa-social-tabs a{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;
  gap:8px!important;min-width:0!important;min-height:52px!important;padding:8px 10px!important;border-radius:12px!important;
  text-decoration:none!important;color:var(--ui-muted,#61736d)!important;
}
body.aranu-shell.platform .sa-social-tabs a.is-active{background:var(--ui-soft,#edf6f2)!important;color:var(--ui-brand,#347a68)!important}
body.aranu-shell.platform .sa-social-tabs a>span:nth-child(2){overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.aranu-shell.platform .sa-social-tabs a small{min-width:22px!important;text-align:center!important}
body.aranu-shell.platform .sa-social-filter-card{padding:15px 17px!important;margin-bottom:16px!important}
body.aranu-shell.platform .sa-social-filter{
  display:grid!important;grid-template-columns:minmax(280px,1.5fr) minmax(190px,.7fr) auto!important;align-items:end!important;gap:12px!important;
}
body.aranu-shell.platform .sa-social-filter label{min-width:0!important}
body.aranu-shell.platform .sa-social-filter :is(input,select){width:100%!important;box-sizing:border-box!important}
body.aranu-shell.platform .sa-result-meta{display:flex!important;gap:12px!important;justify-content:flex-end!important;margin-top:10px!important;color:var(--ui-muted,#6f807b)!important;font-size:11px!important}
body.aranu-shell.platform .sa-social-section{padding:19px!important;margin-bottom:16px!important;overflow:hidden!important}
body.aranu-shell.platform .sa-social-section>.section-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;margin:0 0 14px!important;padding-bottom:12px!important}
body.aranu-shell.platform .sa-social-section .table-wrap{width:100%!important;max-width:100%!important;overflow:auto!important}
body.aranu-shell.platform .sa-social-section table{width:100%!important;min-width:760px!important}
body.aranu-shell.platform .sa-member-cell{min-width:230px!important}
body.aranu-shell.platform .sa-editor{min-width:150px!important}

/* -------- Public network profile -------- */
body.aranu-page-network-profile .social-profile-page{max-width:1320px!important;margin-inline:auto!important;gap:24px!important}
body.aranu-page-network-profile .social-profile-main{min-width:0!important}
body.aranu-page-network-profile .social-profile-head{
  overflow:hidden!important;border-radius:28px!important;border:1px solid var(--nw-line,#dde5e2)!important;
  background:var(--nw-surface,#fff)!important;box-shadow:0 24px 60px rgba(25,34,42,.10)!important;
}
body.aranu-page-network-profile .social-profile-cover{
  display:block!important;width:100%!important;height:320px!important;object-fit:cover!important;object-position:center!important;
  background:#18243a!important;filter:none!important;
}
body.aranu-page-network-profile .social-profile-info{
  position:relative!important;display:grid!important;grid-template-columns:122px minmax(0,1fr)!important;
  align-items:start!important;gap:20px!important;padding:0 28px 28px!important;background:var(--nw-surface,#fff)!important;
}
body.aranu-page-network-profile .social-profile-logo{
  position:relative!important;width:122px!important;height:122px!important;flex:0 0 122px!important;
  margin-top:-61px!important;border:6px solid var(--nw-surface,#fff)!important;border-radius:32px!important;
  background:var(--nw-surface,#fff)!important;box-shadow:0 16px 38px rgba(25,34,42,.16)!important;overflow:visible!important;z-index:3!important;
}
body.aranu-page-network-profile .social-profile-logo img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:25px!important}
body.aranu-page-network-profile .social-profile-copy{min-width:0!important;padding-top:18px!important}
body.aranu-page-network-profile .social-profile-name{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important}
body.aranu-page-network-profile .social-profile-name h1{margin:0!important;font-size:clamp(25px,2.5vw,38px)!important;line-height:1.4!important;font-weight:950!important;letter-spacing:-.03em!important}
body.aranu-page-network-profile .social-profile-head-actions{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}
body.aranu-page-network-profile .social-profile-stats{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin:18px 0 14px!important;
}
body.aranu-page-network-profile .social-profile-stats span{
  min-width:0!important;min-height:62px!important;padding:9px 10px!important;border-radius:15px!important;
  background:var(--nw-surface-2,#f4f7f6)!important;display:grid!important;align-content:center!important;text-align:center!important;
}
body.aranu-page-network-profile .social-profile-stats strong{font-size:15px!important}
body.aranu-page-network-profile .social-profile-meta-badges{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin-bottom:12px!important}
body.aranu-page-network-profile .social-profile-copy>h2{margin:9px 0 6px!important;font-size:17px!important}
body.aranu-page-network-profile .social-profile-copy>p{max-width:900px!important;line-height:1.9!important;margin:5px 0 12px!important}
body.aranu-page-network-profile .social-profile-cta{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:12px!important}

@media(max-width:1180px){
  body.aranu-shell.platform .sa-social-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.aranu-shell.platform .sa-social-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  body.aranu-shell.platform .page-content.legacy-content>.sa-social-hero{grid-template-columns:1fr!important;padding:17px!important}
  body.aranu-shell.platform .sa-social-hero .hero-actions{justify-content:stretch!important}
  body.aranu-shell.platform .sa-social-hero .hero-actions a{flex:1 1 150px!important;text-align:center!important}
  body.aranu-shell.platform .sa-social-filter{grid-template-columns:1fr!important}
  body.aranu-page-network-profile .social-profile-cover{height:230px!important}
  body.aranu-page-network-profile .social-profile-info{grid-template-columns:92px minmax(0,1fr)!important;padding:0 16px 20px!important;gap:13px!important}
  body.aranu-page-network-profile .social-profile-logo{width:92px!important;height:92px!important;margin-top:-46px!important;border-radius:26px!important;border-width:5px!important}
  body.aranu-page-network-profile .social-profile-logo img{border-radius:20px!important}
  body.aranu-page-network-profile .social-profile-stats{grid-column:1/-1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  body.aranu-shell.platform .sa-social-stats{grid-template-columns:1fr!important}
  body.aranu-shell.platform .sa-social-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.aranu-page-network-profile .social-profile-cover{height:185px!important}
  body.aranu-page-network-profile .social-profile-info{display:block!important;padding:0 13px 17px!important}
  body.aranu-page-network-profile .social-profile-logo{width:82px!important;height:82px!important;margin-top:-41px!important;margin-bottom:9px!important}
  body.aranu-page-network-profile .social-profile-copy{padding-top:0!important}
  body.aranu-page-network-profile .social-profile-name{align-items:flex-start!important}
  body.aranu-page-network-profile .social-profile-head-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.aranu-page-network-profile .social-profile-head-actions>*{width:100%!important}
}
