.dtr-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.navbar-brand img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

/* Header height adjustments for different screen sizes */
@media (min-width: 992px) {
    #dtr-header-global {
        min-height: 80px;
    }
}

@media (max-width: 991px) {
    #dtr-header-global {
        min-height: 70px;
    }
}

@media (max-width: 768px) {
    #dtr-header-global {
        min-height: 65px;
    }
}

@media (max-width: 576px) {
    #dtr-header-global {
        min-height: 60px;
    }
}

/* Fix for logo display in different states */
.navbar-scrolled .logo-light,
.navbar-light .logo-light {
    display: none;
}

.navbar-scrolled .logo-dark,
.navbar-light .logo-dark {
    display: block;
}

.navbar-dark .logo-light {
    display: block;
}

.navbar-dark .logo-dark {
    display: none;
}