/* UBY branding for the SFTPGo web UIs (client and admin share these templates).
   The wordmark is ~2.3:1, so SFTPGo's stock heights render it very wide. */

/* --- Logged-in pages: logo alone, centred in the left column --------------- */

/* .flex-stack is justify-content:space-between, which pins a lone child to the
   left edge -- so centring has to be forced on the wrapper, not just the logo. */
#kt_app_sidebar_header .flex-stack { justify-content: center !important; }

.app-sidebar-logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.app-sidebar-logo img { height: 44px !important; width: auto !important; }

/* The span carries Branding.ShortName. The login pages need that text, but the
   sidebar should be logo-only -- and short_name cannot simply be left empty,
   because SFTPGo then falls back to its own default ("WebClient"/"WebAdmin"). */
.app-sidebar-logo span { display: none !important; }

/* --- Login pages ---------------------------------------------------------- */

/* Stock classes scale the logo to 100px tall, oversized for this wordmark. */
img[alt="Logo"].h-80px { height: 60px !important; width: auto !important; }
