/* Adjust the admin logo's desktop width and height here. */
:root {
    --admin-logo-width: 520px;
    --admin-logo-height: 66px;
}

.admin-panel-logo {
    display: block;
    width: var(--admin-logo-width);
    height: var(--admin-logo-height);
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

/* Keep the header logo inside its existing box, regardless of image dimensions. */
.portal-header .portal-brand {
    height: var(--admin-logo-height);
    overflow: hidden;
}

.portal-header .portal-brand .admin-panel-logo {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 767px) {
    :root {
        --admin-logo-width: 360px;
    }
}
