/* ---------- Pasek górny (app/components/topbar.php) ---------- */
.ms-topbar {
    background: var(--ms-navy);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.ms-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    gap: 32px;
}

.ms-topbar__links,
.ms-topbar__user {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ms-topbar__links {
    gap: 6px 64px;
}

.ms-topbar__user {
    gap: 6px 52px;
}

.ms-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: opacity 0.15s;
}

.ms-topbar a:hover {
    opacity: 0.8;
}

.ms-topbar .ms-icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

@media (max-width: 1440px) {
    .ms-topbar__links {
        column-gap: 32px;
    }
    .ms-topbar__user {
        column-gap: 28px;
    }
}

@media (max-width: 1200px) {
    .ms-topbar__links,
    .ms-topbar__user {
        column-gap: 20px;
    }
    .ms-topbar {
        font-size: 14px;
    }
    /* Przy węższym ekranie konto pokazuje same ikony (etykieta zostaje dla czytników ekranu) */
    .ms-topbar__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (max-width: 860px) {
    .ms-topbar {
        display: none;
    }
}
