.ydb-storage-disks {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--g-spacing-4);

    width: max-content;

    &__pdisks-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: left;

        width: max-content;
    }

    &__vdisk-item {
        flex-basis: 8px;
        flex-shrink: 0;

        min-width: 24px;
        min-height: 20px;

        &_all {
            position: relative;
            top: -2px;

            display: flex;
            flex-direction: column;
            gap: 2px;

            width: 65px;
            min-width: 65px;
            min-height: 24px;
        }
    }
    &__vdisk-size-indicator {
        flex: none;
        align-self: center;

        max-width: 100%;
        height: 2px;

        border-radius: var(--g-border-radius-xs);
        background: var(--g-color-base-generic-medium);
    }
    &__vdisk-progress-bar {
        --progress-bar-full-height: 20px;
        --progress-bar-compact-height: 20px;
    }

    &__pdisk-item {
        flex-shrink: 0;

        min-width: 55px;
        min-height: 20px;
        margin-right: var(--g-spacing-1);

        &_with-dc-margin {
            margin-right: var(--g-spacing-3);
        }

        &:last-child {
            margin-right: 0;
        }
    }
    &__pdisk-progress-bar {
        --progress-bar-full-height: 20px;

        border-radius: var(--g-border-radius-m);
    }
}
