/* SmartMarudu brand identity v0.10.72 — official navy/gold SM + location mark supplied by project owner. */
.sm-brand-logo{
  display:block;
  object-fit:contain;
  object-position:center;
  max-width:100%;
  height:auto;
  flex:0 0 auto;
  filter:drop-shadow(0 2px 5px rgba(7,30,52,.12));
}

/* Main public header — larger and immediately recognisable without overpowering navigation. */
.brand>.sm-brand-logo{width:94px;height:50px;margin-right:3px}
.sm-market-brand>.sm-brand-logo{width:90px;height:48px;margin-right:3px}
.public-brand>.sm-brand-logo{width:90px;height:48px;margin-right:3px}
.brand-text,.sm-market-brand>span,.public-brand>span{min-width:0}

/* Dark footer surfaces need a light contrast plate because the official mark uses deep navy. */
.sm-standard-footer-brand a>.sm-brand-logo,
.sm-market-footer-brand .sm-market-brand>.sm-brand-logo,
.market-footer-brand>.sm-brand-logo{
  width:92px;
  height:50px;
  padding:5px 8px;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(231,184,79,.52);
  box-shadow:0 10px 24px rgba(0,0,0,.16);
  align-self:flex-start;
  filter:none;
}

/* Login — official mark replaces the generic SM tile. */
.auth-brand-logo{
  display:block;
  width:104px;
  height:62px;
  flex:0 0 104px;
  object-fit:contain;
  padding:5px 8px;
  border-radius:14px;
  background:linear-gradient(145deg,#ffffff,#f7f9fc);
  border:1px solid rgba(215,164,61,.36);
  box-shadow:0 9px 22px rgba(8,43,73,.10);
}
.auth-brand{gap:14px!important;align-items:center!important}
.auth-brand>div{min-width:0}
.auth-brand b{color:#0b2a47!important;font-weight:800!important}

/* SmartMarudu Admin sidebar only. SmartApps remains SA; Owner keeps its own business logo. */
.sidebar-platform-logo{
  display:block;
  width:88px;
  height:54px;
  flex:0 0 88px;
  object-fit:contain;
  padding:5px 7px;
  border-radius:13px;
  background:#fff;
  border:1px solid rgba(231,184,79,.48);
  box-shadow:0 10px 25px rgba(0,0,0,.18);
}
.panel-admin .sidebar-brand{align-items:center!important;gap:11px!important}
.panel-admin .sidebar-brand-copy b{color:#fff!important}
.panel-admin .sidebar-brand-copy small{color:#bfd0dd!important}

@media(max-width:760px){
  .brand>.sm-brand-logo{width:76px;height:42px}
  .sm-market-brand>.sm-brand-logo,.public-brand>.sm-brand-logo{width:74px;height:40px}
  .sm-standard-footer-brand a>.sm-brand-logo,
  .sm-market-footer-brand .sm-market-brand>.sm-brand-logo,
  .market-footer-brand>.sm-brand-logo{width:80px;height:45px;padding:4px 7px}
  .auth-brand-logo{width:88px;height:54px;flex-basis:88px}
  .sidebar-platform-logo{width:72px;height:46px;flex-basis:72px}
}
