/* Age Quality Kente Enterprise — logo placements */

.app-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
}

.app-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Main navbar (expanded sidebar) */
.app-logo--navbar img {
    height: 52px;
    width: auto;
    max-width: 200px;
}

.navbar .navbar-brand-wrapper .navbar-brand.app-logo--navbar {
    padding-left: 1rem;
    text-align: center;
}

/* Collapsed sidebar — crop to emblem (top of artwork) */
.app-logo--navbar-mini img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
}

/* Auth panel — full wordmark on dark background */
.app-logo--auth {
    margin-bottom: 1.25rem;
}

.app-logo--auth img {
    width: min(100%, 280px);
    max-height: 120px;
    height: auto;
    border-radius: 8px;
}

/* Thermal / screen receipt */
.receipt-logo {
    display: block;
    margin: 0 auto 0.35rem;
    max-width: calc(var(--receipt-width) - 6mm);
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media print {
    .receipt-logo {
        max-width: calc(var(--receipt-width) - 4mm);
        filter: grayscale(100%) contrast(1.1);
    }
}
