/* ----------------------------------------------------------------
   Mediaguru SMS — branding overrides
   Stacks the wide stripe-style logo above the wordmark, both
   center-aligned. Works on the sidebar and on the auth (login) screen.
---------------------------------------------------------------- */

/* ===== Sidebar brand (left rail header) ===== */
.main-sidebar .brand-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    line-height: 1.2;
}

.main-sidebar .brand-image-stripe {
    float: none;
    margin: 0 auto 0.5rem;
    max-width: 90%;
    max-height: 60px;
    height: auto;
    width: auto;
    opacity: 1;
    border-radius: 0;
    box-shadow: none;
}

.main-sidebar .brand-link .brand-text {
    margin-left: 0;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    opacity: 0.95;
    white-space: normal;
}

/* When sidebar is collapsed (icon-only mode), hide the wordmark
   and shrink the logo so it still fits */
body.sidebar-collapse .main-sidebar .brand-link .brand-text {
    display: none;
}
body.sidebar-collapse .main-sidebar .brand-image-stripe {
    max-height: 36px;
    max-width: 36px;
}

/* ===== Login screen brand ===== */
.login-page .login-logo,
.register-page .login-logo {
    text-align: center;
    margin-bottom: 1.25rem;
}

.login-page .login-logo a,
.register-page .login-logo a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1f2d3d;
}

.login-page .login-logo img.auth-logo-stripe,
.register-page .login-logo img.auth-logo-stripe {
    display: block;
    margin: 0 auto 0.5rem;
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

.login-page .login-logo a > b,
.register-page .login-logo a > b,
.login-page .login-logo a,
.register-page .login-logo a {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* Make the login card a touch wider so a 280px-wide logo never crowds it */
.login-page .login-box,
.register-page .register-box {
    width: 380px;
}
