/* SmartLife transparent logo presentation */

.brand-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}

.brand-image .fallback-mark {
    display: none !important;
}

.hero-logo {
    display: block;
    width: min(330px, 62vw);
    height: auto;
    max-height: 115px;
    object-fit: contain;
    object-position: left center;
}

.auth-logo {
    display: block;
    width: min(250px, 70vw);
    height: auto;
    max-height: 86px;
    object-fit: contain;
    object-position: left center;
}

.sidebar-logo {
    display: block;
    width: 195px;
    height: auto;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
}

.boot-logo {
    display: block;
    width: min(260px, 70vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 45px rgba(53, 153, 255, 0.24));
}

.auth-brand {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
}

.auth-brand > div {
    width: 100%;
}

.sidebar-brand {
    min-height: 76px;
    justify-content: center !important;
}

.app-shell.sidebar-collapsed .sidebar-brand .brand-image {
    width: 58px;
    height: 58px;
    justify-content: flex-start;
}

.app-shell.sidebar-collapsed .sidebar-logo {
    width: auto !important;
    max-width: none !important;
    height: 58px;
    max-height: 58px;
    object-fit: cover;
    object-position: left center;
}

@media (max-width: 820px) {
    .sidebar-brand {
        justify-content: flex-start !important;
    }

    .hero-logo {
        width: min(270px, 74vw);
    }

    .auth-logo {
        width: min(225px, 72vw);
    }
}

@media (max-width: 560px) {
    .auth-logo {
        width: min(205px, 70vw);
    }

    .auth-brand {
        align-items: center !important;
        text-align: center;
    }
}
