/* Wspólny logotyp (tekst lub grafika) — lewy górny róg / pierwsza pozycja w pasku */

body.auth-split-body {
    position: relative;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}

.app-brand:hover {
    opacity: 0.88;
}

.app-brand__text {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.03em;
    color: #3b82f6;
}

.app-brand__img {
    display: block;
    max-height: 36px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Strony logowania / auth — stała pozycja lewy górny */
.app-brand--auth {
    position: absolute;
    top: 22px;
    left: 28px;
    z-index: 10;
}

.app-brand--auth .app-brand__text {
    font-size: 22px;
}

.app-brand--auth .app-brand__img {
    max-height: 40px;
    max-width: 220px;
}

/* Główny panel (navbar) */
.app-brand--navbar .app-brand__text {
    font-size: 20px;
}

.app-brand--navbar .app-brand__img {
    max-height: 34px;
    max-width: 200px;
}

/* Panel admina — pasek boczny */
.app-brand--admin-sidebar .app-brand__text {
    font-size: 18px;
    color: #60a5fa;
}

.app-brand--admin-sidebar .app-brand__img {
    max-height: 32px;
    max-width: 160px;
    filter: brightness(1.08);
}

.admin-sidebar-brand-mark {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.admin-sidebar-brand-suffix {
    font-weight: 600;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.02em;
}

@media (max-width: 480px) {
    .app-brand--auth {
        left: 16px;
        top: 16px;
    }

    .app-brand--auth .app-brand__text {
        font-size: 19px;
    }
}
