.site-brand-logo {
    display: block;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
}

.main-menu .navbar-header {
    height: 70px;
    min-height: 70px;
    padding: 0;
    border-bottom: 1px solid #ebe9f1;
}

.main-menu .navbar-header .navbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 260px;
    min-height: 70px;
    margin-top: 0;
    padding: 0.35rem 0.6rem;
}

.main-menu .navbar-header .navbar-brand .brand-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 145px;
}

.main-menu .navbar-header .navbar-brand .brand-logo img.sidebar-brand-logo {
    width: 145px !important;
    max-width: 145px !important;
    height: auto !important;
    max-height: none !important;
}

.main-menu .navbar-header .navbar-brand .brand-text {
    margin-left: 0;
    min-height: 32px;
    padding-left: 0.75rem;
    margin-bottom: 0;
    border-left: 1px solid #d8d6de;
    color: #7367f0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.1;
    display: flex;
    align-items: center;
    white-space: nowrap;
    letter-spacing: 0.04em;
}

.main-menu .main-menu-content {
    height: calc(100% - 70px) !important;
}

.auth-brand-logo {
    width: min(100%, 420px);
    max-width: 420px;
}

.landing-brand-logo {
    height: 46px;
    max-width: 182px;
}

.footer-brand-logo {
    height: auto;
    max-width: 220px;
}

.auth-wrapper .brand-logo {
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.auth-wrapper .brand-logo .brand-text {
    margin-left: 0 !important;
    line-height: 1.1;
}

.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navbar-brand {
    justify-content: center;
    min-height: 74px;
    padding: 0.6rem 0;
}

.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navbar-header {
    height: 74px;
    min-height: 74px;
}

.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .main-menu-content {
    height: calc(100% - 74px) !important;
}

.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navbar-brand .brand-logo {
    width: 62px;
}

.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .sidebar-brand-logo {
    width: 62px !important;
    max-width: 62px !important;
}

@media (max-width: 767.98px) {
    .auth-brand-logo {
        max-width: 320px;
    }

    .landing-brand-logo {
        height: 40px;
        max-width: 160px;
    }

    .footer-brand-logo {
        max-width: 190px;
    }
}
